the main class to read a Claris Works file More...
#include <ClarisWksParser.hxx>
Public Member Functions | |
| ClarisWksParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
| constructor | |
| virtual | ~ClarisWksParser () |
| destructor | |
| bool | checkHeader (MWAWHeader *header, bool strict=false) |
| checks if the document header is correct (or not) | |
| void | parse (librevenge::RVNGTextInterface *documentInterface) |
| virtual function used to parse the input | |
Protected Member Functions | |
| void | init () |
| inits all internal variables | |
| void | createDocument (librevenge::RVNGTextInterface *documentInterface) |
| creates the listener which will be associated to the document | |
| void | newPage (int number, bool softBreak) |
| adds a new page | |
| void | sendFootnote (int zoneId) |
| creates a document to send a footnote | |
Protected Attributes | |
| shared_ptr < ClarisWksParserInternal::State > | m_state |
| the state | |
| shared_ptr< ClarisWksDocument > | m_document |
| the main document manager | |
Friends | |
| class | ClarisWksParserInternal::SubDocument |
| class | ClarisWksDocument |
the main class to read a Claris Works file
| ClarisWksParser::ClarisWksParser | ( | MWAWInputStreamPtr | input, |
| MWAWRSRCParserPtr | rsrcParser, | ||
| MWAWHeader * | header | ||
| ) |
constructor
| ClarisWksParser::~ClarisWksParser | ( | ) | [virtual] |
destructor
| bool ClarisWksParser::checkHeader | ( | MWAWHeader * | header, |
| bool | strict = false |
||
| ) | [virtual] |
| void ClarisWksParser::createDocument | ( | librevenge::RVNGTextInterface * | documentInterface | ) | [protected] |
creates the listener which will be associated to the document
Referenced by parse().
| void ClarisWksParser::init | ( | ) | [protected] |
inits all internal variables
Referenced by ClarisWksParser().
| void ClarisWksParser::newPage | ( | int | number, |
| bool | softBreak | ||
| ) | [protected] |
| void ClarisWksParser::parse | ( | librevenge::RVNGTextInterface * | documentInterface | ) | [virtual] |
virtual function used to parse the input
Implements MWAWTextParser.
| void ClarisWksParser::sendFootnote | ( | int | zoneId | ) | [protected] |
creates a document to send a footnote
Referenced by init().
friend class ClarisWksDocument [friend] |
Referenced by init().
friend class ClarisWksParserInternal::SubDocument [friend] |
shared_ptr<ClarisWksDocument> ClarisWksParser::m_document [protected] |
the main document manager
Referenced by checkHeader(), createDocument(), init(), and parse().
shared_ptr<ClarisWksParserInternal::State> ClarisWksParser::m_state [protected] |
the state
Referenced by checkHeader(), createDocument(), init(), newPage(), and parse().