filters

#include <excel.h>

Inheritance diagram for Swinder::Record:
Swinder::BOFRecord Swinder::BackupRecord Swinder::BlankRecord Swinder::BoolErrRecord Swinder::BottomMarginRecord Swinder::BoundSheetRecord Swinder::CalcModeRecord Swinder::ColInfoRecord Swinder::DateModeRecord Swinder::DimensionRecord Swinder::EOFRecord Swinder::FontRecord Swinder::FooterRecord Swinder::FormatRecord Swinder::FormulaRecord Swinder::HeaderRecord Swinder::LabelRecord Swinder::LabelSSTRecord Swinder::LeftMarginRecord Swinder::MergedCellsRecord Swinder::MulBlankRecord Swinder::MulRKRecord Swinder::NumberRecord Swinder::PaletteRecord Swinder::RKRecord Swinder::RStringRecord Swinder::RightMarginRecord Swinder::RowRecord Swinder::SSTRecord Swinder::StringRecord Swinder::SupbookRecord Swinder::TopMarginRecord Swinder::XFRecord

Public Member Functions

virtual unsigned int rtti ()
 Record ()
virtual ~Record ()
void setVersion (unsigned v)
unsigned version ()
virtual void setData (unsigned size, const unsigned char *data)
void setPosition (unsigned pos)
unsigned position () const
virtual const char * name ()
virtual void dump (std::ostream &out) const

Static Public Member Functions

static Record * create (unsigned type)

Static Public Attributes

static const unsigned int id = 0

Protected Attributes

unsigned stream_position
unsigned ver

Detailed Description

Class Record represents a base class for all other type record, hence do not use this class in real life.

Definition at line 204 of file excel.h.

Constructor & Destructor Documentation

◆ Record()

Record::Record ( )

Creates a new generic record.

Definition at line 1464 of file excel.cpp.

◆ ~Record()

Record::~Record ( )
virtual

Destroys the record.

Definition at line 1470 of file excel.cpp.

Member Function Documentation

◆ create()

Record * Record::create ( unsigned type)
static

Record factory, create a new record of specified type.

Definition at line 1474 of file excel.cpp.

◆ dump()

◆ name()

◆ position()

unsigned Record::position ( ) const

Gets the position of this record in the OLE stream.

Definition at line 1600 of file excel.cpp.

◆ rtti()

virtual unsigned int Swinder::Record::rtti ( )
inlinevirtual

Definition at line 214 of file excel.h.

◆ setData()

◆ setPosition()

void Record::setPosition ( unsigned pos)

Sets the position of the record in the OLE stream.

Somehow this is required to process BoundSheet and BOF(Worksheet) properly.

Definition at line 1595 of file excel.cpp.

◆ setVersion()

void Swinder::Record::setVersion ( unsigned v)
inline

Definition at line 233 of file excel.h.

◆ version()

unsigned Swinder::Record::version ( )
inline

Definition at line 235 of file excel.h.

Member Data Documentation

◆ id

const unsigned int Record::id = 0
static

Static ID of the record.

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

Definition at line 212 of file excel.h.

◆ stream_position

unsigned Swinder::Record::stream_position
protected

Definition at line 266 of file excel.h.

◆ ver

unsigned Swinder::Record::ver
protected

Definition at line 269 of file excel.h.


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