a box info attribute More...
Public Member Functions | |
StarGAttributeBoxInfo (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 | 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< STOFFBorderLine > | m_borderList |
the boxInfo list: top, left, right, bottom | |
int | m_flags |
some flags: setTable, setDist, setMinDist |
a box info attribute
StarGraphicAttribute::StarGAttributeBoxInfo::StarGAttributeBoxInfo | ( | Type | type, |
std::string const & | debugName | ||
) | [inline] |
constructor
Referenced by create().
StarGraphicAttribute::StarGAttributeBoxInfo::StarGAttributeBoxInfo | ( | StarGAttributeBoxInfo const & | orig | ) | [inline, protected] |
copy constructor
virtual shared_ptr<StarAttribute> StarGraphicAttribute::StarGAttributeBoxInfo::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarGraphicAttribute::StarGAttributeBoxInfo::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
bool StarGraphicAttribute::StarGAttributeBoxInfo::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Implements StarAttribute.
std::vector<STOFFBorderLine> StarGraphicAttribute::StarGAttributeBoxInfo::m_borderList [protected] |
the boxInfo list: top, left, right, bottom
Referenced by printData(), and read().
int StarGraphicAttribute::StarGAttributeBoxInfo::m_distance [protected] |
the distance
Referenced by printData(), and read().
int StarGraphicAttribute::StarGAttributeBoxInfo::m_flags [protected] |
some flags: setTable, setDist, setMinDist
Referenced by printData(), and read().