the main class to read the text part of LightWay Text file More...
#include <LightWayTxtText.hxx>
| Public Member Functions | |
| LightWayTxtText (LightWayTxtParser &parser) | |
| constructor  More... | |
| virtual | ~LightWayTxtText () | 
| destructor  More... | |
| int | version () const | 
| returns the file version  More... | |
| int | numPages () const | 
| returns the number of pages  More... | |
| Protected Member Functions | |
| bool | createZones () | 
| finds the different text zones  More... | |
| bool | sendMainText () | 
| send a main zone  More... | |
| bool | getColor (int id, MWAWColor &col) const | 
| return a color corresponding to an id  More... | |
| void | flushExtra () | 
| sends the data which have not yet been sent to the listener  More... | |
| void | computePositions () | 
| compute the positions  More... | |
| bool | readFonts (MWAWEntry const &entry) | 
| read the fonts ( styl resource)  More... | |
| bool | readFont2 (MWAWEntry const &entry) | 
| read the Font2 resource ( underline, upperline, ...)  More... | |
| bool | readRulers (MWAWEntry const &entry) | 
| read the rulers (stylx resource)  More... | |
| void | setProperty (MWAWParagraph const ¶) | 
| send the paragraph properties  More... | |
| bool | readRuby (MWAWEntry const &entry) | 
| read the ruby data  More... | |
| bool | readDocumentHF (MWAWEntry const &entry) | 
| read the header/footer part of the document zone  More... | |
| bool | hasHeaderFooter (bool header) const | 
| returns true if there is a header/footer  More... | |
| bool | sendHeaderFooter (bool header) | 
| try to send the header/footer  More... | |
| bool | readStyleU (MWAWEntry const &entry) | 
| read the unknown styu resource  More... | |
| bool | readUnknownStyle (MWAWEntry const &entry) | 
| read the styl resource  More... | |
| Protected Attributes | |
| MWAWParserStatePtr | m_parserState | 
| the parser state  More... | |
| std::shared_ptr< LightWayTxtTextInternal::State > | m_state | 
| the state  More... | |
| LightWayTxtParser * | m_mainParser | 
| the main parser;  More... | |
| Private Member Functions | |
| LightWayTxtText (LightWayTxtText const &orig)=delete | |
| LightWayTxtText & | operator= (LightWayTxtText const &orig)=delete | 
| Friends | |
| class | LightWayTxtParser | 
the main class to read the text part of LightWay Text file
| 
 | explicit | 
constructor
| 
 | virtual | 
destructor
| 
 | privatedelete | 
| 
 | protected | 
compute the positions
Referenced by createZones().
| 
 | protected | 
finds the different text zones
| 
 | protected | 
sends the data which have not yet been sent to the listener
| 
 | protected | 
return a color corresponding to an id
Referenced by readFont2().
| 
 | protected | 
returns true if there is a header/footer
| int LightWayTxtText::numPages | ( | ) | const | 
returns the number of pages
| 
 | privatedelete | 
| 
 | protected | 
read the header/footer part of the document zone
| 
 | protected | 
read the Font2 resource ( underline, upperline, ...)
Referenced by createZones().
| 
 | protected | 
read the fonts ( styl resource)
Referenced by createZones().
| 
 | protected | 
read the ruby data
Referenced by createZones().
| 
 | protected | 
read the rulers (stylx resource)
Referenced by createZones().
| 
 | protected | 
read the unknown styu resource
Referenced by createZones().
| 
 | protected | 
read the styl resource
Referenced by createZones().
| 
 | protected | 
try to send the header/footer
| 
 | protected | 
send a main zone
| 
 | protected | 
send the paragraph properties
Referenced by sendMainText().
| int LightWayTxtText::version | ( | ) | const | 
returns the file version
| 
 | friend | 
| 
 | protected | 
the main parser;
Referenced by createZones(), readDocumentHF(), readFont2(), readFonts(), readRuby(), readRulers(), readStyleU(), readUnknownStyle(), sendHeaderFooter(), and sendMainText().
| 
 | protected | 
the parser state
Referenced by readDocumentHF(), readFont2(), readFonts(), sendHeaderFooter(), sendMainText(), setProperty(), and version().
| 
 | protected | 
the state
Referenced by computePositions(), hasHeaderFooter(), numPages(), readDocumentHF(), readFont2(), readFonts(), readRuby(), readRulers(), readStyleU(), sendHeaderFooter(), sendMainText(), and version().