the main class to read the text part of writenow file More...
#include <FullWrtText.hxx>
Public Member Functions | |
| FullWrtText (FullWrtParser &parser) | |
| constructor | |
| virtual | ~FullWrtText () |
| destructor | |
| int | version () const |
| returns the file version | |
| int | numPages () const |
| returns the number of pages | |
Protected Member Functions | |
| void | flushExtra () |
| sends the data which have not yet been sent to the listener | |
| bool | sendMainText () |
| send a main zone | |
| int | getHeaderFooterId (bool header, int page, int &numSimillar) const |
| return the header/footer blockid ( or -1) | |
| bool | send (int zId, MWAWColor fontColor=MWAWColor::black()) |
| send a id zone | |
| bool | readTextData (FullWrtStruct::EntryPtr zone) |
| check if a zone is a text zone, if so read it... | |
| bool | send (std::shared_ptr< FullWrtTextInternal::Zone > zone, MWAWColor fontColor=MWAWColor::black()) |
| send the text | |
| void | send (std::shared_ptr< FullWrtTextInternal::Zone > zone, int numChar, FullWrtTextInternal::Font &font, FullWrtTextInternal::Paragraph &ruler, std::string &str) |
| send a simple line | |
| bool | sendTable (std::shared_ptr< FullWrtTextInternal::Zone > zone, FullWrtTextInternal::LineHeader const &lHeader, FullWrtTextInternal::Font &font, FullWrtTextInternal::Paragraph &ruler, std::string &str) |
| try send a table row | |
| bool | sendHiddenItem (int id, FullWrtTextInternal::Font &font, FullWrtTextInternal::Paragraph &ruler) |
| send a hidden item | |
| void | prepareData () |
| prepare the different data (called sortZones and createItemStructures) | |
| void | sortZones () |
| sort the different zones, finding the main zone, ... | |
| void | createItemStructures () |
| create the item structures | |
| bool | readLineHeader (std::shared_ptr< FullWrtTextInternal::Zone > zone, FullWrtTextInternal::LineHeader &lHeader) |
| try to read the header of a line | |
| bool | readItem (FullWrtStruct::EntryPtr zone, int id=-1, bool hidden=false) |
| check if the input of the zone points to a item zone in DataStruct Zone | |
| bool | readParagraphTabs (FullWrtStruct::EntryPtr zone, int id=-1) |
| check if the input of the zone points to a paragraph zone in DataStruct Zone | |
| bool | readParaModDocInfo (FullWrtStruct::EntryPtr zone) |
| try to read the paragraph modifier (at the end of doc info) | |
| bool | readStyle (FullWrtStruct::EntryPtr zone) |
| try to read a style | |
| bool | readDataMod (FullWrtStruct::EntryPtr zone, int id) |
| try to read the font/paragraph modifier zone (Zone1f) | |
| bool | readColumns (FullWrtStruct::EntryPtr zone) |
| check if the input of the zone points to the columns definition, ... | |
Protected Attributes | |
| MWAWParserStatePtr | m_parserState |
| the parser state | |
| std::shared_ptr< FullWrtTextInternal::State > | m_state |
| the state | |
| FullWrtParser * | m_mainParser |
| the main parser; | |
Private Member Functions | |
| FullWrtText (FullWrtText const &orig)=delete | |
| FullWrtText & | operator= (FullWrtText const &orig)=delete |
Friends | |
| class | FullWrtParser |
the main class to read the text part of writenow file
|
explicit |
constructor
Referenced by FullWrtText(), and operator=().
|
virtual |
destructor
|
privatedelete |
|
protected |
create the item structures
Referenced by prepareData().
|
protected |
sends the data which have not yet been sent to the listener
|
protected |
return the header/footer blockid ( or -1)
| int FullWrtText::numPages | ( | ) | const |
returns the number of pages
|
privatedelete |
|
inlineprotected |
prepare the different data (called sortZones and createItemStructures)
|
protected |
check if the input of the zone points to the columns definition, ...
|
protected |
try to read the font/paragraph modifier zone (Zone1f)
|
protected |
check if the input of the zone points to a item zone in DataStruct Zone
|
protected |
try to read the header of a line
Referenced by send().
|
protected |
check if the input of the zone points to a paragraph zone in DataStruct Zone
|
protected |
try to read the paragraph modifier (at the end of doc info)
|
protected |
try to read a style
|
protected |
check if a zone is a text zone, if so read it...
|
protected |
send a id zone
Referenced by flushExtra(), send(), send(), sendHiddenItem(), sendMainText(), and sendTable().
|
protected |
send a simple line
|
protected |
send the text
|
protected |
send a hidden item
Referenced by send(), and sendHiddenItem().
|
protected |
send a main zone
send data to the listener
|
protected |
try send a table row
Referenced by send().
|
protected |
sort the different zones, finding the main zone, ...
Referenced by prepareData().
| int FullWrtText::version | ( | ) | const |
returns the file version
Referenced by readParagraphTabs(), and readTextData().
|
friend |
Referenced by FullWrtParser, and FullWrtText().
|
protected |
the main parser;
Referenced by FullWrtText(), readItem(), send(), send(), sendMainText(), and sendTable().
|
protected |
the parser state
Referenced by FullWrtText(), readParagraphTabs(), send(), send(), sendHiddenItem(), sendMainText(), sendTable(), and version().
|
protected |
the state
Referenced by createItemStructures(), flushExtra(), FullWrtText(), getHeaderFooterId(), numPages(), readDataMod(), readItem(), readParagraphTabs(), readParaModDocInfo(), readTextData(), send(), send(), send(), sendHiddenItem(), sendMainText(), sortZones(), and version().