Internal: a class used to store the section data of a BeagleWksText. More...
Public Member Functions | |
| Section () | |
| constructor | |
| MWAWEntry | getEntry (int i) const |
| return the i^th entry | |
| MWAWEntry | getHeaderEntry (bool fPage) const |
| return the header entry | |
| MWAWEntry | getFooterEntry (bool fPage) const |
| return true if we have a header | |
Public Attributes | |
| MWAWParagraph | m_ruler |
| the default section ruler | |
| bool | m_hasFirstPage |
| a flag to know if the first page is special | |
| bool | m_hasHeader |
| a flag to know if we need to print the header | |
| bool | m_hasFooter |
| a flag to know if we need to print the footer | |
| long | m_limitPos [5] |
| the data limits ( first page header, first page footer, header, footer, end) | |
| bool | m_parsed [4] |
| true if the data are send to the listener | |
| int | m_heights [2] |
| the header/footer height | |
| int | m_pageNumber |
| the page number | |
| bool | m_usePageNumber |
| true if we need to use the page number | |
| std::string | m_extra |
| extra data | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, Section const &sec) |
| operator<< | |
Internal: a class used to store the section data of a BeagleWksText.
| BeagleWksTextInternal::Section::Section | ( | ) | [inline] |
constructor
| MWAWEntry BeagleWksTextInternal::Section::getEntry | ( | int | i | ) | const [inline] |
return the i^th entry
Referenced by BeagleWksText::flushExtra(), getFooterEntry(), getHeaderEntry(), and BeagleWksText::sendHF().
| MWAWEntry BeagleWksTextInternal::Section::getFooterEntry | ( | bool | fPage | ) | const [inline] |
return true if we have a header
Referenced by BeagleWksText::getFooter().
| MWAWEntry BeagleWksTextInternal::Section::getHeaderEntry | ( | bool | fPage | ) | const [inline] |
return the header entry
Referenced by BeagleWksText::getHeader().
| std::ostream& operator<< | ( | std::ostream & | o, |
| Section const & | sec | ||
| ) | [friend] |
operator<<
| std::string BeagleWksTextInternal::Section::m_extra |
extra data
Referenced by BeagleWksText::readSection().
a flag to know if the first page is special
Referenced by BeagleWksText::getFooter(), BeagleWksText::getHeader(), and BeagleWksText::readSection().
a flag to know if we need to print the footer
Referenced by BeagleWksText::readSection().
a flag to know if we need to print the header
Referenced by BeagleWksText::readSection().
the header/footer height
Referenced by BeagleWksText::readSection(), and Section().
the data limits ( first page header, first page footer, header, footer, end)
Referenced by getEntry(), BeagleWksText::readSection(), and Section().
the page number
Referenced by BeagleWksText::readSection().
bool BeagleWksTextInternal::Section::m_parsed[4] [mutable] |
true if the data are send to the listener
Referenced by BeagleWksText::flushExtra(), Section(), and BeagleWksText::sendHF().
the default section ruler
true if we need to use the page number
Referenced by BeagleWksText::readSection().