StarGraphicAttribute::StarGAttributeNamedDash Class Reference

a dash's named attribute More...

Inheritance diagram for StarGraphicAttribute::StarGAttributeNamedDash:
StarGraphicAttribute::StarGAttributeNamed StarAttribute

List of all members.

Public Member Functions

 StarGAttributeNamedDash (Type type, std::string const &debugName)
 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 graphic style
virtual void printData (libstoff::DebugStream &o) const
 debug function to print the data

Protected Member Functions

 StarGAttributeNamedDash (StarGAttributeNamedDash const &orig)
 copy constructor

Protected Attributes

int m_dashStyle
 the style: XDASH_RECT, XDASH_ROUND, XDASH_RECTRELATIVE, XDASH_ROUNDRELATIVE
int m_numbers [2]
 the number of dot/dash
int m_lengths [2]
 the lengths of dot/dash
int m_distance
 the distance

Detailed Description

a dash's named attribute


Constructor & Destructor Documentation

StarGraphicAttribute::StarGAttributeNamedDash::StarGAttributeNamedDash ( Type  type,
std::string const &  debugName 
) [inline]

constructor

Referenced by create().


Member Function Documentation

void StarGraphicAttribute::StarGAttributeNamedDash::addTo ( StarState state,
std::set< StarAttribute const * > &   
) const [virtual]

add to a graphic style

Reimplemented from StarAttribute.

virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeNamedDash::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::StarGAttributeNamedDash::read ( StarZone zone,
int  vers,
long  endPos,
StarObject object 
) [virtual]

read a zone

Reimplemented from StarGraphicAttribute::StarGAttributeNamed.


Member Data Documentation

the style: XDASH_RECT, XDASH_ROUND, XDASH_RECTRELATIVE, XDASH_ROUNDRELATIVE

Referenced by printData(), and read().

the distance

Referenced by addTo(), printData(), and read().

the lengths of dot/dash

Referenced by addTo(), printData(), read(), and StarGAttributeNamedDash().

the number of dot/dash

Referenced by addTo(), printData(), read(), and StarGAttributeNamedDash().


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