Class to store font. More...
#include <STOFFFont.hxx>
Public Member Functions | |
STOFFFont () | |
constructor More... | |
STOFFFont (STOFFFont const &)=default | |
STOFFFont (STOFFFont &&)=default | |
STOFFFont & | operator= (STOFFFont const &)=default |
STOFFFont & | operator= (STOFFFont &&)=default |
~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_hardBlank |
hard blank More... | |
bool | m_tab |
tab More... | |
bool | m_lineBreak |
line break More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, STOFFFont const &font) |
operator<< More... | |
Class to store font.
|
inline |
constructor
|
default |
|
default |
STOFFFont::~STOFFFont | ( | ) |
destructor
void STOFFFont::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add to the propList
Referenced by STOFFCell::addTo(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().
|
static |
check if the font name defined.
If not set Times
Referenced by STOFFGraphicListener::_openSpan(), STOFFSpreadsheetListener::_openSpan(), STOFFTextListener::_openSpan(), STOFFGraphicListener::defineStyle(), STOFFSpreadsheetListener::defineStyle(), and STOFFTextListener::defineStyle().
int STOFFFont::cmp | ( | STOFFFont const & | font | ) | const |
a comparison function
Referenced by operator!=(), operator<(), and operator==().
|
inline |
operator!=
|
inline |
operator<
|
inline |
operator==
|
friend |
operator<<
bool STOFFFont::m_hardBlank |
hard blank
Referenced by StarCharAttribute::StarCAttributeHardBlank::addTo(), cmp(), and StarObjectTextInternal::TextZone::send().
bool STOFFFont::m_hyphen |
hyphen
Referenced by StarCharAttribute::StarCAttributeBool::addTo(), and cmp().
bool STOFFFont::m_lineBreak |
line break
Referenced by StarCharAttribute::StarCAttributeBool::addTo(), StarCharAttribute::StarCAttributeVoid::addTo(), cmp(), and StarObjectSmallTextInternal::Paragraph::send().
librevenge::RVNGPropertyList STOFFFont::m_propertyList |
the property list
Referenced by addTo(), StarCharAttribute::StarCAttributeBool::addTo(), StarCharAttribute::StarCAttributeColor::addTo(), StarCharAttribute::StarCAttributeInt::addTo(), StarCharAttribute::StarCAttributeUInt::addTo(), StarCharAttribute::StarCAttributeEscapement::addTo(), StarCharAttribute::StarCAttributeFont::addTo(), StarCharAttribute::StarCAttributeFontSize::addTo(), StarFrameAttribute::StarFAttributeBrush::addTo(), cmp(), STOFFGraphicListener::defineStyle(), STOFFSpreadsheetListener::defineStyle(), STOFFTextListener::defineStyle(), and StarObjectNumericRuler::readLevel().
STOFFColor STOFFFont::m_shadowColor |
the shadow color
Referenced by addTo(), StarGraphicAttribute::StarGAttributeNamedColor::addTo(), and cmp().
bool STOFFFont::m_softHyphen |
soft hyphen
Referenced by StarCharAttribute::StarCAttributeVoid::addTo(), cmp(), and StarObjectTextInternal::TextZone::send().
bool STOFFFont::m_tab |
tab
Referenced by StarCharAttribute::StarCAttributeVoid::addTo(), cmp(), and StarObjectSmallTextInternal::Paragraph::send().