34 #ifndef PIXELPAINT_PARSER
35 # define PIXELPAINT_PARSER
40 #include <librevenge/librevenge.h>
67 void parse(librevenge::RVNGDrawingInterface *documentInterface);
74 void createDocument(librevenge::RVNGDrawingInterface *documentInterface);
101 shared_ptr<PixelPaintParserInternal::State>
m_state;
bool readFileHeaderV2(bool onlyCheck=false)
try to read the v2 file header: unknown
Definition: PixelPaintParser.cxx:361
shared_ptr< PixelPaintParserInternal::State > m_state
the state
Definition: PixelPaintParser.hxx:101
bool readBitmapV1(bool onlyCheck=false)
try to read a bitmap(v1)
Definition: PixelPaintParser.cxx:486
bool readPatternMap(bool onlyCheck=false)
try to read the color map
Definition: PixelPaintParser.cxx:435
bool readBitmapV2(bool onlyCheck=false)
try to read a bitmap(v2)
Definition: PixelPaintParser.cxx:586
virtual ~PixelPaintParser()
destructor
Definition: PixelPaintParser.cxx:79
Internal: the structures of a PixelPaintParser.
Definition: PixelPaintParser.cxx:51
void parse(librevenge::RVNGDrawingInterface *documentInterface)
virtual function used to parse the input
Definition: PixelPaintParser.cxx:96
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:506
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: PixelPaintParser.cxx:124
void init()
inits all internal variables
Definition: PixelPaintParser.cxx:83
bool readFileHeaderV1(bool onlyCheck=false)
try to read the v1 file header: bitmap size + some windows dimension + preferences ...
Definition: PixelPaintParser.cxx:191
PixelPaintParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: PixelPaintParser.cxx:73
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: PixelPaintParser.cxx:828
the main class to read a PixelPaint file or a PNTG file
Definition: PixelPaintParser.hxx:55
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:496
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:245
bool readColorMap(bool onlyCheck=false)
try to read the color map
Definition: PixelPaintParser.cxx:408
bool sendBitmap()
try to send a bitmap
Definition: PixelPaintParser.cxx:466
bool createZones()
finds the different objects zones
Definition: PixelPaintParser.cxx:147