a color's named attribute More...
Public Member Functions | |
StarGAttributeNamedColor (Type type, std::string const &debugName, STOFFColor const &defColor) | |
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/graphic style | |
virtual void | printData (libstoff::DebugStream &o) const |
debug function to print the data | |
Protected Member Functions | |
StarGAttributeNamedColor (StarGAttributeNamedColor const &orig) | |
copy constructor | |
Protected Attributes | |
STOFFColor | m_color |
the color |
a color's named attribute
StarGraphicAttribute::StarGAttributeNamedColor::StarGAttributeNamedColor | ( | Type | type, |
std::string const & | debugName, | ||
STOFFColor const & | defColor | ||
) | [inline] |
constructor
Referenced by create().
StarGraphicAttribute::StarGAttributeNamedColor::StarGAttributeNamedColor | ( | StarGAttributeNamedColor const & | orig | ) | [inline, protected] |
copy constructor
void StarGraphicAttribute::StarGAttributeNamedColor::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | |||
) | const [virtual] |
add to a font/graphic style
Reimplemented from StarAttribute.
virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeNamedColor::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarGraphicAttribute::StarGAttributeNamedColor::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
debug function to print the data
Reimplemented from StarGraphicAttribute::StarGAttributeNamed.
Referenced by read().
bool StarGraphicAttribute::StarGAttributeNamedColor::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Reimplemented from StarGraphicAttribute::StarGAttributeNamed.
the color
Referenced by addTo(), printData(), and read().