STOFFFont Class Reference documentation

Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
STOFFFont Class Reference

Class to store font. More...

`#include <STOFFFont.hxx>`

## Public Member Functions
| STOFFFont ()
| constructor More...
| ~STOFFFont ()
| destructor More...
void | addTo (librevenge::RVNGPropertyList &propList) const
| add to the propList More...
int | cmp (STOFFFont const &font) const
| a comparison function More...
bool | operator== (STOFFFont const &font) const
| operator== More...
bool | operator!= (STOFFFont const &font) const
| operator!= More...
bool | operator< (STOFFFont const &font) const
| operator< More...

## Static Public Member Functions
static void | checkForDefault (librevenge::RVNGPropertyList &propList)
| check if the font name defined. More...

## Public Attributes
librevenge::RVNGPropertyList | m_propertyList
| the property list More...
STOFFColor | m_shadowColor
| the shadow color More...
bool | m_hyphen
| hyphen More...
bool | m_softHyphen
| soft hyphen More...
bool | m_lineBreak
| line break More...

## Friends
std::ostream & | operator<< (std::ostream &o, STOFFFont const &font)
| operator<< More...

## Detailed Description

Class to store font.

## Constructor & Destructor Documentation

## ◆ STOFFFont()

STOFFFont::STOFFFont | ( |  | ) |
| inline

constructor

## ◆ ~STOFFFont()

STOFFFont::~STOFFFont | ( |  | ) |

destructor

## Member Function Documentation

## ◆ addTo()

void STOFFFont::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const

add to the propList

Referenced by STOFFCell::addTo(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().

## ◆ checkForDefault()

void STOFFFont::checkForDefault | ( | librevenge::RVNGPropertyList & | propList | ) |
| static

check if the font name defined.

If not set Times

Referenced by STOFFTextListener::_openSpan(), STOFFSpreadsheetListener::_openSpan(), STOFFGraphicListener::_openSpan(), STOFFGraphicListener::defineStyle(), STOFFTextListener::defineStyle(), and STOFFSpreadsheetListener::defineStyle().

## ◆ cmp()

int STOFFFont::cmp | ( | STOFFFont const & | font | ) | const

a comparison function

Referenced by operator!=(), operator<(), and operator==().

## ◆ operator!=()

bool STOFFFont::operator!= | ( | STOFFFont const & | font | ) | const
| inline

operator!=

## ◆ operator<()

bool STOFFFont::operator< | ( | STOFFFont const & | font | ) | const
| inline

operator<

## ◆ operator==()

bool STOFFFont::operator== | ( | STOFFFont const & | font | ) | const
| inline

operator==

## Friends And Related Function Documentation

## ◆ operator<<

std::ostream& operator<< | ( | std::ostream & | o,
|  | STOFFFont const & | font
| ) |  |
| friend

operator<<

## Member Data Documentation

## ◆ m_hyphen

bool STOFFFont::m_hyphen

hyphen

Referenced by StarCharAttribute::StarCAttributeBool::addTo(), cmp(), and operator<<().

## ◆ m_lineBreak

bool STOFFFont::m_lineBreak

line break

Referenced by StarCharAttribute::StarCAttributeBool::addTo(), cmp(), and operator<<().

## ◆ m_propertyList

librevenge::RVNGPropertyList STOFFFont::m_propertyList

the property list

Referenced by addTo(), StarCharAttribute::StarCAttributeBool::addTo(), StarCharAttribute::StarCAttributeColor::addTo(), StarCharAttribute::StarCAttributeInt::addTo(), StarCharAttribute::StarCAttributeUInt::addTo(), StarFrameAttribute::StarFAttributeBrush::addTo(), StarCharAttribute::StarCAttributeEscapement::addTo(), StarCharAttribute::StarCAttributeFont::addTo(), StarCharAttribute::StarCAttributeFontSize::addTo(), cmp(), STOFFGraphicListener::defineStyle(), STOFFTextListener::defineStyle(), STOFFSpreadsheetListener::defineStyle(), operator<<(), and StarObjectNumericRuler::readLevel().

## ◆ m_shadowColor

STOFFColor STOFFFont::m_shadowColor

the shadow color

Referenced by addTo(), StarGraphicAttribute::StarGAttributeNamedColor::addTo(), cmp(), and operator<<().

## ◆ m_softHyphen

bool STOFFFont::m_softHyphen

soft hyphen

Referenced by StarCharAttribute::StarCAttributeVoid::addTo(), cmp(), operator<<(), and StarObjectTextInternal::TextZone::send().

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

- STOFFFont.hxx
- STOFFFont.cxx