MWAWEmbeddedObject Struct Reference

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 type="image/pict")
 constructor More...
 
virtual ~MWAWEmbeddedObject ()
 destructor More...
 
bool isEmpty () const
 return true if the picture contains no data More...
 
void add (librevenge::RVNGBinaryData const &binaryData, std::string 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...
 

Detailed Description

small class use to define a embedded object

Note
mainly used to store picture

Constructor & Destructor Documentation

MWAWEmbeddedObject::MWAWEmbeddedObject ( )
inline

empty constructor

MWAWEmbeddedObject::MWAWEmbeddedObject ( librevenge::RVNGBinaryData const &  binaryData,
std::string  type = "image/pict" 
)
inline

constructor

virtual MWAWEmbeddedObject::~MWAWEmbeddedObject ( )
inlinevirtual

destructor

Member Function Documentation

void MWAWEmbeddedObject::add ( librevenge::RVNGBinaryData const &  binaryData,
std::string  type = "image/pict" 
)
inline

add a picture

bool MWAWEmbeddedObject::addTo ( librevenge::RVNGPropertyList &  propList) const
int MWAWEmbeddedObject::cmp ( MWAWEmbeddedObject const &  pict) const

a comparison function

bool MWAWEmbeddedObject::isEmpty ( ) const
inline

return true if the picture contains no data

Referenced by operator<<().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
MWAWEmbeddedObject const &  pict 
)
friend

operator<<

Member Data Documentation

std::vector<std::string> MWAWEmbeddedObject::m_typeList

the picture type: one type by representation

Referenced by MWAWGraphicStyle::addTo(), cmp(), and operator<<().


The documentation for this struct was generated from the following files:

Generated on Tue Feb 16 2016 21:32:02 for libmwaw by doxygen 1.8.11