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;
bool readFileHeaderV2(bool onlyCheck=false)
try to read the v2 file header: unknown
Definition: PixelPaintParser.cxx:365
PixelPaintParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: PixelPaintParser.cxx:76
~PixelPaintParser() final
destructor
Definition: PixelPaintParser.cxx:83
std::shared_ptr< PixelPaintParserInternal::State > m_state
the state
Definition: PixelPaintParser.hxx:101
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: PixelPaintParser.cxx:100
bool readBitmapV1(bool onlyCheck=false)
try to read a bitmap(v1)
Definition: PixelPaintParser.cxx:489
bool readPatternMap(bool onlyCheck=false)
try to read the color map
Definition: PixelPaintParser.cxx:438
bool readBitmapV2(bool onlyCheck=false)
try to read a bitmap(v2)
Definition: PixelPaintParser.cxx:589
Internal: the structures of a PixelPaintParser.
Definition: PixelPaintParser.cxx:51
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: PixelPaintParser.cxx:128
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
the main class to read a PixelPaint file or a PNTG file
Definition: PixelPaintParser.hxx:55
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
bool readColorMap(bool onlyCheck=false)
try to read the color map
Definition: PixelPaintParser.cxx:412
bool sendBitmap()
try to send a bitmap
Definition: PixelPaintParser.cxx:469
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: PixelPaintParser.cxx:830
bool createZones()
finds the different objects zones
Definition: PixelPaintParser.cxx:151