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;
std::shared_ptr< MacPaintParserInternal::State > m_state
the state
Definition: MacPaintParser.hxx:91
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MacPaintParser.cxx:281
void init()
inits all internal variables
Definition: MacPaintParser.cxx:81
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: MacPaintParser.cxx:94
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MacPaintParser.cxx:122
bool readBitmap(bool onlyCheck=false)
try to read a bitmap(v1): 576*720
Definition: MacPaintParser.cxx:193
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
~MacPaintParser() final
destructor
Definition: MacPaintParser.cxx:77
bool createZones()
finds the different objects zones
Definition: MacPaintParser.cxx:145
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:250
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
the main class to read a MacPaint's, FullPaint's or other PNTG files
Definition: MacPaintParser.hxx:55
Internal: the structures of a MacPaintParser.
Definition: MacPaintParser.cxx:51
MacPaintParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MacPaintParser.cxx:70