StarParagraphAttribute::StarPAttributeLineNumbering Class Reference

a line numbering attribute More...

Inheritance diagram for StarParagraphAttribute::StarPAttributeLineNumbering:
StarAttribute

List of all members.

Public Member Functions

 StarPAttributeLineNumbering (Type type, std::string const &debugName)
 constructor
virtual shared_ptr< StarAttributecreate () 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

 StarPAttributeLineNumbering (StarPAttributeLineNumbering const &orig)
 copy constructor

Protected Attributes

long m_start
 the name value
bool m_countLines
 the countLines flag

Detailed Description

a line numbering attribute


Constructor & Destructor Documentation

StarParagraphAttribute::StarPAttributeLineNumbering::StarPAttributeLineNumbering ( Type  type,
std::string const &  debugName 
) [inline]

constructor

Referenced by create().


Member Function Documentation

void StarParagraphAttribute::StarPAttributeLineNumbering::addTo ( StarState state,
std::set< StarAttribute const * > &   
) const [virtual]

add to a para

Reimplemented from StarAttribute.

virtual shared_ptr<StarAttribute> StarParagraphAttribute::StarPAttributeLineNumbering::create ( ) const [inline, virtual]

create a new attribute

Implements StarAttribute.

debug function to print the data

Reimplemented from StarAttribute.

Referenced by read().

bool StarParagraphAttribute::StarPAttributeLineNumbering::read ( StarZone zone,
int  vers,
long  endPos,
StarObject object 
) [virtual]

read a zone

Implements StarAttribute.


Member Data Documentation

the countLines flag

Referenced by addTo(), printData(), and read().

the name value

Referenced by addTo(), printData(), and read().


The documentation for this class was generated from the following file: