#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. | |
Image | readImage () |
Parse the bitmap and convert it to PNG. | |
const BMIHeader & | header () const |
Private Member Functions | |
BMIParser (const BMIParser &other) | |
BMIParser & | operator= (const BMIParser &other) |
ColorBitmap | readColorBitmap (BMIOffset offset) |
std::vector< uint8_t > | readData (unsigned endOffset) |
std::vector< Color > | readColorPalette (unsigned colorDepth) |
Private Attributes | |
const RVNGInputStreamPtr | m_input |
librevenge::RVNGDrawingInterface * | m_painter |
BMIHeader | m_header |
|
explicit |
bool libzmf::BMIParser::parse | ( | ) |
Parse the bitmap and output it as a drawing doc with an inserted image.
|
private |
Referenced by readImage().
Referenced by readColorBitmap().
Referenced by readColorBitmap().
Image libzmf::BMIParser::readImage | ( | ) |
Parse the bitmap and convert it to PNG.
Referenced by parse().
|
private |
Referenced by header(), parse(), readColorBitmap(), and readImage().
|
private |
Referenced by readColorBitmap(), readColorPalette(), readData(), and readImage().
|
private |
Referenced by parse().