a hyphen attribute More...
Public Member Functions | |
StarPAttributeHyphen (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 | |
StarPAttributeHyphen (StarPAttributeHyphen const &orig) | |
copy constructor | |
Protected Attributes | |
int | m_hyphenZone |
the hyphen value | |
bool | m_pageEnd |
the page end flag | |
int | m_minLead |
the min lead | |
int | m_minTail |
the min tail | |
int | m_maxHyphen |
the max hyphen |
a hyphen attribute
StarParagraphAttribute::StarPAttributeHyphen::StarPAttributeHyphen | ( | Type | type, |
std::string const & | debugName | ||
) | [inline] |
constructor
Referenced by create().
StarParagraphAttribute::StarPAttributeHyphen::StarPAttributeHyphen | ( | StarPAttributeHyphen const & | orig | ) | [inline, protected] |
copy constructor
void StarParagraphAttribute::StarPAttributeHyphen::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | |||
) | const [virtual] |
add to a para
Reimplemented from StarAttribute.
virtual shared_ptr<StarAttribute> StarParagraphAttribute::StarPAttributeHyphen::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarParagraphAttribute::StarPAttributeHyphen::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
bool StarParagraphAttribute::StarPAttributeHyphen::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Implements StarAttribute.
int StarParagraphAttribute::StarPAttributeHyphen::m_hyphenZone [protected] |
the hyphen value
Referenced by printData(), and read().
int StarParagraphAttribute::StarPAttributeHyphen::m_maxHyphen [protected] |
the max hyphen
Referenced by printData(), and read().
int StarParagraphAttribute::StarPAttributeHyphen::m_minLead [protected] |
the min lead
Referenced by printData(), and read().
int StarParagraphAttribute::StarPAttributeHyphen::m_minTail [protected] |
the min tail
Referenced by printData(), and read().
bool StarParagraphAttribute::StarPAttributeHyphen::m_pageEnd [protected] |
the page end flag
Referenced by printData(), and read().