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