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