the main class to read the text part of More Text file More...
#include <MoreText.hxx>
| Public Member Functions | |
| MoreText (MoreParser &parser) | |
| constructor  More... | |
| virtual | ~MoreText () | 
| destructor  More... | |
| int | version () const | 
| returns the file version  More... | |
| int | numPages () const | 
| returns the number of pages  More... | |
| Protected Member Functions | |
| bool | createZones () | 
| try to create the text zones using read data  More... | |
| bool | sendMainText () | 
| send a main zone  More... | |
| std::shared_ptr< MWAWSubDocument > | getHeaderFooter (bool header) | 
| returns a subdocument to send the header or the footer  More... | |
| bool | readTopic (MWAWEntry const &entry) | 
| read the list of topic positions  More... | |
| int | getLastTopicChildId (int tId) const | 
| returns the last sub topic id corresponding to a topic and its child  More... | |
| int | checkTopicList (size_t tId, std::set< size_t > &parent) | 
| check that the topic and its child does not loop (if so, cut some edge), return the number of breakpages in the sublist  More... | |
| bool | readComment (MWAWEntry const &entry) | 
| read the list of comment/header/footer zones  More... | |
| bool | readSpeakerNote (MWAWEntry const &entry) | 
| read the list of speaker note  More... | |
| bool | sendText (MWAWEntry const &entry, MWAWFont const &font) | 
| send a text entry  More... | |
| bool | sendComment (int cId) | 
| try to send a comment knowing the comment id  More... | |
| bool | sendSpeakerNote (int nId) | 
| try to send a speakernote knowing the note id  More... | |
| bool | sendTopic (int tId, int dLevel, std::vector< MWAWParagraph > ¶Stack) | 
| try to send a topic knowing the topic id  More... | |
| bool | readFonts (MWAWEntry const &entry) | 
| read the list of fonts  More... | |
| bool | readOutlineList (MWAWEntry const &entry) | 
| read the list of outlines  More... | |
| bool | readOutline (MWAWEntry const &entry, MoreTextInternal::Outline &outline) | 
| read a outline  More... | |
| bool | readFont (MWAWEntry const &entry, std::string &fName, int &fId) | 
| try to read a fontname  More... | |
| bool | readTabs (MWAWEntry const &entry, MoreTextInternal::Paragraph ¶, std::string &mess) | 
| try to read some tabs  More... | |
| bool | readCustomListLevel (MWAWEntry const &entry, MWAWListLevel &level) | 
| read a custom list level  More... | |
| bool | parseUnknown (MWAWEntry const &entry, long fDecal) | 
| try to read either a font, a fontname, a pattern, a int  More... | |
| Protected Attributes | |
| MWAWParserStatePtr | m_parserState | 
| the parser state  More... | |
| std::shared_ptr< MoreTextInternal::State > | m_state | 
| the state  More... | |
| MoreParser * | m_mainParser | 
| the main parser;  More... | |
| Private Member Functions | |
| MoreText (MoreText const &orig)=delete | |
| MoreText & | operator= (MoreText const &orig)=delete | 
| Friends | |
| class | MoreParser | 
| class | MoreTextInternal::SubDocument | 
the main class to read the text part of More Text file
| 
 | explicit | 
constructor
| 
 | virtual | 
destructor
| 
 | privatedelete | 
| 
 | protected | 
check that the topic and its child does not loop (if so, cut some edge), return the number of breakpages in the sublist
Referenced by createZones().
| 
 | protected | 
try to create the text zones using read data
| 
 | protected | 
returns a subdocument to send the header or the footer
| 
 | protected | 
returns the last sub topic id corresponding to a topic and its child
Referenced by checkTopicList(), and sendTopic().
| int MoreText::numPages | ( | ) | const | 
returns the number of pages
| 
 | protected | 
try to read either a font, a fontname, a pattern, a int
Referenced by readOutline().
| 
 | protected | 
read the list of comment/header/footer zones
| 
 | protected | 
read a custom list level
Referenced by readOutline().
| 
 | protected | 
try to read a fontname
Referenced by parseUnknown(), and readOutline().
| 
 | protected | 
read the list of fonts
| 
 | protected | 
read a outline
Referenced by readOutlineList().
| 
 | protected | 
read the list of outlines
| 
 | protected | 
read the list of speaker note
| 
 | protected | 
try to read some tabs
Referenced by parseUnknown(), and readOutline().
| 
 | protected | 
read the list of topic positions
| 
 | protected | 
try to send a comment knowing the comment id
Referenced by MoreTextInternal::SubDocument::parse().
| 
 | protected | 
send a main zone
| 
 | protected | 
try to send a speakernote knowing the note id
Referenced by MoreTextInternal::SubDocument::parse().
send a text entry
Referenced by sendComment(), sendSpeakerNote(), and sendTopic().
| 
 | protected | 
try to send a topic knowing the topic id
Referenced by MoreTextInternal::SubDocument::parse(), and sendMainText().
| int MoreText::version | ( | ) | const | 
returns the file version
Referenced by readOutline().
| 
 | friend | 
| 
 | friend | 
| 
 | protected | 
the main parser;
Referenced by parseUnknown(), readComment(), readOutlineList(), readSpeakerNote(), readTopic(), and sendTopic().
| 
 | protected | 
the parser state
Referenced by getHeaderFooter(), parseUnknown(), readComment(), readCustomListLevel(), readFont(), readFonts(), readOutline(), readOutlineList(), readSpeakerNote(), readTabs(), readTopic(), sendComment(), sendMainText(), sendSpeakerNote(), sendText(), sendTopic(), and version().
| 
 | protected | 
the state
Referenced by checkTopicList(), createZones(), getHeaderFooter(), getLastTopicChildId(), numPages(), readComment(), readOutlineList(), readSpeakerNote(), readTopic(), sendComment(), sendMainText(), sendSpeakerNote(), sendTopic(), and version().