#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 |
| libzmf::BMIParser::BMIParser | ( | const BMIParser & | other | ) | [private] |
| libzmf::BMIParser::BMIParser | ( | const RVNGInputStreamPtr & | input, |
| librevenge::RVNGDrawingInterface * | painter = 0 |
||
| ) | [explicit] |
| const BMIHeader & libzmf::BMIParser::header | ( | ) | const |
Referenced by libzmf::ZMF4Parser::readBitmap().
| 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().
Parse the bitmap and convert it to PNG.
Referenced by parse(), and libzmf::ZMF4Parser::readBitmap().
BMIHeader libzmf::BMIParser::m_header [private] |
Referenced by header(), parse(), readColorBitmap(), and readImage().
const RVNGInputStreamPtr libzmf::BMIParser::m_input [private] |
Referenced by readColorBitmap(), readColorPalette(), readData(), and readImage().
librevenge::RVNGDrawingInterface* libzmf::BMIParser::m_painter [private] |
Referenced by parse().