#include <OXML_Element_Bookmark.h>
Public Member Functions | |
OXML_Element_Bookmark (const std::string &id) | |
virtual | ~OXML_Element_Bookmark () |
virtual UT_Error | serialize (IE_Exp_OpenXML *exporter) |
virtual UT_Error | addToPT (PD_Document *pDocument) |
void | setType (const std::string &type) |
void | setName (const std::string &name) |
Private Attributes | |
std::string | m_type |
std::string | m_name |
OXML_Element_Bookmark::OXML_Element_Bookmark | ( | const std::string & | id | ) |
OXML_Element_Bookmark::~OXML_Element_Bookmark | ( | ) | [virtual] |
UT_Error OXML_Element_Bookmark::addToPT | ( | PD_Document * | pDocument | ) | [virtual] |
Reimplemented from OXML_Element.
References OXML_Element::addChildrenToPT(), PD_Document::appendObject(), m_name, m_type, PTO_Bookmark, UT_ERROR, and UT_OK.
UT_Error OXML_Element_Bookmark::serialize | ( | IE_Exp_OpenXML * | exporter | ) | [virtual] |
Reimplemented from OXML_Element.
References IE_Exp_OpenXML::finishBookmark(), gchar, OXML_ObjectWithAttrProp::getAttribute(), OXML_Element::getId(), IE_Exp_OpenXML::startBookmark(), type, UT_DEBUGMSG, and UT_OK.
void OXML_Element_Bookmark::setName | ( | const std::string & | name | ) |
References m_name.
Referenced by IE_Exp_OpenXML_Listener::populate(), and OXMLi_ListenerState_Common::startElement().
void OXML_Element_Bookmark::setType | ( | const std::string & | type | ) |
References m_type.
Referenced by OXMLi_ListenerState_Common::startElement().
std::string OXML_Element_Bookmark::m_name [private] |
std::string OXML_Element_Bookmark::m_type [private] |
Reimplemented from OXML_Element.