filters

#include <excel.h>

Inheritance diagram for Swinder::SSTRecord:
Swinder::Record

Public Member Functions

unsigned int rtti ()
 
 SSTRecord ()
 
virtual ~SSTRecord ()
 
virtual void setData (unsigned size, const unsigned char *data)
 
unsigned count () const
 
UString stringAt (unsigned index) 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
 

Static Public Attributes

static const unsigned int id = 0x00fc
 
- 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 SSTRecord represents SST record, which holds the shared string table of the workbook.

See also
LabelSSTRecord

Definition at line 2475 of file excel.h.

Constructor & Destructor Documentation

◆ SSTRecord()

SSTRecord::SSTRecord ( )

Creates a new SST record.

Definition at line 3924 of file excel.cpp.

◆ ~SSTRecord()

SSTRecord::~SSTRecord ( )
virtual

Destroys the record.

Definition at line 3932 of file excel.cpp.

Member Function Documentation

◆ count()

unsigned SSTRecord::count ( ) const

Returns the number of available string in this string table.

Definition at line 3983 of file excel.cpp.

◆ dump()

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 3995 of file excel.cpp.

◆ name()

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2509 of file excel.h.

◆ rtti()

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

Reimplemented from Swinder::Record.

Definition at line 2481 of file excel.h.

◆ setData()

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

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 3947 of file excel.cpp.

◆ stringAt()

UString SSTRecord::stringAt ( unsigned  index) const

Returns the string at specified index.

Note that index must be less than count(). If index is not valid, this will return UString::null.

Definition at line 3989 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int SSTRecord::id = 0x00fc
static

Definition at line 2479 of file excel.h.


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