small class use to define a embedded object More...
#include <libwps_internal.h>
Public Member Functions | |
WPSEmbeddedObject () | |
empty constructor | |
WPSEmbeddedObject (librevenge::RVNGBinaryData const &binaryData, std::string type="image/pict") | |
constructor | |
virtual | ~WPSEmbeddedObject () |
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 | |
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 | |
Friends | |
std::ostream & | operator<< (std::ostream &o, WPSEmbeddedObject const &pict) |
operator<< |
small class use to define a embedded object
WPSEmbeddedObject::WPSEmbeddedObject | ( | ) | [inline] |
empty constructor
WPSEmbeddedObject::WPSEmbeddedObject | ( | librevenge::RVNGBinaryData const & | binaryData, |
std::string | type = "image/pict" |
||
) | [inline] |
constructor
virtual WPSEmbeddedObject::~WPSEmbeddedObject | ( | ) | [inline, virtual] |
destructor
void WPSEmbeddedObject::add | ( | librevenge::RVNGBinaryData const & | binaryData, |
std::string | type = "image/pict" |
||
) | [inline] |
add a picture
Referenced by MSWriteParser::processEmbeddedOLE(), and WPSEmbeddedObject().
bool WPSEmbeddedObject::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist
Referenced by WPSContentListener::insertObject(), and WKSContentListener::insertObject().
bool WPSEmbeddedObject::isEmpty | ( | ) | const [inline] |
return true if the picture contains no data
Referenced by operator<<().
std::ostream& operator<< | ( | std::ostream & | o, |
WPSEmbeddedObject const & | pict | ||
) | [friend] |
operator<<
std::vector<librevenge::RVNGBinaryData> WPSEmbeddedObject::m_dataList |
std::vector<std::string> WPSEmbeddedObject::m_typeList |
the picture type: one type by representation
Referenced by add(), addTo(), and operator<<().