34 #ifndef GREAT_WKS_PARSER
35 # define GREAT_WKS_PARSER
40 #include <librevenge/librevenge.h>
69 void parse(librevenge::RVNGTextInterface *documentInterface);
76 void createDocument(librevenge::RVNGTextInterface *documentInterface);
104 shared_ptr<GreatWksParserInternal::State>
m_state;
bool sendHF(int id)
try to send the i^th header/footer
Definition: GreatWksParser.cxx:208
the main class to read/store generic data of a GreatWorks document
Definition: GreatWksDocument.hxx:59
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: GreatWksParser.cxx:266
Internal: the subdocument of a GreatWksParser.
Definition: GreatWksParser.cxx:119
virtual ~GreatWksParser()
destructor
Definition: GreatWksParser.cxx:181
shared_ptr< GreatWksDocument > m_document
the main document
Definition: GreatWksParser.hxx:107
Internal: the structures of a GreatWksParser.
Definition: GreatWksParser.cxx:58
MWAWSection getMainSection() const
return the main section
Definition: GreatWksParser.cxx:203
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:411
GreatWksParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: GreatWksParser.cxx:175
void parse(librevenge::RVNGTextInterface *documentInterface)
virtual function used to parse the input
Definition: GreatWksParser.cxx:232
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:284
shared_ptr< GreatWksParserInternal::State > m_state
the state
Definition: GreatWksParser.hxx:104
the main class to read a GreatWorks text file
Definition: GreatWksParser.hxx:56
a class which stores section properties
Definition: MWAWSection.hxx:45
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:401
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: GreatWksParser.cxx:498
bool createZones()
finds the different objects zones
Definition: GreatWksParser.cxx:330
void init()
inits all internal variables
Definition: GreatWksParser.cxx:185
void newPage(int number)
adds a new page
Definition: GreatWksParser.cxx:216
bool readDocInfo()
read the DocInfo block ( many unknown data )
Definition: GreatWksParser.cxx:370