WPSFont Class Reference

define the font properties More...

#include <WPSFont.h>

Inheritance diagram for WPSFont:
LotusParserInternal::Font MSWriteParserInternal::Font MultiplanParserInternal::Font QuattroDosParserInternal::Font QuattroParserInternal::Font WKS4ParserInternal::Font WPS4TextInternal::Font WPS8TextStyleInternal::Font

Public Member Functions

 WPSFont ()
 constructor More...
 
virtual ~WPSFont ()
 destructor More...
 
void addTo (librevenge::RVNGPropertyList &propList) const
 add to the propList More...
 
bool isSet () const
 accessor More...
 
bool operator== (WPSFont const &ft) const
 operator== More...
 
bool operator!= (WPSFont const &ft) const
 operator!= More...
 

Static Public Member Functions

static WPSFont getDefault ()
 returns the default font ( Courier 12pt) More...
 

Public Attributes

librevenge::RVNGString m_name
 font name More...
 
double m_size
 font size More...
 
uint32_t m_attributes
 the font attributes defined as a set of bits More...
 
double m_spacing
 font spacing More...
 
WPSColor 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, WPSFont const &ft)
 operator<< More...
 

Detailed Description

define the font properties

Constructor & Destructor Documentation

◆ WPSFont()

WPSFont::WPSFont ( )
inline

constructor

◆ ~WPSFont()

virtual WPSFont::~WPSFont ( )
inlinevirtual

destructor

Member Function Documentation

◆ addTo()

void WPSFont::addTo ( librevenge::RVNGPropertyList &  propList) const

add to the propList

Referenced by WKSContentListener::openSheetCell().

◆ getDefault()

static WPSFont WPSFont::getDefault ( )
inlinestatic

◆ isSet()

bool WPSFont::isSet ( ) const
inline

accessor

◆ operator!=()

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

operator!=

◆ operator==()

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

operator==

Referenced by operator!=().

Friends And Related Function Documentation

◆ operator<<

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

operator<<

Member Data Documentation

◆ m_attributes

◆ m_color

◆ m_extra

std::string WPSFont::m_extra

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

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

◆ m_languageId

int WPSFont::m_languageId

the language (simplified locale name id) if known

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

◆ m_name

◆ m_size

◆ m_spacing

double WPSFont::m_spacing

font spacing

Referenced by addTo(), operator<<(), operator==(), and LotusGraph::sendTextBox().


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

Generated on Fri May 27 2022 03:07:01 for libwps by doxygen 1.8.14