34 #ifndef MACPAINT_PARSER
35 # define MACPAINT_PARSER
40 #include <librevenge/librevenge.h>
67 void parse(librevenge::RVNGDrawingInterface *documentInterface);
74 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
91 shared_ptr<MacPaintParserInternal::State>
m_state;
void init()
inits all internal variables
Definition: MacPaintParser.cxx:79
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacPaintParser.cxx:120
bool readBitmap(bool onlyCheck=false)
try to read a bitmap(v1): 576*720
Definition: MacPaintParser.cxx:192
bool sendBitmap()
try to send a bitmap(v1)
Definition: MacPaintParser.cxx:171
shared_ptr< MacPaintParserInternal::State > m_state
the state
Definition: MacPaintParser.hxx:91
MacPaintParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MacPaintParser.cxx:69
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:449
bool createZones()
finds the different objects zones
Definition: MacPaintParser.cxx:143
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MacPaintParser.cxx:278
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:245
the main class to read a MacPaint file or a PNTG file
Definition: MacPaintParser.hxx:55
virtual ~MacPaintParser()
destructor
Definition: MacPaintParser.cxx:75
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: MacPaintParser.cxx:92
Internal: the structures of a MacPaintParser.
Definition: MacPaintParser.cxx:51