#include <ie_exp_RTF.h>
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 |
| _rtf_font_info::_rtf_font_info | ( | ) |
| _rtf_font_info::~_rtf_font_info | ( | void | ) | [virtual] |
| 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] |
Referenced by IE_Exp_RTF::_write_rtf_header().
| const char* _rtf_font_info::getFontFamily | ( | void | ) | const [inline] |
Referenced by IE_Exp_RTF::_write_rtf_header().
| const char* _rtf_font_info::getFontName | ( | void | ) | const [inline] |
Referenced by IE_Exp_RTF::_write_rtf_header().
| int _rtf_font_info::getFontPitch | ( | void | ) | const [inline] |
Referenced by IE_Exp_RTF::_write_rtf_header().
| bool _rtf_font_info::init | ( | const char * | szfontName | ) |
| bool _rtf_font_info::init | ( | const s_RTF_AttrPropAdapter & | apa, | |
| bool | bDoFieldFont = false | |||
| ) |
References fTrueType, XAP_EncodingManager::get_instance(), s_RTF_AttrPropAdapter::getProperty(), XAP_EncodingManager::getWinCharsetCode(), m_szName, nCharset, nPitch, GR_Font::s_getGenericFontProperties(), and szFamily.
Referenced by s_RTF_ListenerGetProps::_check_revs_for_font(), s_RTF_ListenerGetProps::_compute_span_properties(), IE_Exp_RTF::_findFont(), and IE_Exp_RTF::_selectStyles().
| bool _rtf_font_info::isTrueType | ( | void | ) | const [inline] |
Referenced by IE_Exp_RTF::_write_rtf_header().
bool _rtf_font_info::fTrueType [private] |
Referenced by _is_same(), and init().
UT_String _rtf_font_info::m_szName [private] |
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().
1.7.1