38 #ifndef WRITE_NOW_TEXT 39 # define WRITE_NOW_TEXT 126 bool send(std::vector<WriteNowTextInternal::ContentZone> &listZones,
127 std::vector<std::shared_ptr<WriteNowTextInternal::ContentZones> > &footnoteList,
170 std::shared_ptr<WriteNowTextInternal::State>
m_state;
bool send(WriteNowEntry const &entry)
send the text to the listener
Definition: WriteNowText.cxx:1748
int version() const
returns the file version
Definition: WriteNowText.cxx:663
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
the main class to read the text part of writenow file
Definition: WriteNowText.hxx:81
bool createZones()
finds the different text zones
Definition: WriteNowText.cxx:709
class to store entry in a WriteNow document
Definition: WriteNowEntry.hxx:48
WriteNowEntry getFooter() const
returns the footer entry (if defined)
Definition: WriteNowText.cxx:696
std::shared_ptr< WriteNowTextInternal::ContentZones > parseContent(WriteNowEntry const &entry)
parse a text data zone ( and create the associated structure )
Definition: WriteNowText.cxx:837
bool readFont(MWAWInputStream &input, bool inStyle, WriteNowTextInternal::Font &font)
read a font
Definition: WriteNowText.cxx:1241
the manager of the entries
Definition: WriteNowEntry.hxx:106
bool readParagraph(MWAWInputStream &input, WriteNowTextInternal::Paragraph &ruler)
read a paragraph format
Definition: WriteNowText.cxx:1331
WriteNowEntry getHeader() const
returns the header entry (if defined)
Definition: WriteNowText.cxx:689
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: WriteNowText.cxx:2088
WriteNowText & operator=(WriteNowText const &orig)=delete
bool readTable(MWAWInputStream &input, WriteNowTextInternal::TableData &table)
read a table frame (checkme)
Definition: WriteNowText.cxx:1703
bool readStyles(WriteNowEntry const &entry)
try to read the styles zone
Definition: WriteNowText.cxx:1441
bool readTokenV2(MWAWInputStream &input, WriteNowTextInternal::Token &token)
read a token (v2)
Definition: WriteNowText.cxx:1660
std::shared_ptr< WriteNowEntryManager > m_entryManager
the list of entry
Definition: WriteNowText.hxx:173
bool parseZone(WriteNowEntry const &entry, std::vector< WriteNowEntry > &listData)
try to read the text zone ( list of entries ) and to create the text data zone
Definition: WriteNowText.cxx:994
void setProperty(WriteNowTextInternal::Paragraph const &ruler)
sends a paragraph property to the listener
Definition: WriteNowText.cxx:1431
WriteNowParser * m_mainParser
the main parser;
Definition: WriteNowText.hxx:176
Internal: the cell of a WriteNowText.
Definition: WriteNowText.cxx:497
bool readFontNames(WriteNowEntry const &entry)
try to read the fonts zone
Definition: WriteNowText.cxx:1118
Internal: the fonts.
Definition: WriteNowText.cxx:62
Internal: the table of a WriteNowText.
Definition: WriteNowText.cxx:216
bool readToken(MWAWInputStream &input, WriteNowTextInternal::Token &token)
read a token
Definition: WriteNowText.cxx:1626
int numPages() const
returns the number of pages
Definition: WriteNowText.cxx:670
Internal: the structures of a WriteNowText.
Definition: WriteNowText.cxx:58
void sendZone(int id)
send all the content zone of a zone defined by id 0: main, 1 header/footer, 2: footnote ...
Definition: WriteNowText.cxx:2051
Internal: class to store the paragraph properties.
Definition: WriteNowText.cxx:93
WriteNowText(WriteNowParser &parser)
constructor
Definition: WriteNowText.cxx:652
Internal: the token of a WriteNowText.
Definition: WriteNowText.cxx:168
std::shared_ptr< WriteNowTextInternal::State > m_state
the state
Definition: WriteNowText.hxx:170
virtual ~WriteNowText()
destructor
Definition: WriteNowText.cxx:660
the main class to read a WriteNow file
Definition: WriteNowParser.hxx:68
MWAWParserStatePtr m_parserState
the parser state
Definition: WriteNowText.hxx:167