55 namespace WNTextInternal
126 bool send(std::vector<WNTextInternal::ContentZone> &listZones,
127 std::vector<shared_ptr<WNTextInternal::ContentZones> > &footnoteList,
MWAWParserStatePtr m_parserState
the parser state
Definition: WNText.hxx:167
WNText(WNParser &parser)
constructor
Definition: WNText.cxx:582
bool parseZone(WNEntry const &entry, std::vector< WNEntry > &listData)
try to read the text zone ( list of entries ) and to create the text data zone
Definition: WNText.cxx:920
bool readToken(MWAWInputStream &input, WNTextInternal::Token &token)
read a token
Definition: WNText.cxx:1555
void sendZone(int id)
send all the content zone of a zone defined by id 0: main, 1 header/footer, 2: footnote ...
Definition: WNText.cxx:1983
shared_ptr< WNEntryManager > m_entryManager
the list of entry
Definition: WNText.hxx:173
WNEntry getFooter() const
returns the footer entry (if defined)
Definition: WNText.cxx:624
bool readParagraph(MWAWInputStream &input, WNTextInternal::Paragraph &ruler)
read a paragraph format
Definition: WNText.cxx:1255
void setProperty(WNTextInternal::Paragraph const &ruler)
sends a paragraph property to the listener
Definition: WNText.cxx:1355
Internal: the token of a WNText.
Definition: WNText.cxx:152
bool readTokenV2(MWAWInputStream &input, WNTextInternal::Token &token)
read a token (v2)
Definition: WNText.cxx:1596
bool readFontNames(WNEntry const &entry)
try to read the fonts zone
Definition: WNText.cxx:1044
bool readFont(MWAWInputStream &input, bool inStyle, WNTextInternal::Font &font)
read a font
Definition: WNText.cxx:1166
bool readStyles(WNEntry const &entry)
try to read the styles zone
Definition: WNText.cxx:1365
shared_ptr< WNTextInternal::ContentZones > parseContent(WNEntry const &entry)
parse a text data zone ( and create the associated structure )
Definition: WNText.cxx:772
Internal: the cell of a WNText.
Definition: WNText.cxx:456
Internal: class to store the paragraph properties.
Definition: WNText.cxx:90
bool createZones()
finds the different text zones
Definition: WNText.cxx:637
Internal: the table of a WNText.
Definition: WNText.cxx:195
Internal: the fonts.
Definition: WNText.cxx:62
int version() const
returns the file version
Definition: WNText.cxx:591
bool send(WNEntry const &entry)
send the text to the listener
Definition: WNText.cxx:1687
Definition: WNEntry.hxx:47
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: WNText.cxx:2020
virtual ~WNText()
destructor
Definition: WNText.cxx:588
the main class to read a WriteNow file
Definition: WNParser.hxx:68
WNEntry getHeader() const
returns the header entry (if defined)
Definition: WNText.cxx:617
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:356
shared_ptr< WNTextInternal::State > m_state
the state
Definition: WNText.hxx:170
bool readTable(MWAWInputStream &input, WNTextInternal::TableData &table)
read a table frame (checkme)
Definition: WNText.cxx:1640
WNText & operator=(WNText const &orig)
int numPages() const
returns the number of pages
Definition: WNText.cxx:598
the main class to read the text part of writenow file
Definition: WNText.hxx:81
WNParser * m_mainParser
the main parser;
Definition: WNText.hxx:176
the manager of the entries
Definition: WNEntry.hxx:93