the main class to read a GreatWorks graphic file More...
#include <GreatWksDRParser.hxx>
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< GreatWksDocument > | m_document |
| the main document | |
the main class to read a GreatWorks graphic file
| GreatWksDRParser::GreatWksDRParser | ( | MWAWInputStreamPtr | input, |
| MWAWRSRCParserPtr | rsrcParser, | ||
| MWAWHeader * | header | ||
| ) |
constructor
| GreatWksDRParser::~GreatWksDRParser | ( | ) | [virtual] |
destructor
| bool GreatWksDRParser::checkHeader | ( | MWAWHeader * | header, |
| bool | strict = false |
||
| ) | [virtual] |
| 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.
shared_ptr<GreatWksDocument> GreatWksDRParser::m_document [protected] |
the main document
Referenced by checkHeader(), createDocument(), createZones(), init(), and parse().
shared_ptr<GreatWksDRParserInternal::State> GreatWksDRParser::m_state [protected] |
the state
Referenced by checkHeader(), createDocument(), and init().