filters

Swinder::MulRKRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::MulRKRecord:
Swinder::Record Swinder::CellInfo Swinder::ColumnSpanInfo

Public Member Functions

unsigned int rtti ()
 MulRKRecord ()
virtual ~MulRKRecord ()
virtual void setData (unsigned size, const unsigned char *data)
unsigned xfIndex (unsigned i) const
bool isInteger (unsigned i) const
int asInteger (unsigned i) const
double asFloat (unsigned i) const
unsigned encodedRK (unsigned i) const
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 void setRow (unsigned r)
virtual void setColumn (unsigned c)
virtual void setXfIndex (unsigned i)
Public Member Functions inherited from Swinder::ColumnSpanInfo
 ColumnSpanInfo ()
virtual ~ColumnSpanInfo ()
virtual unsigned firstColumn () const
virtual unsigned lastColumn () const
virtual void setFirstColumn (unsigned c)
virtual void setLastColumn (unsigned c)

Static Public Attributes

static const unsigned int id = 0x00bd
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

Class MulRKRecord represents a cell range containing RK value cells.

These cells are located in the same row.

See also
RKRecord

Definition at line 1966 of file excel.h.

Constructor & Destructor Documentation

◆ MulRKRecord()

MulRKRecord::MulRKRecord ( )

Creates a new MulRK record.

Definition at line 3355 of file excel.cpp.

◆ ~MulRKRecord()

MulRKRecord::~MulRKRecord ( )
virtual

Destroys the record.

Definition at line 3361 of file excel.cpp.

Member Function Documentation

◆ asFloat()

double MulRKRecord::asFloat ( unsigned i) const

Returns the floating-point value specified by the record.

It is only valid when isInteger returns false.

See also
asInteger

Definition at line 3384 of file excel.cpp.

◆ asInteger()

int MulRKRecord::asInteger ( unsigned i) const

Returns the integer value specified by the record.

It is only valid when isInteger returns true.

See also
isInteger, asFloat

Definition at line 3378 of file excel.cpp.

◆ dump()

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 3425 of file excel.cpp.

◆ encodedRK()

unsigned MulRKRecord::encodedRK ( unsigned i) const

Definition at line 3390 of file excel.cpp.

◆ isInteger()

bool MulRKRecord::isInteger ( unsigned i) const

Returns true if the record holds an integer value.

See also
asInteger

Definition at line 3372 of file excel.cpp.

◆ name()

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2018 of file excel.h.

◆ rtti()

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

Reimplemented from Swinder::Record.

Definition at line 1972 of file excel.h.

◆ setData()

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

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 3396 of file excel.cpp.

◆ xfIndex()

unsigned MulRKRecord::xfIndex ( unsigned i) const

Returns XF index of ith column.

Definition at line 3366 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int MulRKRecord::id = 0x00bd
static

Definition at line 1970 of file excel.h.


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