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