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:211
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:268
Internal: the subdocument of a GreatWksParser.
Definition: GreatWksParser.cxx:119
virtual ~GreatWksParser()
destructor
Definition: GreatWksParser.cxx:184
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:206
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
GreatWksParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: GreatWksParser.cxx:178
void parse(librevenge::RVNGTextInterface *documentInterface)
virtual function used to parse the input
Definition: GreatWksParser.cxx:235
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:439
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: GreatWksParser.cxx:500
bool createZones()
finds the different objects zones
Definition: GreatWksParser.cxx:332
void init()
inits all internal variables
Definition: GreatWksParser.cxx:188
void newPage(int number)
adds a new page
Definition: GreatWksParser.cxx:219
bool readDocInfo()
read the DocInfo block ( many unknown data )
Definition: GreatWksParser.cxx:372