StarGraphicAttribute::StarGAttributeNamedColor Class Reference

a color's named attribute More...

Inheritance diagram for StarGraphicAttribute::StarGAttributeNamedColor:
StarGraphicAttribute::StarGAttributeNamed StarAttribute

List of all members.

Public Member Functions

 StarGAttributeNamedColor (Type type, std::string const &debugName, STOFFColor const &defColor)
 constructor
virtual shared_ptr< StarAttributecreate () 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

Detailed Description

a color's named attribute


Constructor & Destructor Documentation

StarGraphicAttribute::StarGAttributeNamedColor::StarGAttributeNamedColor ( Type  type,
std::string const &  debugName,
STOFFColor const &  defColor 
) [inline]

constructor

Referenced by create().


Member Function Documentation

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.

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.


Member Data Documentation


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