Public Member Functions | Private Attributes

_rtf_font_info Class Reference

#include <ie_exp_RTF.h>

List of all members.

Public Member Functions

 _rtf_font_info ()
bool init (const s_RTF_AttrPropAdapter &apa, bool bDoFieldFont=false)
bool init (const char *szfontName)
virtual ~_rtf_font_info (void)
bool _is_same (const _rtf_font_info &fi) const
const char * getFontFamily (void) const
const char * getFontName (void) const
int getFontCharset (void) const
int getFontPitch (void) const
bool isTrueType (void) const

Private Attributes

const gchar * szFamily
int nCharset
int nPitch
UT_String m_szName
bool fTrueType

Constructor & Destructor Documentation

_rtf_font_info::_rtf_font_info (  ) 
_rtf_font_info::~_rtf_font_info ( void   )  [virtual]

Member Function Documentation

bool _rtf_font_info::_is_same ( const _rtf_font_info fi  )  const

True if the two objects represent the same RTF font.

References UT_String::c_str(), fTrueType, m_szName, nCharset, nPitch, UT_String::size(), and szFamily.

Referenced by IE_Exp_RTF::_findFont().

int _rtf_font_info::getFontCharset ( void   )  const [inline]
const char* _rtf_font_info::getFontFamily ( void   )  const [inline]
const char* _rtf_font_info::getFontName ( void   )  const [inline]
int _rtf_font_info::getFontPitch ( void   )  const [inline]
bool _rtf_font_info::init ( const char *  szfontName  ) 
bool _rtf_font_info::init ( const s_RTF_AttrPropAdapter apa,
bool  bDoFieldFont = false 
bool _rtf_font_info::isTrueType ( void   )  const [inline]

Member Data Documentation

bool _rtf_font_info::fTrueType [private]

Referenced by _is_same(), and init().

Referenced by _is_same(), and init().

int _rtf_font_info::nCharset [private]

Referenced by _is_same(), and init().

int _rtf_font_info::nPitch [private]

Referenced by _is_same(), and init().

const gchar* _rtf_font_info::szFamily [private]

Referenced by _is_same(), and init().

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