WPSFont Struct Reference

#include <libwps_internal.h>

Inheritance diagram for WPSFont:
WPS4TextInternal::Font

Public Member Functions

 WPSFont ()
 constructor
virtual ~WPSFont ()
bool isSet () const
 accessor
bool operator== (WPSFont const &ft) const
 compares to font
bool operator!= (WPSFont const &ft) const

Static Public Member Functions

static WPSFont getDefault ()

Public Attributes

std::string m_name
 font name
int m_size
 font size
uint32_t m_attributes
 the font attributes defined as a set of bits
uint32_t m_color
 the font color
int m_languageId
 the language (simplified locale name id) if known
std::string m_extra
 public field use to add a message when the font is printed

Friends

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

Constructor & Destructor Documentation

WPSFont::WPSFont ( )
inline

constructor

virtual WPSFont::~WPSFont ( )
inlinevirtual

Member Function Documentation

static WPSFont WPSFont::getDefault ( )
inlinestatic
bool WPSFont::isSet ( ) const
inline

accessor

bool WPSFont::operator!= ( WPSFont const &  ft) const
inline
bool WPSFont::operator== ( WPSFont const &  ft) const

compares to font

Referenced by operator!=().

Friends And Related Function Documentation

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

operator<<

Member Data Documentation

uint32_t WPSFont::m_attributes

the font attributes defined as a set of bits

Referenced by operator<<(), operator==(), WPS4Text::readFont(), and WPSContentListener::setFont().

std::string WPSFont::m_extra

public field use to add a message when the font is printed

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

int WPSFont::m_languageId

the language (simplified locale name id) if known

Referenced by operator==(), and WPSContentListener::setFont().


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

Generated on Wed Aug 8 2012 16:07:58 for libwps by doxygen 1.8.1.2