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;
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:251
the main class to read a MacPaint's, FullPaint's or other PNTG files
Definition: MacPaintParser.hxx:56
shared_ptr< MacPaintParserInternal::State > m_state
the state
Definition: MacPaintParser.hxx:91
void init()
inits all internal variables
Definition: MacPaintParser.cxx:79
virtual ~MacPaintParser()
destructor
Definition: MacPaintParser.cxx:75
bool readBitmap(bool onlyCheck=false)
try to read a bitmap(v1): 576*720
Definition: MacPaintParser.cxx:191
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacPaintParser.cxx:120
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:279
bool sendBitmap()
try to send a bitmap(v1)
Definition: MacPaintParser.cxx:171
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: MacPaintParser.cxx:92
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:513
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
Internal: the structures of a MacPaintParser.
Definition: MacPaintParser.cxx:52