MsWksDRParser Class Reference

the main class to read a Microsoft Works graphic file More...

#include <MsWksDRParser.hxx>

Inheritance diagram for MsWksDRParser:
MWAWGraphicParser MWAWParser

List of all members.

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< MWAWEntrym_listZones
 the list of different Zones
shared_ptr< MsWksDocumentm_document
 the actual document

Detailed Description

the main class to read a Microsoft Works graphic file


Constructor & Destructor Documentation

constructor

destructor


Member Function Documentation

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

checks if the document header is correct (or not)

Implements MWAWParser.

Referenced by parse().

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]

adds a new page

Referenced by init(), and parse().

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


Member Data Documentation

std::vector<MWAWEntry> MsWksDRParser::m_listZones [protected]

the list of different Zones


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