WPS4TextInternal::Font Struct Reference

Internal: class to store font properties. More...

Inheritance diagram for WPS4TextInternal::Font:
WPSFont

List of all members.

Public Member Functions

 Font (int version=4)
 constructor with file's version to define the default encoding */
bool hasColor () const
 returns true if the font (or background) color is set
void resetColor ()
 resets to undef the font and the background color

Static Public Member Functions

static Font getDefault (int version)
 returns a default font (Courier12) with file's version to define the default encoding */

Public Attributes

libwps_tools_win::Font::Type m_type
 the font encoding type
uint32_t m_backColor
 background color index
bool m_special
 a flag to know if we have a special field (a note), ...
int m_dlinkId
 a id to retrieve a file name ( dos )

Friends

std::ostream & operator<< (std::ostream &o, Font const &ft)
 operator<<

Detailed Description

Internal: class to store font properties.


Constructor & Destructor Documentation

WPS4TextInternal::Font::Font ( int  version = 4) [inline]

constructor with file's version to define the default encoding */


Member Function Documentation

static Font WPS4TextInternal::Font::getDefault ( int  version) [inline, static]

returns a default font (Courier12) with file's version to define the default encoding */

bool WPS4TextInternal::Font::hasColor ( ) const [inline]

returns true if the font (or background) color is set

resets to undef the font and the background color


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Font const &  ft 
) [friend]

operator<<


Member Data Documentation

a flag to know if we have a special field (a note), ...

Referenced by WPS4TextInternal::operator<<(), WPS4Text::readFont(), and WPS4Text::readText().


The documentation for this struct was generated from the following file: