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