38 #ifndef CLARIS_WKS_PARSER
39 # define CLARIS_WKS_PARSER
45 #include <librevenge/librevenge.h>
82 void parse(librevenge::RVNGTextInterface *documentInterface);
89 void createDocument(librevenge::RVNGTextInterface *documentInterface);
92 void newPage(
int number,
bool softBreak);
107 shared_ptr<ClarisWksParserInternal::State>
m_state;
void init()
inits all internal variables
Definition: ClarisWksParser.cxx:152
void newPage(int number, bool softBreak)
adds a new page
Definition: ClarisWksParser.cxx:168
ClarisWksParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisWksParser.cxx:142
shared_ptr< ClarisWksDocument > m_document
the main document manager
Definition: ClarisWksParser.hxx:110
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: ClarisWksParser.cxx:195
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:72
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:67
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
Internal: the subdocument of a ClarisWksParser.
Definition: ClarisWksParser.cxx:82
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ClarisWksParser.cxx:256
shared_ptr< ClarisWksParserInternal::State > m_state
the state
Definition: ClarisWksParser.hxx:107
void parse(librevenge::RVNGTextInterface *documentInterface)
virtual function used to parse the input
Definition: ClarisWksParser.cxx:207
Internal: the structures of a ClarisWksParser.
Definition: ClarisWksParser.cxx:66
virtual ~ClarisWksParser()
destructor
Definition: ClarisWksParser.cxx:148
void sendFootnote(int zoneId)
creates a document to send a footnote
Definition: ClarisWksParser.cxx:187