Public Member Functions | Private Attributes

OXML_Image Class Reference

#include <OXML_Image.h>

Inheritance diagram for OXML_Image:
OXML_ObjectWithAttrProp

List of all members.

Public Member Functions

 OXML_Image ()
virtual ~OXML_Image ()
void setId (const std::string &id)
void setMimeType (const std::string &mimeType)
void setData (const UT_ConstByteBufPtr &data)
void setGraphic (FG_ConstGraphicPtr &&fg)
const std::string & getId () const
UT_Error serialize (IE_Exp_OpenXML *exporter)
UT_Error addToPT (PD_Document *pDocument)

Private Attributes

std::string m_id
std::string m_mimeType
UT_ConstByteBufPtr m_data
FG_ConstGraphicPtr m_graphic

Constructor & Destructor Documentation

OXML_Image::OXML_Image (  ) 
OXML_Image::~OXML_Image (  )  [virtual]

Member Function Documentation

const std::string& OXML_Image::getId (  )  const [inline]

References m_id.

void OXML_Image::setData ( const UT_ConstByteBufPtr data  ) 

References m_data, and m_graphic.

Referenced by IE_Exp_OpenXML_Listener::addImages().

void OXML_Image::setGraphic ( FG_ConstGraphicPtr &&  fg  ) 

References m_data, and m_graphic.

Referenced by OXMLi_ListenerState_Image::addImage().

void OXML_Image::setId ( const std::string &  id  ) 
void OXML_Image::setMimeType ( const std::string &  mimeType  ) 

Member Data Documentation

std::string OXML_Image::m_id [private]

Referenced by addToPT(), getId(), serialize(), and setId().

std::string OXML_Image::m_mimeType [private]

Referenced by addToPT(), serialize(), and setMimeType().


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