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 | |
| void | addTo (WPXPropertyListVector &propList, double decalX=0.0) const |
| add a tab to the propList | |
| bool | operator== (MWAWTabStop const &tabs) const |
| operator== | |
| bool | operator!= (MWAWTabStop const &tabs) const |
| operator!= | |
| int | cmp (MWAWTabStop const &tabs) const |
| a comparison function | |
Public Attributes | |
| double | m_position |
| the tab position | |
| Alignment | m_alignment |
| the alignement ( left, center, ...) | |
| uint16_t | m_leaderCharacter |
| the leader char | |
| uint16_t | m_decimalCharacter |
| the decimal char | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, MWAWTabStop const &ft) |
| operator << | |
class to store a tab use by MWAWParagraph
| MWAWTabStop::MWAWTabStop | ( | double | position = 0.0, |
| Alignment | alignment = LEFT, |
||
| uint16_t | leaderCharacter = '\0', |
||
| uint16_t | decimalCharacter = '.' |
||
| ) | [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==().
| bool MWAWTabStop::operator!= | ( | MWAWTabStop const & | tabs | ) | const [inline] |
operator!=
| bool MWAWTabStop::operator== | ( | MWAWTabStop const & | tabs | ) | const [inline] |
operator==
| std::ostream& operator<< | ( | std::ostream & | o, |
| MWAWTabStop const & | ft | ||
| ) | [friend] |
operator <<
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().