class to store a tab use by MWAWParagraph More...
#include <MWAWParagraph.hxx>
Public Types | |
enum | Alignment { LEFT, RIGHT, CENTER, DECIMAL, BAR } |
the tab alignement More... | |
Public Member Functions | |
MWAWTabStop (double position=0.0, Alignment alignment=LEFT, uint16_t leaderCharacter='\0', uint16_t decimalCharacter= '.') | |
constructor More... | |
void | addTo (WPXPropertyListVector &propList, double decalX=0.0) const |
add a tab to the propList More... | |
bool | operator== (MWAWTabStop const &tabs) const |
operator== More... | |
bool | operator!= (MWAWTabStop const &tabs) const |
operator!= More... | |
int | cmp (MWAWTabStop const &tabs) const |
a comparison function More... | |
Public Attributes | |
double | m_position |
the tab position More... | |
Alignment | m_alignment |
the alignement ( left, center, ...) More... | |
uint16_t | m_leaderCharacter |
the leader char More... | |
uint16_t | m_decimalCharacter |
the decimal char More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, MWAWTabStop const &ft) |
operator << More... | |
class to store a tab use by MWAWParagraph
|
inline |
constructor
void MWAWTabStop::addTo | ( | WPXPropertyListVector & | propList, |
double | decalX = 0.0 |
||
) | const |
add a tab to the propList
int MWAWTabStop::cmp | ( | MWAWTabStop const & | tabs | ) | const |
a comparison function
Referenced by operator!=(), and operator==().
|
inline |
operator!=
|
inline |
operator==
|
friend |
operator <<
Alignment MWAWTabStop::m_alignment |
the alignement ( left, center, ...)
Referenced by addTo(), cmp(), operator<<(), MSWStruct::Paragraph::read(), MSW1Parser::readParagraph(), BWText::readParagraph(), HMWJText::readParagraph(), HMWKText::readParagraph(), CWText::readParagraph(), WNText::readParagraph(), MWProStructures::readParagraph(), NSText::readParagraphs(), FWText::readParagraphTabs(), MDWParser::readRuler(), GWText::readRuler(), LWText::readRulers(), MRWText::readRulers(), MORText::readTabs(), DMText::sendFooter(), EDParser::sendIndex(), MCDParser::sendIndex(), and DMText::sendTOC().
uint16_t MWAWTabStop::m_decimalCharacter |
the decimal char
Referenced by addTo(), cmp(), operator<<(), HMWJText::readParagraph(), HMWKText::readParagraph(), CWText::readParagraph(), MWProStructures::readParagraph(), FWText::readParagraphTabs(), GWText::readRuler(), and MORText::readTabs().
uint16_t MWAWTabStop::m_leaderCharacter |
the leader char
Referenced by addTo(), cmp(), operator<<(), MSWStruct::Paragraph::read(), MSW1Parser::readParagraph(), BWText::readParagraph(), HMWJText::readParagraph(), HMWKText::readParagraph(), CWText::readParagraph(), MWProStructures::readParagraph(), NSText::readParagraphs(), FWText::readParagraphTabs(), GWText::readRuler(), MRWText::readRulers(), MORText::readTabs(), EDParser::sendIndex(), MCDParser::sendIndex(), and DMText::sendTOC().
double MWAWTabStop::m_position |
the tab position
Referenced by addTo(), cmp(), WNTextInternal::State::getDefaultParagraph(), operator<<(), MSWStruct::Paragraph::read(), MSW1Parser::readParagraph(), BWText::readParagraph(), HMWJText::readParagraph(), HMWKText::readParagraph(), CWText::readParagraph(), WNText::readParagraph(), MWProStructures::readParagraph(), NSText::readParagraphs(), FWText::readParagraphTabs(), MDWParser::readRuler(), GWText::readRuler(), LWText::readRulers(), MRWText::readRulers(), MORText::readTabs(), DMText::sendFooter(), MDWParser::sendHeaderFooterFields(), EDParser::sendIndex(), MCDParser::sendIndex(), and DMText::sendTOC().