34#ifndef MOUSE_WRT_PARSER
35# define MOUSE_WRT_PARSER
69 void parse(librevenge::RVNGTextInterface *documentInterface);
73 void createDocument(librevenge::RVNGTextInterface *documentInterface);
106 shared_ptr<MouseWrtParserInternal::State>
m_state;
Class to store font.
Definition: MWAWFont.hxx:44
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:296
Internal: the subdocument of a MouseWrtParser.
Definition: MouseWrtParser.cxx:112
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:403
virtual ~MouseWrtParser()
destructor
Definition: MouseWrtParser.cxx:172
bool readCharPLCs(long sz)
reads the char plc zone: zone 0
Definition: MouseWrtParser.cxx:373
bool readPrintInfo()
reads the print info zone: zone 3
Definition: MouseWrtParser.cxx:675
bool readParagraphPLCs(long sz)
reads the paragraph plc zone: zone 2
Definition: MouseWrtParser.cxx:430
MouseWrtParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MouseWrtParser.cxx:166
shared_ptr< MouseWrtParserInternal::State > m_state
the state
Definition: MouseWrtParser.hxx:106
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MouseWrtParser.cxx:322
bool sendMainZone()
tries to send the main text zone
Definition: MouseWrtParser.cxx:728
void newPage(int number)
adds a new page
Definition: MouseWrtParser.cxx:179
bool readDocumentInfo(long sz)
reads the document info zone: zone 4
Definition: MouseWrtParser.cxx:562
bool createZones()
finds the different objects zones
Definition: MouseWrtParser.cxx:259
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MouseWrtParser.cxx:224
bool sendZone(int number)
tries to send the header/footer zone
Definition: MouseWrtParser.cxx:877
int computeNumPages()
computes the number of page
Definition: MouseWrtParser.cxx:645
void parse(librevenge::RVNGTextInterface *documentInterface)
virtual function used to parse the input
Definition: MouseWrtParser.cxx:195
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
Internal: the structures of a MouseWrtParser.
Definition: MouseWrtParser.cxx:57