small class use to define a embedded object More...
#include <libmwaw_internal.hxx>
Public Member Functions | |
| MWAWEmbeddedObject () | |
| empty constructor More... | |
| MWAWEmbeddedObject (librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict") | |
| constructor More... | |
| ~MWAWEmbeddedObject () | |
| destructor More... | |
| bool | isEmpty () const |
| return true if the picture contains no data More... | |
| void | add (librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict") |
| add a picture More... | |
| bool | addTo (librevenge::RVNGPropertyList &propList) const |
| add the link property to proplist More... | |
| int | cmp (MWAWEmbeddedObject const &pict) const |
| a comparison function More... | |
Public Attributes | |
| std::vector< librevenge::RVNGBinaryData > | m_dataList |
| the picture content: one data by representation More... | |
| std::vector< std::string > | m_typeList |
| the picture type: one type by representation More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, MWAWEmbeddedObject const &pict) |
| operator<< More... | |
small class use to define a embedded object
|
inline |
empty constructor
|
inline |
constructor
| MWAWEmbeddedObject::~MWAWEmbeddedObject | ( | ) |
destructor
|
inline |
add a picture
Referenced by PowerPoint1Parser::readPicture(), and PowerPoint3Parser::readPictureContent().
| bool MWAWEmbeddedObject::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist
Referenced by MWAWTextListener::insertPicture(), MWAWPresentationListener::insertPicture(), MWAWGraphicListener::insertPicture(), MWAWSpreadsheetListener::insertPicture(), and MWAWTextListener::insertShape().
| int MWAWEmbeddedObject::cmp | ( | MWAWEmbeddedObject const & | pict | ) | const |
a comparison function
|
inline |
return true if the picture contains no data
Referenced by operator<<(), PowerPoint3Parser::readPictureDefinition(), ApplePictParser::readZone(), and PowerPoint1Parser::sendPicture().
|
friend |
operator<<
| std::vector<librevenge::RVNGBinaryData> MWAWEmbeddedObject::m_dataList |
the picture content: one data by representation
Referenced by MWAWGraphicStyle::addTo(), cmp(), MacDraft5StyleManager::getBitmap(), MacDraft5StyleManager::getPixmap(), MacWrtParser::readGraphic(), libmwaw_applepict1::Bitmap::saveBitmap(), MacDrawParser::sendBitmap(), MacDraftParser::sendBitmap(), and MacDrawProParser::sendBitmap().
| std::vector<std::string> MWAWEmbeddedObject::m_typeList |
the picture type: one type by representation
Referenced by MWAWGraphicStyle::addTo(), cmp(), and operator<<().