#include <BMIParser.h>
Classes | |
| struct | ColorBitmapHeader |
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)=delete | |
| BMIParser & | operator= (const BMIParser &other)=delete |
| ColorBitmap | readColorBitmap (const ColorBitmapHeader &header) |
| std::vector< uint8_t > | readData (unsigned endOffset) |
| std::vector< Color > | readColorPalette (unsigned colorDepth) |
| bool | reconcileDimensions (ColorBitmapHeader &colorHeader, ColorBitmapHeader &transparencyHeader) |
Private Attributes | |
| const RVNGInputStreamPtr | m_input |
| librevenge::RVNGDrawingInterface * | m_painter |
| BMIHeader | m_header |
|
explicit |
Referenced by libzmf::BMIParser::ColorBitmapHeader::parse().
| 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 readImage().
|
private |
Referenced by header(), parse(), readImage(), and reconcileDimensions().
|
private |
Referenced by readColorBitmap(), readColorPalette(), readData(), and readImage().
|
private |
Referenced by parse().