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