a drop attribute More...
Public Member Functions | |
StarPAttributeDrop (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 para | |
virtual void | printData (libstoff::DebugStream &o) const |
debug function to print the data | |
Protected Member Functions | |
StarPAttributeDrop (StarPAttributeDrop const &orig) | |
copy constructor | |
Protected Attributes | |
int | m_numFormats |
the number of format | |
int | m_numLines |
the number of lines | |
int | m_numChars |
the number of chars | |
int | m_numDistances |
the number of distances | |
bool | m_whole |
flag to know if whole | |
int | m_numX |
the number of x | |
int | m_numY |
the number of y |
a drop attribute
StarParagraphAttribute::StarPAttributeDrop::StarPAttributeDrop | ( | Type | type, |
std::string const & | debugName | ||
) | [inline] |
constructor
Referenced by create().
StarParagraphAttribute::StarPAttributeDrop::StarPAttributeDrop | ( | StarPAttributeDrop const & | orig | ) | [inline, protected] |
copy constructor
void StarParagraphAttribute::StarPAttributeDrop::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | |||
) | const [virtual] |
add to a para
Reimplemented from StarAttribute.
virtual shared_ptr<StarAttribute> StarParagraphAttribute::StarPAttributeDrop::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarParagraphAttribute::StarPAttributeDrop::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
bool StarParagraphAttribute::StarPAttributeDrop::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Implements StarAttribute.
int StarParagraphAttribute::StarPAttributeDrop::m_numChars [protected] |
the number of chars
Referenced by addTo(), printData(), and read().
int StarParagraphAttribute::StarPAttributeDrop::m_numDistances [protected] |
the number of distances
Referenced by addTo(), printData(), and read().
int StarParagraphAttribute::StarPAttributeDrop::m_numFormats [protected] |
the number of format
Referenced by printData(), and read().
int StarParagraphAttribute::StarPAttributeDrop::m_numLines [protected] |
the number of lines
Referenced by addTo(), printData(), and read().
int StarParagraphAttribute::StarPAttributeDrop::m_numX [protected] |
the number of x
Referenced by printData(), and read().
int StarParagraphAttribute::StarPAttributeDrop::m_numY [protected] |
the number of y
Referenced by printData(), and read().
bool StarParagraphAttribute::StarPAttributeDrop::m_whole [protected] |
flag to know if whole
Referenced by printData(), and read().