filters

Swinder::SSTRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::SSTRecord:

Swinder::Record List of all members.

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.


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

Static Public Attributes

static const unsigned int id

Constructor & Destructor Documentation

SSTRecord::SSTRecord (  ) 

Creates a new SST record.

Definition at line 3924 of file excel.cpp.

SSTRecord::~SSTRecord (  )  [virtual]

Destroys the record.

Definition at line 3932 of file excel.cpp.


Member Function Documentation

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.

unsigned SSTRecord::count (  )  const

Returns the number of available string in this string table.

Definition at line 3983 of file excel.cpp.

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.

virtual const char* Swinder::SSTRecord::name (  )  [inline, virtual]

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2509 of file excel.h.

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.


Member Data Documentation

const unsigned int SSTRecord::id [static]

Static ID of the record.

Subclasses should override this value with the id of the record they handle.

Reimplemented from Swinder::Record.

Definition at line 2479 of file excel.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys