StarGraphicAttribute::StarGAttributeBoxInfo Class Reference

a box info attribute More...

Inheritance diagram for StarGraphicAttribute::StarGAttributeBoxInfo:
StarAttribute

List of all members.

Public Member Functions

 StarGAttributeBoxInfo (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 printData (libstoff::DebugStream &o) const
 debug function to print the data

Protected Member Functions

 StarGAttributeBoxInfo (StarGAttributeBoxInfo const &orig)
 copy constructor

Protected Attributes

int m_distance
 the distance
std::vector< STOFFBorderLinem_borderList
 the boxInfo list: top, left, right, bottom
int m_flags
 some flags: setTable, setDist, setMinDist

Detailed Description

a box info attribute


Constructor & Destructor Documentation

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

constructor

Referenced by create().

copy constructor


Member Function Documentation

virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeBoxInfo::create ( ) const [inline, virtual]

create a new attribute

Implements StarAttribute.

debug function to print the data

Reimplemented from StarAttribute.

Referenced by read().

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

read a zone

Implements StarAttribute.


Member Data Documentation

the boxInfo list: top, left, right, bottom

Referenced by printData(), and read().

the distance

Referenced by printData(), and read().

some flags: setTable, setDist, setMinDist

Referenced by printData(), and read().


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