filters

Swinder::LabelSSTRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::LabelSSTRecord:
Swinder::Record Swinder::CellInfo

Public Member Functions

unsigned int rtti ()
 LabelSSTRecord ()
virtual ~LabelSSTRecord ()
unsigned sstIndex () 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 = 0x00fd
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 LabelSSTRecord represents a cell that contains a string.

The actual string is store in a global SST (Shared String Table), see SSTRecord for details. This record only provide an index, which should be used to get the string in the corresponding SST.

See also
SSTRecord

Definition at line 1749 of file excel.h.

Constructor & Destructor Documentation

◆ LabelSSTRecord()

LabelSSTRecord::LabelSSTRecord ( )

Creates a new LabelSST record.

Definition at line 3114 of file excel.cpp.

◆ ~LabelSSTRecord()

LabelSSTRecord::~LabelSSTRecord ( )
virtual

Destroys the record.

Definition at line 3121 of file excel.cpp.

Member Function Documentation

◆ dump()

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 3142 of file excel.cpp.

◆ name()

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 1777 of file excel.h.

◆ rtti()

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

Reimplemented from Swinder::Record.

Definition at line 1755 of file excel.h.

◆ setData()

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

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 3131 of file excel.cpp.

◆ sstIndex()

unsigned LabelSSTRecord::sstIndex ( ) const

Returns the SST index.

This is the index to the global SST which hold every label strings used in SST record.

Definition at line 3126 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int LabelSSTRecord::id = 0x00fd
static

Definition at line 1753 of file excel.h.


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