#include <ie_exp_RTF_AttrProp.h>
Public Member Functions | |
virtual | ~s_RTF_AttrPropAdapter () |
virtual const gchar * | getAttribute (const gchar *szName) const =0 |
virtual const gchar * | getProperty (const gchar *szName) const =0 |
This is an adapter interface. Some of the RTF export functions are used for exporting both style sheets and document contents. Styles and document elements use different ways of looking up property values, but we don't care about that.
s_RTF_AttrPropAdapter is an abstract class for accessing properties. The function getProperty takes a property name as argument and returns the value, or NULL if that property isn't defined.
virtual s_RTF_AttrPropAdapter::~s_RTF_AttrPropAdapter | ( | ) | [inline, virtual] |
virtual const gchar* s_RTF_AttrPropAdapter::getAttribute | ( | const gchar * | szName | ) | const [pure virtual] |
Implemented in s_RTF_AttrPropAdapter_Style, and s_RTF_AttrPropAdapter_AP.
Referenced by IE_Exp_RTF::_output_revision().
virtual const gchar* s_RTF_AttrPropAdapter::getProperty | ( | const gchar * | szName | ) | const [pure virtual] |
Implemented in s_RTF_AttrPropAdapter_Style, and s_RTF_AttrPropAdapter_AP.
Referenced by IE_Exp_RTF::_getStyleProp(), IE_Exp_RTF::_write_charfmt(), and _rtf_font_info::init().