34#ifndef PIXELPAINT_PARSER
35# define PIXELPAINT_PARSER
40#include <librevenge/librevenge.h>
67 void parse(librevenge::RVNGDrawingInterface *documentInterface)
final;
74 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
101 std::shared_ptr<PixelPaintParserInternal::State>
m_state;
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:251
the main class to read a PixelPaint file or a PNTG file
Definition: PixelPaintParser.hxx:56
std::shared_ptr< PixelPaintParserInternal::State > m_state
the state
Definition: PixelPaintParser.hxx:101
bool sendBitmap()
try to send a bitmap
Definition: PixelPaintParser.cxx:469
void init()
inits all internal variables
Definition: PixelPaintParser.cxx:87
bool readFileHeaderV1(bool onlyCheck=false)
try to read the v1 file header: bitmap size + some windows dimension + preferences
Definition: PixelPaintParser.cxx:195
bool readPatternMap(bool onlyCheck=false)
try to read the color map
Definition: PixelPaintParser.cxx:438
bool createZones()
finds the different objects zones
Definition: PixelPaintParser.cxx:151
bool readBitmapV2(bool onlyCheck=false)
try to read a bitmap(v2)
Definition: PixelPaintParser.cxx:589
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: PixelPaintParser.cxx:100
bool readFileHeaderV2(bool onlyCheck=false)
try to read the v2 file header: unknown
Definition: PixelPaintParser.cxx:365
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: PixelPaintParser.cxx:128
bool readColorMap(bool onlyCheck=false)
try to read the color map
Definition: PixelPaintParser.cxx:412
bool readBitmapV1(bool onlyCheck=false)
try to read a bitmap(v1)
Definition: PixelPaintParser.cxx:489
~PixelPaintParser() final
destructor
Definition: PixelPaintParser.cxx:83
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: PixelPaintParser.cxx:830
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 PixelPaintParser.
Definition: PixelPaintParser.cxx:52