libzmf::BMIParser Class Reference

#include <BMIParser.h>

List of all members.

Public Member Functions

 BMIParser (const RVNGInputStreamPtr &input, librevenge::RVNGDrawingInterface *painter=0)
bool parse ()
 Parse the bitmap and output it as a drawing doc with an inserted image.
Image readImage ()
 Parse the bitmap and convert it to PNG.
const BMIHeaderheader () const

Private Member Functions

 BMIParser (const BMIParser &other)
BMIParseroperator= (const BMIParser &other)
ColorBitmap readColorBitmap (BMIOffset offset)
std::vector< uint8_t > readData (unsigned endOffset)
std::vector< ColorreadColorPalette (unsigned colorDepth)

Private Attributes

const RVNGInputStreamPtr m_input
librevenge::RVNGDrawingInterface * m_painter
BMIHeader m_header

Constructor & Destructor Documentation

libzmf::BMIParser::BMIParser ( const BMIParser other) [private]
libzmf::BMIParser::BMIParser ( const RVNGInputStreamPtr input,
librevenge::RVNGDrawingInterface *  painter = 0 
) [explicit]

Member Function Documentation

BMIParser& libzmf::BMIParser::operator= ( const BMIParser other) [private]

Parse the bitmap and output it as a drawing doc with an inserted image.

std::vector< Color > libzmf::BMIParser::readColorPalette ( unsigned  colorDepth) [private]

Referenced by readColorBitmap().

std::vector< uint8_t > libzmf::BMIParser::readData ( unsigned  endOffset) [private]

Referenced by readColorBitmap().

Parse the bitmap and convert it to PNG.

Referenced by parse(), and libzmf::ZMF4Parser::readBitmap().


Member Data Documentation

librevenge::RVNGDrawingInterface* libzmf::BMIParser::m_painter [private]

Referenced by parse().


The documentation for this class was generated from the following files: