Internal: class to store font properties. More...
Public Member Functions | |
| Font (int version=4) | |
| constructor with file's version to define the default encoding */ More... | |
| bool | hasColor () const |
| returns true if the font (or background) color is set More... | |
| void | resetColor () |
| resets to undef the font and the background color More... | |
Public Member Functions inherited from WPSFont | |
| WPSFont () | |
| constructor More... | |
| virtual | ~WPSFont () |
| bool | isSet () const |
| accessor More... | |
| bool | operator== (WPSFont const &ft) const |
| compares to font More... | |
| bool | operator!= (WPSFont const &ft) const |
Static Public Member Functions | |
| static Font | getDefault (int version) |
| returns a default font (Courier12) with file's version to define the default encoding */ More... | |
Static Public Member Functions inherited from WPSFont | |
| static WPSFont | getDefault () |
Public Attributes | |
| libwps_tools_win::Font::Type | m_type |
| the font encoding type More... | |
| uint32_t | m_backColor |
| background color index More... | |
| bool | m_special |
| a flag to know if we have a special field (a note), ... More... | |
| int | m_dlinkId |
| a id to retrieve a file name ( dos ) More... | |
Public Attributes inherited from WPSFont | |
| std::string | m_name |
| font name More... | |
| int | m_size |
| font size More... | |
| uint32_t | m_attributes |
| the font attributes defined as a set of bits More... | |
| uint32_t | m_color |
| the font color More... | |
| int | m_languageId |
| the language (simplified locale name id) if known More... | |
| std::string | m_extra |
| public field use to add a message when the font is printed More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, Font const &ft) |
| operator<< More... | |
Internal: class to store font properties.
|
inline |
constructor with file's version to define the default encoding */
|
inlinestatic |
returns a default font (Courier12) with file's version to define the default encoding */
|
inline |
returns true if the font (or background) color is set
|
inline |
resets to undef the font and the background color
|
friend |
operator<<
| uint32_t WPS4TextInternal::Font::m_backColor |
background color index
Referenced by hasColor(), WPS4TextInternal::operator<<(), WPS4Text::readFont(), and resetColor().
| int WPS4TextInternal::Font::m_dlinkId |
a id to retrieve a file name ( dos )
Referenced by WPS4TextInternal::operator<<(), WPS4Text::readFont(), and WPS4Text::readText().
| bool WPS4TextInternal::Font::m_special |
a flag to know if we have a special field (a note), ...
Referenced by WPS4TextInternal::operator<<(), WPS4Text::readFont(), and WPS4Text::readText().
| libwps_tools_win::Font::Type WPS4TextInternal::Font::m_type |
the font encoding type
Referenced by Font(), WPS4Text::readFont(), and WPS4Text::readText().