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