small class use to define a embedded object More...
#include <libmwaw_internal.hxx>
Public Member Functions | |
MWAWEmbeddedObject () | |
empty constructor | |
MWAWEmbeddedObject (librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict") | |
constructor | |
MWAWEmbeddedObject (MWAWEmbeddedObject const &)=default | |
MWAWEmbeddedObject & | operator= (MWAWEmbeddedObject const &)=default |
MWAWEmbeddedObject & | operator= (MWAWEmbeddedObject &&)=default |
~MWAWEmbeddedObject () | |
destructor | |
bool | isEmpty () const |
return true if the picture contains no data | |
void | add (librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict") |
add a picture | |
bool | addTo (librevenge::RVNGPropertyList &propList) const |
add the link property to proplist | |
int | cmp (MWAWEmbeddedObject 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 | |
Friends | |
std::ostream & | operator<< (std::ostream &o, MWAWEmbeddedObject const &pict) |
operator<< | |
small class use to define a embedded object
|
inline |
empty constructor
|
inlineexplicit |
constructor
|
default |
MWAWEmbeddedObject::~MWAWEmbeddedObject | ( | ) |
destructor
|
inline |
add a picture
Referenced by MWAWEmbeddedObject(), PowerPoint1Parser::readPicture(), PowerPoint3Parser::readPictureContent(), and ReadySetGoGraph::send().
bool MWAWEmbeddedObject::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist
Referenced by MWAWGraphicListener::insertPicture(), MWAWPresentationListener::insertPicture(), MWAWSpreadsheetListener::insertPicture(), MWAWTextListener::insertPicture(), and MWAWTextListener::insertShape().
int MWAWEmbeddedObject::cmp | ( | MWAWEmbeddedObject const & | pict | ) | const |
a comparison function
Referenced by MWAWGraphicStyle::Pattern::cmp().
|
inline |
return true if the picture contains no data
Referenced by PowerPoint3Parser::readPictureDefinition(), CorelPainterParser::readResource(), ApplePictParser::readZone(), PowerPoint1Parser::sendPicture(), JazzWriterParser::sendPLC(), and Canvas5StyleManager::updateSurfaceColor().
|
default |
|
default |
|
friend |
operator<<
std::vector<librevenge::RVNGBinaryData> MWAWEmbeddedObject::m_dataList |
the picture content: one data by representation
Referenced by add(), MWAWGraphicStyle::addTo(), addTo(), cmp(), ApplePictParser::drawBitmap(), ApplePictParser::drawPixmap(), MWAWGraphicStyle::Pattern::empty(), MacDraft5StyleManager::getBitmap(), MacDraft5StyleManager::getPixmap(), isEmpty(), CanvasGraph::readFileBitmap(), MacWrtParser::readGraphic(), Canvas5Structure::readPreview(), CorelPainterParser::readResource(), Canvas5Image::readVKFL(), libmwaw_applepict1::Bitmap::saveBitmap(), ReadySetGoGraph::send(), CorelPainterParser::sendBitmap(), MacDraftParser::sendBitmap(), MacDrawParser::sendBitmap(), MacDrawProParser::sendBitmap(), and SpringBoardParser::sendFrame().
std::vector<std::string> MWAWEmbeddedObject::m_typeList |
the picture type: one type by representation
Referenced by add(), MWAWGraphicStyle::addTo(), addTo(), cmp(), and ReadySetGoGraph::send().