the main class to read/. More...
#include <StarBitmap.hxx>
Public Member Functions | |
| StarBitmap () | |
| constructor More... | |
| StarBitmap (uint32_t const ((&pixels)[32]), STOFFColor const ((&colors)[2])) | |
| constructor for pixmap 32*32 More... | |
| virtual | ~StarBitmap () |
| destructor More... | |
| bool | readBitmap (StarZone &zone, bool inFileHeader, long lastPos, librevenge::RVNGBinaryData &data, std::string &type) |
| low level More... | |
| bool | getData (librevenge::RVNGBinaryData &data, std::string &type) const |
| try to convert the read data in ppm More... | |
| STOFFVec2i | getBitmapSize () const |
| try to return the bitmap size (in point) More... | |
Protected Member Functions | |
| bool | readBitmapInformation (StarZone &zone, StarBitmapInternal::Bitmap &info, long lastPos) |
| try to read the bitmap information block More... | |
| bool | readBitmapData (STOFFInputStreamPtr &input, StarBitmapInternal::Bitmap &bitmap, long lastPos) |
| try to read the bitmap data block More... | |
Private Attributes | |
| shared_ptr< StarBitmapInternal::State > | m_state |
| the state More... | |
the main class to read/.
. some basic bitmap/pattern in StarOffice documents
| StarBitmap::StarBitmap | ( | ) |
constructor
| StarBitmap::StarBitmap | ( | uint32_t const | (&pixels)[32], |
| STOFFColor const | (&colors)[2] | ||
| ) |
constructor for pixmap 32*32
|
virtual |
destructor
| STOFFVec2i StarBitmap::getBitmapSize | ( | ) | const |
try to return the bitmap size (in point)
Referenced by SDGParser::readBitmap().
| bool StarBitmap::getData | ( | librevenge::RVNGBinaryData & | data, |
| std::string & | type | ||
| ) | const |
try to convert the read data in ppm
Referenced by StarGraphicAttribute::StarGAttributeNamedBitmap::read(), and SDGParser::readBitmap().
| bool StarBitmap::readBitmap | ( | StarZone & | zone, |
| bool | inFileHeader, | ||
| long | lastPos, | ||
| librevenge::RVNGBinaryData & | data, | ||
| std::string & | type | ||
| ) |
low level
try to read a bitmap
Referenced by StarGraphicStruct::StarGraphic::read(), StarGraphicAttribute::StarGAttributeNamedBitmap::read(), StarAttributeManager::readAttribute(), SDGParser::readBitmap(), StarFileManager::readEmbeddedPicture(), StarObjectSmallGraphic::readSDROutlinerParaObject(), and StarFileManager::readSVGDI().
|
protected |
try to read the bitmap data block
Referenced by readBitmap().
|
protected |
try to read the bitmap information block
Referenced by readBitmap().
|
private |
the state
Referenced by getBitmapSize(), getData(), readBitmap(), and StarBitmap().