Internal: class to store a font name: name with encoding type. More...
Public Member Functions | |
FontName (int version=4) | |
constructor with file's version to define the default encoding */ | |
bool | isSet () const |
checks if the font name is set |
Static Public Member Functions | |
static std::string | getDosName (int id) |
returns the default dos name corresponding to id th font |
Public Attributes | |
std::string | m_name |
font name | |
libwps_tools_win::Font::Type | m_type |
font encoding type |
Friends | |
std::ostream & | operator<< (std::ostream &o, FontName const &ft) |
operator<< |
Internal: class to store a font name: name with encoding type.
|
inline |
constructor with file's version to define the default encoding */
|
static |
returns the default dos name corresponding to id th font
Referenced by WPS4Text::readFont().
|
inline |
checks if the font name is set
|
friend |
operator<<
std::string WPS4TextInternal::FontName::m_name |
font name
Referenced by isSet(), WPS4TextInternal::operator<<(), and WPS4Text::readFontNames().
libwps_tools_win::Font::Type WPS4TextInternal::FontName::m_type |
font encoding type
Referenced by FontName(), WPS4TextInternal::operator<<(), and WPS4Text::readFontNames().