libzmf::BMIParser Class Reference

#include <BMIParser.h>

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. More...
 
Image readImage ()
 Parse the bitmap and convert it to PNG. More...
 
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

const BMIHeader & libzmf::BMIParser::header ( ) const
BMIParser& libzmf::BMIParser::operator= ( const BMIParser other)
private
bool libzmf::BMIParser::parse ( )

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

ColorBitmap libzmf::BMIParser::readColorBitmap ( BMIOffset  offset)
private

Referenced by readImage().

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().

Image libzmf::BMIParser::readImage ( )

Parse the bitmap and convert it to PNG.

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

Member Data Documentation

BMIHeader libzmf::BMIParser::m_header
private
const RVNGInputStreamPtr libzmf::BMIParser::m_input
private
librevenge::RVNGDrawingInterface* libzmf::BMIParser::m_painter
private

Referenced by parse().


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

Generated for libzmf by doxygen 1.8.11