34#ifndef GREAT_WKS_PARSER
35# define GREAT_WKS_PARSER
40#include <librevenge/librevenge.h>
the main class to read/store generic data of a GreatWorks document
Definition: GreatWksDocument.hxx:61
Internal: the subdocument of a GreatWksParser.
Definition: GreatWksParser.cxx:125
the main class to read a GreatWorks text file
Definition: GreatWksParser.hxx:57
~GreatWksParser() final
destructor
Definition: GreatWksParser.cxx:187
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: GreatWksParser.cxx:271
bool createZones()
finds the different objects zones
Definition: GreatWksParser.cxx:334
void newPage(int number)
adds a new page
Definition: GreatWksParser.cxx:222
bool sendHF(int id)
try to send the i^th header/footer
Definition: GreatWksParser.cxx:214
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: GreatWksParser.cxx:238
bool readDocInfo()
read the DocInfo block ( many unknown data )
Definition: GreatWksParser.cxx:374
std::shared_ptr< GreatWksParserInternal::State > m_state
the state
Definition: GreatWksParser.hxx:104
std::shared_ptr< GreatWksDocument > m_document
the main document
Definition: GreatWksParser.hxx:107
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: GreatWksParser.cxx:500
void init()
inits all internal variables
Definition: GreatWksParser.cxx:191
MWAWSection getMainSection() const
return the main section
Definition: GreatWksParser.cxx:209
a class which stores section properties
Definition: MWAWSection.hxx:46
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:299
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 GreatWksParser.
Definition: GreatWksParser.cxx:59
Definition: MWAWDocument.hxx:57