34#ifndef MOUSE_WRT_PARSER
35# define MOUSE_WRT_PARSER
Class to store font.
Definition: MWAWFont.hxx:44
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:299
Internal: the subdocument of a MouseWrtParser.
Definition: MouseWrtParser.cxx:123
the main class to read a MouseWrite file
Definition: MouseWrtParser.hxx:56
bool readFont(MWAWFont &font, int &cPos)
try to read a font
Definition: MouseWrtParser.cxx:413
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MouseWrtParser.cxx:332
bool readCharPLCs(long sz)
reads the char plc zone: zone 0
Definition: MouseWrtParser.cxx:383
bool readPrintInfo()
reads the print info zone: zone 3
Definition: MouseWrtParser.cxx:685
std::shared_ptr< MouseWrtParserInternal::State > m_state
the state
Definition: MouseWrtParser.hxx:106
bool readParagraphPLCs(long sz)
reads the paragraph plc zone: zone 2
Definition: MouseWrtParser.cxx:440
bool sendMainZone()
tries to send the main text zone
Definition: MouseWrtParser.cxx:738
void newPage(int number)
adds a new page
Definition: MouseWrtParser.cxx:189
bool readDocumentInfo(long sz)
reads the document info zone: zone 4
Definition: MouseWrtParser.cxx:572
bool createZones()
finds the different objects zones
Definition: MouseWrtParser.cxx:269
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: MouseWrtParser.cxx:205
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MouseWrtParser.cxx:234
bool sendZone(int number)
tries to send the header/footer zone
Definition: MouseWrtParser.cxx:887
int computeNumPages()
computes the number of page
Definition: MouseWrtParser.cxx:655
~MouseWrtParser() final
destructor
Definition: MouseWrtParser.cxx:182
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
Internal: the structures of a MouseWrtParser.
Definition: MouseWrtParser.cxx:57
Definition: MWAWDocument.hxx:57