StarCellAttribute::StarCAttributeProtection Class Reference

a protection attribute More...

Inheritance diagram for StarCellAttribute::StarCAttributeProtection:
StarAttribute

List of all members.

Public Member Functions

 StarCAttributeProtection (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 cell style
virtual void printData (libstoff::DebugStream &o) const
 debug function to print the data

Protected Member Functions

 StarCAttributeProtection (StarCAttributeProtection const &orig)
 copy constructor

Protected Attributes

bool m_protected
 the cell is protected
bool m_hiddenFormula
 the formula is hidden
bool m_hiddenCell
 the cell is hidden and protected
bool m_doNotPrint
 do not print the formula

Detailed Description

a protection attribute


Constructor & Destructor Documentation

StarCellAttribute::StarCAttributeProtection::StarCAttributeProtection ( Type  type,
std::string const &  debugName 
) [inline]

constructor

Referenced by create().


Member Function Documentation

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

add to a cell style

Reimplemented from StarAttribute.

virtual shared_ptr<StarAttribute> StarCellAttribute::StarCAttributeProtection::create ( ) const [inline, virtual]

create a new attribute

Implements StarAttribute.

debug function to print the data

Reimplemented from StarAttribute.

Referenced by read().

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

read a zone

Implements StarAttribute.


Member Data Documentation

do not print the formula

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

the cell is hidden and protected

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

the formula is hidden

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

the cell is protected

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


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