34#ifndef MACPAINT_PARSER
35# define MACPAINT_PARSER
40#include <librevenge/librevenge.h>
67 void parse(librevenge::RVNGDrawingInterface *documentInterface)
final;
74 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
91 std::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
void init()
inits all internal variables
Definition: MacPaintParser.cxx:81
bool readBitmap(bool onlyCheck=false)
try to read a bitmap(v1): 576*720
Definition: MacPaintParser.cxx:193
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacPaintParser.cxx:122
bool createZones()
finds the different objects zones
Definition: MacPaintParser.cxx:145
std::shared_ptr< MacPaintParserInternal::State > m_state
the state
Definition: MacPaintParser.hxx:91
~MacPaintParser() final
destructor
Definition: MacPaintParser.cxx:77
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MacPaintParser.cxx:281
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: MacPaintParser.cxx:94
bool sendBitmap()
try to send a bitmap(v1)
Definition: MacPaintParser.cxx:173
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
Internal: the structures of a MacPaintParser.
Definition: MacPaintParser.cxx:52