StarParagraphAttribute::StarPAttributeDrop Class Reference

a drop attribute More...

Inheritance diagram for StarParagraphAttribute::StarPAttributeDrop:
StarAttribute

List of all members.

Public Member Functions

 StarPAttributeDrop (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

 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

Detailed Description

a drop attribute


Constructor & Destructor Documentation

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

constructor

Referenced by create().

copy constructor


Member Function Documentation

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.

debug function to print the data

Reimplemented from StarAttribute.

Referenced by read().

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

read a zone

Implements StarAttribute.


Member Data Documentation

the number of chars

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

the number of distances

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

the number of format

Referenced by printData(), and read().

the number of lines

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

the number of x

Referenced by printData(), and read().

the number of y

Referenced by printData(), and read().

flag to know if whole

Referenced by printData(), and read().


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