a font attribute More...
Public Member Functions | |
StarCAttributeFont (Type type, std::string const &debugName) | |
constructor | |
virtual shared_ptr< StarAttribute > | create () const |
create a new attribute | |
virtual bool | read (StarZone &zone, int vers, long endPos, StarObject &object) |
read a zone | |
virtual void | addTo (StarState &state, std::set< StarAttribute const * > &) const |
add to a font | |
virtual void | printData (libstoff::DebugStream &o) const |
debug function to print the data | |
Protected Member Functions | |
StarCAttributeFont (StarCAttributeFont const &orig) | |
copy constructor | |
Protected Attributes | |
librevenge::RVNGString | m_name |
the font name | |
librevenge::RVNGString | m_style |
the style | |
int | m_encoding |
the font encoding | |
int | m_family |
the font family | |
int | m_pitch |
the font pitch |
a font attribute
StarCharAttribute::StarCAttributeFont::StarCAttributeFont | ( | Type | type, |
std::string const & | debugName | ||
) | [inline] |
constructor
Referenced by create().
StarCharAttribute::StarCAttributeFont::StarCAttributeFont | ( | StarCAttributeFont const & | orig | ) | [inline, protected] |
copy constructor
void StarCharAttribute::StarCAttributeFont::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | |||
) | const [virtual] |
add to a font
Reimplemented from StarAttribute.
virtual shared_ptr<StarAttribute> StarCharAttribute::StarCAttributeFont::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarCharAttribute::StarCAttributeFont::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
bool StarCharAttribute::StarCAttributeFont::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Implements StarAttribute.
int StarCharAttribute::StarCAttributeFont::m_encoding [protected] |
the font encoding
Referenced by printData(), and read().
int StarCharAttribute::StarCAttributeFont::m_family [protected] |
the font family
Referenced by printData(), and read().
librevenge::RVNGString StarCharAttribute::StarCAttributeFont::m_name [protected] |
the font name
Referenced by addTo(), printData(), and read().
int StarCharAttribute::StarCAttributeFont::m_pitch [protected] |
the font pitch
Referenced by addTo(), printData(), and read().
librevenge::RVNGString StarCharAttribute::StarCAttributeFont::m_style [protected] |
the style
Referenced by printData(), and read().