#include <xap_Prefs.h>
Public Member Functions | |
XAP_FontSettings () | |
const std::vector < UT_UTF8String > & | getFonts () const |
void | addFont (const char *pFace) |
bool | haveFontsToExclude () const |
bool | haveFontsToInclude () const |
bool | isOnExcludeList (const char *name) const |
void | setIncludeFlag (bool bInclude) |
bool | getIncludeFlag () const |
Private Attributes | |
std::vector< UT_UTF8String > | m_vecFonts |
bool | m_bInclude |
XAP_FontSettings::XAP_FontSettings | ( | ) | [inline] |
void XAP_FontSettings::addFont | ( | const char * | pFace | ) | [inline] |
Referenced by XAP_Prefs::startElement().
const std::vector<UT_UTF8String>& XAP_FontSettings::getFonts | ( | ) | const [inline] |
Referenced by GR_CairoGraphics::getAllFontNames(), and XAP_Prefs::savePrefsFile().
bool XAP_FontSettings::getIncludeFlag | ( | ) | const [inline] |
Referenced by XAP_Prefs::savePrefsFile().
bool XAP_FontSettings::haveFontsToExclude | ( | ) | const [inline] |
Referenced by GR_CairoGraphics::getAllFontNames().
bool XAP_FontSettings::haveFontsToInclude | ( | ) | const [inline] |
Referenced by GR_CairoGraphics::getAllFontNames().
bool XAP_FontSettings::isOnExcludeList | ( | const char * | name | ) | const |
References m_bInclude, and m_vecFonts.
Referenced by GR_CairoGraphics::getAllFontNames().
void XAP_FontSettings::setIncludeFlag | ( | bool | bInclude | ) | [inline] |
Referenced by XAP_Prefs::startElement().
bool XAP_FontSettings::m_bInclude [private] |
Referenced by isOnExcludeList().
std::vector<UT_UTF8String> XAP_FontSettings::m_vecFonts [private] |
Referenced by isOnExcludeList().