GreatWksDRParser Class Reference

the main class to read a GreatWorks graphic file More...

#include <GreatWksDRParser.hxx>

Inheritance diagram for GreatWksDRParser:
MWAWGraphicParser MWAWParser

List of all members.

Public Member Functions

 GreatWksDRParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
 constructor
virtual ~GreatWksDRParser ()
 destructor
bool checkHeader (MWAWHeader *header, bool strict=false)
 checks if the document header is correct (or not)
void parse (librevenge::RVNGDrawingInterface *documentInterface)
 virtual function used to parse the input

Protected Member Functions

void init ()
 inits all internal variables
void createDocument (librevenge::RVNGDrawingInterface *documentInterface)
 creates the listener which will be associated to the document
bool createZones ()
 finds the different objects zones

Protected Attributes

shared_ptr
< GreatWksDRParserInternal::State
m_state
 the state
shared_ptr< GreatWksDocumentm_document
 the main document

Detailed Description

the main class to read a GreatWorks graphic file


Constructor & Destructor Documentation

constructor

destructor


Member Function Documentation

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

checks if the document header is correct (or not)

Implements MWAWParser.

Referenced by parse().

void GreatWksDRParser::createDocument ( librevenge::RVNGDrawingInterface *  documentInterface) [protected]

creates the listener which will be associated to the document

Referenced by parse().

bool GreatWksDRParser::createZones ( ) [protected]

finds the different objects zones

Referenced by parse().

void GreatWksDRParser::init ( ) [protected]

inits all internal variables

Referenced by GreatWksDRParser().

void GreatWksDRParser::parse ( librevenge::RVNGDrawingInterface *  documentInterface) [virtual]

virtual function used to parse the input

Implements MWAWGraphicParser.


Member Data Documentation

the main document

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

the state

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


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