a page attribute More...
Public Member Functions | |
StarPAttributePage (Type type, std::string const &debugName) | |
constructor | |
virtual shared_ptr< StarAttribute > | create () const |
create a new attribute | |
virtual void | addTo (StarState &state, std::set< StarAttribute const * > &) const |
add to a page | |
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 | |
StarPAttributePage (StarPAttributePage const &orig) | |
copy constructor | |
Protected Attributes | |
librevenge::RVNGString | m_name |
the name | |
int | m_pageType |
the type | |
bool | m_landscape |
true if landscape | |
int | m_used |
the number of use |
a page attribute
StarPageAttribute::StarPAttributePage::StarPAttributePage | ( | Type | type, |
std::string const & | debugName | ||
) | [inline] |
constructor
Referenced by create().
StarPageAttribute::StarPAttributePage::StarPAttributePage | ( | StarPAttributePage const & | orig | ) | [inline, protected] |
copy constructor
void StarPageAttribute::StarPAttributePage::addTo | ( | StarState & | state, |
std::set< StarAttribute const * > & | |||
) | const [virtual] |
add to a page
Reimplemented from StarAttribute.
virtual shared_ptr<StarAttribute> StarPageAttribute::StarPAttributePage::create | ( | ) | const [inline, virtual] |
create a new attribute
Implements StarAttribute.
virtual void StarPageAttribute::StarPAttributePage::printData | ( | libstoff::DebugStream & | o | ) | const [inline, virtual] |
bool StarPageAttribute::StarPAttributePage::read | ( | StarZone & | zone, |
int | vers, | ||
long | endPos, | ||
StarObject & | object | ||
) | [virtual] |
read a zone
Implements StarAttribute.
bool StarPageAttribute::StarPAttributePage::m_landscape [protected] |
true if landscape
Referenced by addTo(), printData(), and read().
librevenge::RVNGString StarPageAttribute::StarPAttributePage::m_name [protected] |
the name
Referenced by addTo(), printData(), and read().
int StarPageAttribute::StarPAttributePage::m_pageType [protected] |
the type
Referenced by addTo(), printData(), and read().
int StarPageAttribute::StarPAttributePage::m_used [protected] |
the number of use
Referenced by printData(), and read().