filters

Swinder::CalcModeRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::CalcModeRecord:
Swinder::Record

Public Member Functions

unsigned int rtti ()
 
 CalcModeRecord ()
 
 ~CalcModeRecord ()
 
bool autoCalc () const
 
void setAutoCalc (bool r)
 
virtual void setData (unsigned size, const unsigned char *data)
 
virtual const char * name ()
 
virtual void dump (std::ostream &out) const
 
- Public Member Functions inherited from Swinder::Record
 Record ()
 
virtual ~Record ()
 
void setVersion (unsigned v)
 
unsigned version ()
 
void setPosition (unsigned pos)
 
unsigned position () const
 

Static Public Attributes

static const unsigned int id = 0x000d
 
- Static Public Attributes inherited from Swinder::Record
static const unsigned int id = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from Swinder::Record
static Record * create (unsigned type)
 
- Protected Attributes inherited from Swinder::Record
unsigned stream_position
 
unsigned ver
 

Detailed Description

Automatic recalculation mode.

Class CalcModeRecord represents CalcMode record, which specifies whether to (re)calculate formulas manually or automatically.

Definition at line 786 of file excel.h.

Constructor & Destructor Documentation

◆ CalcModeRecord()

CalcModeRecord::CalcModeRecord ( )

Creates a new CalcMode record.

Definition at line 2047 of file excel.cpp.

◆ ~CalcModeRecord()

CalcModeRecord::~CalcModeRecord ( )

Destroy the record.

Definition at line 2054 of file excel.cpp.

Member Function Documentation

◆ autoCalc()

bool CalcModeRecord::autoCalc ( ) const

Returns true if formulas calculation is performed automatically.

See also
setAutoCalc

Definition at line 2059 of file excel.cpp.

◆ dump()

void CalcModeRecord::dump ( std::ostream &  out) const
virtual

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2077 of file excel.cpp.

◆ name()

virtual const char * Swinder::CalcModeRecord::name ( )
inlinevirtual

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 822 of file excel.h.

◆ rtti()

unsigned int Swinder::CalcModeRecord::rtti ( )
inlinevirtual

Reimplemented from Swinder::Record.

Definition at line 792 of file excel.h.

◆ setAutoCalc()

void CalcModeRecord::setAutoCalc ( bool  r)

If r is true, formulas calculation will be performed automatically.

See also
autoCalc

Definition at line 2064 of file excel.cpp.

◆ setData()

void CalcModeRecord::setData ( unsigned  size,
const unsigned char *  data 
)
virtual

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 2069 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int CalcModeRecord::id = 0x000d
static

Definition at line 790 of file excel.h.


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