a margins attribute More...
Public Member Functions | |
StarCAttributeMargins (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 | addTo (StarState &state, std::set< StarAttribute const * > &) const |
add to a cell style | |
virtual void | printData (libstoff::DebugStream &o) const |
debug function to print the data | |
Protected Member Functions | |
StarCAttributeMargins (StarCAttributeMargins const &orig) | |
copy constructor | |
Protected Attributes | |
int | m_margins [4] |
the top, left, right, bottom margins |
a margins attribute
StarCellAttribute::StarCAttributeMargins::StarCAttributeMargins | ( | Type | type, |
std::string const & | debugName | ||
) | [inline] |
constructor
Referenced by create().
StarCellAttribute::StarCAttributeMargins::StarCAttributeMargins | ( | StarCAttributeMargins const & | orig | ) | [inline, protected] |
copy constructor
void StarCellAttribute::StarCAttributeMargins::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | |||
) | const [virtual] |
add to a cell style
Reimplemented from StarAttribute.
virtual shared_ptr<StarAttribute> StarCellAttribute::StarCAttributeMargins::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarCellAttribute::StarCAttributeMargins::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
bool StarCellAttribute::StarCAttributeMargins::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Implements StarAttribute.
int StarCellAttribute::StarCAttributeMargins::m_margins[4] [protected] |
the top, left, right, bottom margins
Referenced by addTo(), printData(), read(), and StarCAttributeMargins().