small class use to define a embedded object More...
#include <libwps_internal.h>
Public Member Functions | |
| WPSEmbeddedObject () | |
| empty constructor | |
| WPSEmbeddedObject (WPSEmbeddedObject const &)=default | |
| WPSEmbeddedObject & | operator= (WPSEmbeddedObject const &)=default |
| WPSEmbeddedObject (WPSEmbeddedObject &&)=default | |
| WPSEmbeddedObject & | operator= (WPSEmbeddedObject &&)=default |
| WPSEmbeddedObject (librevenge::RVNGBinaryData const &binaryData, std::string const &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 const &type="image/pict") |
| add a picture | |
| bool | addTo (librevenge::RVNGPropertyList &propList) const |
| add the link property to proplist | |
Public Attributes | |
| Vec2f | m_size |
| the picture size in inches(if known) | |
| 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 | |
| bool | m_sent |
| a mutable flag which can be used to know if the picture was send to a listener | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, WPSEmbeddedObject const &pict) |
| operator<< | |
small class use to define a embedded object
|
inline |
empty constructor
Referenced by operator<<, operator=(), operator=(), WPSEmbeddedObject(), and WPSEmbeddedObject().
|
default |
|
default |
|
inlineexplicit |
constructor
|
virtual |
destructor
|
inline |
| bool WPSEmbeddedObject::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist
Referenced by WKSContentListener::insertObject(), and WPSContentListener::insertObject().
|
inline |
return true if the picture contains no data
Referenced by operator<<, WPSOLEParser::parse(), and QuattroGraph::sendGraphic().
|
default |
|
default |
|
friend |
operator<<
| std::vector<librevenge::RVNGBinaryData> WPSEmbeddedObject::m_dataList |
the picture content: one data by representation
Referenced by add(), addTo(), isEmpty(), WPSEmbeddedObject(), and WPSEmbeddedObject().
|
mutable |
a mutable flag which can be used to know if the picture was send to a listener
Referenced by WPSEmbeddedObject(), and WPSEmbeddedObject().
| Vec2f WPSEmbeddedObject::m_size |
the picture size in inches(if known)
Referenced by operator<<, WPS8Graph::readBDR(), WPSOLEParser::readCONTENTS(), WPSOLEParser::readContents(), WPSOLEParser::readOlePres(), WPS8Graph::readPICT(), WPSEmbeddedObject(), and WPSEmbeddedObject().
| std::vector<std::string> WPSEmbeddedObject::m_typeList |
the picture type: one type by representation
Referenced by add(), addTo(), operator<<, WPSEmbeddedObject(), and WPSEmbeddedObject().