define the font properties More...
#include <WPSFont.h>
Public Member Functions | |
WPSFont () | |
constructor | |
WPSFont (WPSFont const &)=default | |
WPSFont (WPSFont &&)=default | |
WPSFont & | operator= (WPSFont const &)=default |
WPSFont & | operator= (WPSFont &&)=default |
virtual | ~WPSFont () |
destructor | |
void | addTo (librevenge::RVNGPropertyList &propList) const |
add to the propList | |
bool | isSet () const |
accessor | |
bool | operator== (WPSFont const &ft) const |
operator== | |
bool | operator!= (WPSFont const &ft) const |
operator!= | |
Static Public Member Functions | |
static WPSFont | getDefault () |
returns the default font ( Courier 12pt) | |
Public Attributes | |
librevenge::RVNGString | m_name |
font name | |
double | m_size |
font size | |
uint32_t | m_attributes |
the font attributes defined as a set of bits | |
double | m_spacing |
font spacing | |
WPSColor | 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<< | |
define the font properties
|
inline |
constructor
|
default |
|
virtual |
destructor
void WPSFont::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add to the propList
returns the default font ( Courier 12pt)
Referenced by WPS4Text::getDefaultFont(), WPS8Graph::sendBorder(), WPS4Graph::sendObjects(), WPS8Graph::sendObjects(), LotusGraph::sendTextBox(), and LotusGraph::sendTextBoxWK4().
|
inline |
accessor
operator==
Referenced by operator!=().
|
friend |
operator<<
uint32_t WPSFont::m_attributes |
the font attributes defined as a set of bits
Referenced by addTo(), operator==(), DosWordParser::readCHP(), QuattroDosSpreadsheetInternal::Cell::updateFormat(), and QuattroSpreadsheetInternal::Cell::updateFormat().
WPSColor WPSFont::m_color |
the font color
Referenced by addTo(), operator==(), and DosWordParser::readCHP().
std::string WPSFont::m_extra |
public field use to add a message when the font is printed
Referenced by operator==().
int WPSFont::m_languageId |
the language (simplified locale name id) if known
Referenced by addTo(), and operator==().
librevenge::RVNGString WPSFont::m_name |
font name
Referenced by addTo(), isSet(), operator==(), DosWordParser::readCHP(), WKSContentParsingState::WKSContentParsingState(), and WPSContentParsingState::WPSContentParsingState().
double WPSFont::m_size |