the main class to read a Microsoft Works graphic file More...
#include <MsWksDRParser.hxx>
Public Member Functions | |
| MsWksDRParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header) | |
| constructor | |
| virtual | ~MsWksDRParser () |
| 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 | |
| void | newPage (int number, bool softBreak=false) |
| adds a new page | |
| bool | readDrawHeader () |
| tries to read the specific draw header | |
Protected Attributes | |
| shared_ptr < MsWksDRParserInternal::State > | m_state |
| the state | |
| std::vector< MWAWEntry > | m_listZones |
| the list of different Zones | |
| shared_ptr< MsWksDocument > | m_document |
| the actual document | |
the main class to read a Microsoft Works graphic file
| MsWksDRParser::MsWksDRParser | ( | MWAWInputStreamPtr | input, |
| MWAWRSRCParserPtr | rsrcParser, | ||
| MWAWHeader * | header | ||
| ) |
constructor
| MsWksDRParser::~MsWksDRParser | ( | ) | [virtual] |
destructor
| bool MsWksDRParser::checkHeader | ( | MWAWHeader * | header, |
| bool | strict = false |
||
| ) | [virtual] |
| void MsWksDRParser::createDocument | ( | librevenge::RVNGDrawingInterface * | documentInterface | ) | [protected] |
creates the listener which will be associated to the document
Referenced by parse().
| bool MsWksDRParser::createZones | ( | ) | [protected] |
finds the different objects zones
Referenced by parse().
| void MsWksDRParser::init | ( | ) | [protected] |
inits all internal variables
Referenced by MsWksDRParser().
| void MsWksDRParser::newPage | ( | int | number, |
| bool | softBreak = false |
||
| ) | [protected] |
| void MsWksDRParser::parse | ( | librevenge::RVNGDrawingInterface * | documentInterface | ) | [virtual] |
virtual function used to parse the input
Implements MWAWGraphicParser.
| bool MsWksDRParser::readDrawHeader | ( | ) | [protected] |
tries to read the specific draw header
Referenced by createZones().
shared_ptr<MsWksDocument> MsWksDRParser::m_document [protected] |
the actual document
Referenced by checkHeader(), createDocument(), createZones(), init(), MsWksDRParser(), newPage(), parse(), and readDrawHeader().
std::vector<MWAWEntry> MsWksDRParser::m_listZones [protected] |
the list of different Zones
shared_ptr<MsWksDRParserInternal::State> MsWksDRParser::m_state [protected] |
the state
Referenced by checkHeader(), createDocument(), createZones(), init(), newPage(), and parse().