ClarisWksParser Class Reference

the main class to read a Claris Works file More...

#include <ClarisWksParser.hxx>

Inheritance diagram for ClarisWksParser:
MWAWTextParser MWAWParser

List of all members.

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< ClarisWksDocumentm_document
 the main document manager

Friends

class ClarisWksParserInternal::SubDocument
class ClarisWksDocument

Detailed Description

the main class to read a Claris Works file


Constructor & Destructor Documentation

constructor

destructor


Member Function Documentation

bool ClarisWksParser::checkHeader ( MWAWHeader header,
bool  strict = false 
) [virtual]

checks if the document header is correct (or not)

Implements MWAWParser.

Referenced by parse().

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]

adds a new page

Referenced by init(), and parse().

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().


Friends And Related Function Documentation

friend class ClarisWksDocument [friend]

Referenced by init().

friend class ClarisWksParserInternal::SubDocument [friend]

Member Data Documentation

the main document manager

Referenced by checkHeader(), createDocument(), init(), and parse().


The documentation for this class was generated from the following files: