StarAttributeColor Class Reference

a color attribute More...

#include <StarAttribute.hxx>

Inheritance diagram for StarAttributeColor:
StarAttribute StarCellAttribute::StarCAttributeColor StarCharAttribute::StarCAttributeColor StarGraphicAttribute::StarGAttributeColor StarPageAttribute::StarPAttributeColor StarParagraphAttribute::StarPAttributeColor

List of all members.

Public Member Functions

 StarAttributeColor (Type type, std::string const &debugName, STOFFColor const &value)
 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 printData (libstoff::DebugStream &o) const
 debug function to print the data

Protected Member Functions

 StarAttributeColor (StarAttributeColor const &orig)
 copy constructor

Protected Attributes

STOFFColor m_value
 the color value
STOFFColor m_defValue
 the default value

Detailed Description

a color attribute


Constructor & Destructor Documentation

StarAttributeColor::StarAttributeColor ( Type  type,
std::string const &  debugName,
STOFFColor const &  value 
) [inline]

constructor

Referenced by create().

StarAttributeColor::StarAttributeColor ( StarAttributeColor const &  orig) [inline, protected]

copy constructor


Member Function Documentation

virtual void StarAttributeColor::printData ( libstoff::DebugStream o) const [inline, virtual]

debug function to print the data

Reimplemented from StarAttribute.

bool StarAttributeColor::read ( StarZone zone,
int  vers,
long  endPos,
StarObject object 
) [virtual]

read a zone

Implements StarAttribute.


Member Data Documentation

the default value

Referenced by read().


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