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

§ BMIParser() [1/2]

libzmf::BMIParser::BMIParser ( const BMIParser other)
private

§ BMIParser() [2/2]

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

Member Function Documentation

§ header()

const BMIHeader & libzmf::BMIParser::header ( ) const

§ operator=()

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

§ parse()

bool libzmf::BMIParser::parse ( )

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

§ readColorBitmap()

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

Referenced by readImage().

§ readColorPalette()

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

Referenced by readColorBitmap().

§ readData()

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

Referenced by readColorBitmap().

§ readImage()

Image libzmf::BMIParser::readImage ( )

Parse the bitmap and convert it to PNG.

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

Member Data Documentation

§ m_header

BMIHeader libzmf::BMIParser::m_header
private

§ m_input

const RVNGInputStreamPtr libzmf::BMIParser::m_input
private

§ m_painter

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.12