the main class to read a Claris Works file More...
#include <ClarisWksParser.hxx>
Public Member Functions | |
ClarisWksParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
constructor More... | |
virtual | ~ClarisWksParser () |
destructor More... | |
bool | checkHeader (MWAWHeader *header, bool strict=false) |
checks if the document header is correct (or not) More... | |
void | parse (librevenge::RVNGTextInterface *documentInterface) |
virtual function used to parse the input More... | |
Protected Member Functions | |
void | init () |
inits all internal variables More... | |
void | createDocument (librevenge::RVNGTextInterface *documentInterface) |
creates the listener which will be associated to the document More... | |
void | newPage (int number, bool softBreak) |
adds a new page More... | |
void | sendFootnote (int zoneId) |
creates a document to send a footnote More... | |
![]() | |
MWAWTextParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
constructor (protected) More... | |
MWAWTextParser (MWAWParserStatePtr state) | |
constructor using a state More... | |
![]() | |
MWAWParser (MWAWParserState::Type type, MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
constructor (protected) More... | |
MWAWParser (MWAWParserStatePtr state) | |
constructor using a state More... | |
void | setVersion (int vers) |
sets the document's version More... | |
void | setGraphicListener (MWAWGraphicListenerPtr &listener) |
sets the graphic listener More... | |
void | resetGraphicListener () |
resets the listener More... | |
void | setPresentationListener (MWAWPresentationListenerPtr &listener) |
sets the presentation listener More... | |
void | resetPresentationListener () |
resets the listener More... | |
void | setSpreadsheetListener (MWAWSpreadsheetListenerPtr &listener) |
sets the spreadsheet listener More... | |
void | resetSpreadsheetListener () |
resets the listener More... | |
void | setTextListener (MWAWTextListenerPtr &listener) |
sets the text listener More... | |
void | resetTextListener () |
resets the listener More... | |
void | setFontConverter (MWAWFontConverterPtr fontConverter) |
sets the font convertor More... | |
void | setAsciiName (char const *name) |
Debugging: change the default ascii file. More... | |
std::string const & | asciiName () const |
return the ascii file name More... | |
Protected Attributes | |
shared_ptr < ClarisWksParserInternal::State > | m_state |
the state More... | |
shared_ptr< ClarisWksDocument > | m_document |
the main document manager More... | |
Friends | |
class | ClarisWksParserInternal::SubDocument |
class | ClarisWksDocument |
the main class to read a Claris Works file
ClarisWksParser::ClarisWksParser | ( | MWAWInputStreamPtr | input, |
MWAWRSRCParserPtr | rsrcParser, | ||
MWAWHeader * | header | ||
) |
constructor
|
virtual |
destructor
|
virtual |
|
protected |
creates the listener which will be associated to the document
Referenced by parse().
|
protected |
inits all internal variables
Referenced by ClarisWksParser().
|
protected |
|
virtual |
virtual function used to parse the input
Implements MWAWTextParser.
|
protected |
creates a document to send a footnote
Referenced by init().
|
friend |
Referenced by init().
|
friend |
|
protected |
the main document manager
Referenced by checkHeader(), createDocument(), init(), and parse().
|
protected |
the state
Referenced by checkHeader(), createDocument(), init(), newPage(), and parse().