Public Member Functions | Private Attributes

OXML_Style Class Reference

#include <OXML_Style.h>

Inheritance diagram for OXML_Style:

List of all members.

Public Member Functions

 OXML_Style (const std::string &id, const std::string &name)
virtual ~OXML_Style ()
void setId (const std::string &id)
const std::string & getId () const
void setName (const std::string &name)
const std::string & getName () const
void setBasedOn (const std::string &basedOn)
void setFollowedBy (const std::string &followedBy)
UT_Error serialize (IE_Exp_OpenXML *exporter)
UT_Error addToPT (PD_Document *pDocument)

Private Attributes

std::string m_id
std::string m_name
std::string m_basedon
std::string m_followedby

Constructor & Destructor Documentation

OXML_Style::OXML_Style ( const std::string &  id,
const std::string &  name 
id The unique identifier for a valid OpenXML style.
name The unique identifier for a style in the AbiWord piecetable.

References PT_NAME_ATTRIBUTE_NAME, and OXML_ObjectWithAttrProp::setAttribute().

OXML_Style::~OXML_Style (  )  [virtual]

Member Function Documentation

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

References m_id.

const std::string& OXML_Style::getName (  )  const [inline]

References m_name.

void OXML_Style::setBasedOn ( const std::string &  basedOn  )  [inline]
void OXML_Style::setFollowedBy ( const std::string &  followedBy  )  [inline]
void OXML_Style::setId ( const std::string &  id  )  [inline]

References m_id.

void OXML_Style::setName ( const std::string &  name  )  [inline]

Member Data Documentation

std::string OXML_Style::m_basedon [private]

Referenced by serialize(), and setBasedOn().

std::string OXML_Style::m_followedby [private]

Referenced by serialize(), and setFollowedBy().

std::string OXML_Style::m_id [private]

Referenced by getId(), and setId().

std::string OXML_Style::m_name [private]

Referenced by getName(), serialize(), and setName().

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