small class use to define a embedded object More...
#include <libstaroffice_internal.hxx>
Public Member Functions | |
| STOFFEmbeddedObject () | |
| empty constructor | |
| STOFFEmbeddedObject (librevenge::RVNGBinaryData const &binaryData, std::string type="image/pict") | |
| constructor | |
| virtual | ~STOFFEmbeddedObject () |
| destructor | |
| bool | isEmpty () const |
| return true if the picture contains no data | |
| void | add (librevenge::RVNGBinaryData const &binaryData, std::string type="image/pict") |
| add a picture | |
| bool | addTo (librevenge::RVNGPropertyList &propList) const |
| add the link property to proplist | |
| bool | addAsFillImageTo (librevenge::RVNGPropertyList &propList) const |
| add the link property to a graph style as bitmap | |
| int | cmp (STOFFEmbeddedObject const &pict) const |
| a comparison function | |
Public Attributes | |
| std::vector < librevenge::RVNGBinaryData > | m_dataList |
| the picture content: one data by representation | |
| std::vector< std::string > | m_typeList |
| the picture type: one type by representation | |
| librevenge::RVNGString | m_filenameLink |
| a picture link | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, STOFFEmbeddedObject const &pict) |
| operator<< | |
small class use to define a embedded object
| STOFFEmbeddedObject::STOFFEmbeddedObject | ( | ) | [inline] |
empty constructor
| STOFFEmbeddedObject::STOFFEmbeddedObject | ( | librevenge::RVNGBinaryData const & | binaryData, |
| std::string | type = "image/pict" |
||
| ) | [inline] |
constructor
| STOFFEmbeddedObject::~STOFFEmbeddedObject | ( | ) | [virtual] |
destructor
| void STOFFEmbeddedObject::add | ( | librevenge::RVNGBinaryData const & | binaryData, |
| std::string | type = "image/pict" |
||
| ) | [inline] |
add a picture
Referenced by StarGraphicAttribute::StarGAttributeNamedBitmap::read(), SDGParser::readBitmap(), StarFileManager::readEmbeddedPicture(), StarFileManager::readOLEDirectory(), StarObjectSmallGraphic::readSDROutlinerParaObject(), StarObjectSmallGraphicInternal::SdrGraphicOLE::send(), and STOFFEmbeddedObject().
| bool STOFFEmbeddedObject::addAsFillImageTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to a graph style as bitmap
Referenced by StarGraphicAttribute::StarGAttributeNamedBitmap::addTo().
| bool STOFFEmbeddedObject::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist
Referenced by STOFFGraphicListener::insertPicture(), STOFFTextListener::insertPicture(), and STOFFSpreadsheetListener::insertPicture().
| int STOFFEmbeddedObject::cmp | ( | STOFFEmbeddedObject const & | pict | ) | const |
a comparison function
| bool STOFFEmbeddedObject::isEmpty | ( | ) | const [inline] |
return true if the picture contains no data
Referenced by StarGraphicAttribute::StarGAttributeNamedBitmap::addTo(), operator<<(), SDGParser::parse(), StarGraphicAttribute::StarGAttributeNamedBitmap::printData(), SDGParser::readBitmap(), StarFileManager::readOLEDirectory(), StarObjectTextInternal::GraphZone::send(), and StarObjectSmallGraphicInternal::SdrGraphicOLE::send().
| std::ostream& operator<< | ( | std::ostream & | o, |
| STOFFEmbeddedObject const & | pict | ||
| ) | [friend] |
operator<<
| std::vector<librevenge::RVNGBinaryData> STOFFEmbeddedObject::m_dataList |
the picture content: one data by representation
Referenced by add(), addAsFillImageTo(), addTo(), cmp(), and isEmpty().
| librevenge::RVNGString STOFFEmbeddedObject::m_filenameLink |
a picture link
Referenced by addTo(), isEmpty(), and StarObjectSmallGraphicInternal::SdrGraphicGraph::send().
| std::vector<std::string> STOFFEmbeddedObject::m_typeList |
the picture type: one type by representation
Referenced by add(), addAsFillImageTo(), addTo(), cmp(), and operator<<().