filters

Swinder::LabelRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::LabelRecord:
Swinder::Record Swinder::CellInfo

Public Member Functions

unsigned int rtti ()
 
 LabelRecord ()
 
virtual ~LabelRecord ()
 
UString label () const
 
void setLabel (const UString &l)
 
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 = 0x0204
 
- 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 LabelRecord represents a cell that contains a string.

In Excel 97 and later version, it is replaced by LabelSSTRecord. However, Excel 97 can still load LabelRecord.

See also
LabelSSTRecord

Definition at line 1695 of file excel.h.

Constructor & Destructor Documentation

◆ LabelRecord()

LabelRecord::LabelRecord ( )

Creates a new Label record.

Definition at line 3012 of file excel.cpp.

◆ ~LabelRecord()

LabelRecord::~LabelRecord ( )
virtual

Destroys the record.

Definition at line 3019 of file excel.cpp.

Member Function Documentation

◆ dump()

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 3048 of file excel.cpp.

◆ label()

UString LabelRecord::label ( ) const

Returns the label string.

Definition at line 3024 of file excel.cpp.

◆ name()

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 1727 of file excel.h.

◆ rtti()

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

Reimplemented from Swinder::Record.

Definition at line 1701 of file excel.h.

◆ setData()

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

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 3034 of file excel.cpp.

◆ setLabel()

void LabelRecord::setLabel ( const UString &  l)

Sets the label string.

Definition at line 3029 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int LabelRecord::id = 0x0204
static

Definition at line 1699 of file excel.h.


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