filters

Swinder::FormulaRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::FormulaRecord:
Swinder::Record Swinder::CellInfo

Public Member Functions

unsigned int rtti ()
 FormulaRecord ()
 ~FormulaRecord ()
Value result () const
void setResult (const Value &v)
FormulaTokens tokens () const
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
Public Member Functions inherited from Swinder::CellInfo
 CellInfo ()
virtual ~CellInfo ()
virtual unsigned row () const
virtual unsigned column () const
virtual unsigned xfIndex () const
virtual void setRow (unsigned r)
virtual void setColumn (unsigned c)
virtual void setXfIndex (unsigned i)

Static Public Attributes

static const unsigned int id = 0x0006
static const unsigned int idOld = 0x0206
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

Formula.

Class FormulaRecord holds Formula record.

Definition at line 1586 of file excel.h.

Constructor & Destructor Documentation

◆ FormulaRecord()

FormulaRecord::FormulaRecord ( )

Creates a new formula record.

Definition at line 2889 of file excel.cpp.

◆ ~FormulaRecord()

FormulaRecord::~FormulaRecord ( )

Destroy the record.

Definition at line 2895 of file excel.cpp.

Member Function Documentation

◆ dump()

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2987 of file excel.cpp.

◆ name()

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 1621 of file excel.h.

◆ result()

Value FormulaRecord::result ( ) const

Gets the result of the formula.

Definition at line 2900 of file excel.cpp.

◆ rtti()

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

Reimplemented from Swinder::Record.

Definition at line 1593 of file excel.h.

◆ setData()

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

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 2915 of file excel.cpp.

◆ setResult()

void FormulaRecord::setResult ( const Value & v)

Sets the result of the formula.

Definition at line 2905 of file excel.cpp.

◆ tokens()

FormulaTokens FormulaRecord::tokens ( ) const

Definition at line 2910 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int FormulaRecord::id = 0x0006
static

Definition at line 1590 of file excel.h.

◆ idOld

const unsigned int FormulaRecord::idOld = 0x0206
static

Definition at line 1591 of file excel.h.


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