35 # define MS_WKS_PARSER
71 void parse(librevenge::RVNGTextInterface *documentInterface);
78 void createDocument(librevenge::RVNGTextInterface *documentInterface);
84 void newPage(
int number,
bool softBreak=
false);
98 shared_ptr<MsWksParserInternal::State>
m_state;
Internal: the structures of a MsWksParser.
Definition: MsWksParser.cxx:58
the main class to read a Microsoft Works file: v1-v4
Definition: MsWksParser.hxx:59
shared_ptr< MsWksDocument > m_document
the actual document
Definition: MsWksParser.hxx:104
MsWksParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MsWksParser.cxx:77
shared_ptr< MsWksParserInternal::State > m_state
the state
Definition: MsWksParser.hxx:98
virtual ~MsWksParser()
destructor
Definition: MsWksParser.cxx:93
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MsWksParser.cxx:329
void parse(librevenge::RVNGTextInterface *documentInterface)
virtual function used to parse the input
Definition: MsWksParser.cxx:131
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MsWksParser.cxx:219
void init()
inits all internal variables
Definition: MsWksParser.cxx:97
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:284
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
the main class to read the graphic of a Microsoft Works file
Definition: MsWksGraph.hxx:73
std::vector< MWAWEntry > m_listZones
the list of different Zones
Definition: MsWksParser.hxx:101
void flushExtra()
tries to parse the ole zones which have not yet been parsed
Definition: MsWksParser.cxx:166
void newPage(int number, bool softBreak=false)
adds a new page
Definition: MsWksParser.cxx:109
bool createZones()
finds the different objects zones
Definition: MsWksParser.cxx:254