34#ifndef GREAT_WKS_BM_PARSER
35# define GREAT_WKS_BM_PARSER
40#include <librevenge/librevenge.h>
69 void parse(librevenge::RVNGDrawingInterface *documentInterface);
76 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
91 shared_ptr<GreatWksBMParserInternal::State>
m_state;
the main class to read a GreatWorks paint file
Definition: GreatWksBMParser.hxx:58
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: GreatWksBMParser.cxx:119
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: GreatWksBMParser.cxx:215
void init()
inits all internal variables
Definition: GreatWksBMParser.cxx:78
bool createZones()
finds the different objects zones
Definition: GreatWksBMParser.cxx:142
GreatWksBMParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: GreatWksBMParser.cxx:68
shared_ptr< GreatWksBMParserInternal::State > m_state
the state
Definition: GreatWksBMParser.hxx:91
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: GreatWksBMParser.cxx:91
virtual ~GreatWksBMParser()
destructor
Definition: GreatWksBMParser.cxx:74
bool sendPicture()
try to send the main picture
Definition: GreatWksBMParser.cxx:167
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:251
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
Internal: the structures of a GreatWksBMParser.
Definition: GreatWksBMParser.cxx:51