filters

Swinder::Record Class Reference

#include <excel.h>

Inheritance diagram for Swinder::Record:

Swinder::BackupRecord Swinder::BlankRecord Swinder::BOFRecord Swinder::BoolErrRecord Swinder::BottomMarginRecord Swinder::BoundSheetRecord Swinder::CalcModeRecord Swinder::ColInfoRecord Swinder::DateModeRecord Swinder::DimensionRecord Swinder::EOFRecord Swinder::ExternNameRecord Swinder::FilepassRecord Swinder::FontRecord Swinder::FooterRecord Swinder::FormatRecord Swinder::FormulaRecord Swinder::HeaderRecord Swinder::LabelRecord Swinder::LabelSSTRecord Swinder::LeftMarginRecord Swinder::MergedCellsRecord Swinder::MulBlankRecord Swinder::MulRKRecord Swinder::NameRecord Swinder::NumberRecord Swinder::PaletteRecord Swinder::RightMarginRecord Swinder::RKRecord Swinder::RowRecord Swinder::RStringRecord Swinder::SSTRecord Swinder::StringRecord Swinder::TopMarginRecord Swinder::XFRecord List of all members.

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 197 of file excel.h.


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 Recordcreate (unsigned type)

Static Public Attributes

static const unsigned int id = 0

Protected Attributes

unsigned stream_position
unsigned ver

Constructor & Destructor Documentation

Record::Record  ) 
 

Creates a new generic record.

Definition at line 1360 of file excel.cpp.

Record::~Record  )  [virtual]
 

Destroys the record.

Definition at line 1366 of file excel.cpp.


Member Function Documentation

Record * Record::create unsigned  type  )  [static]
 

Record factory, create a new record of specified type.

Definition at line 1370 of file excel.cpp.

void Record::dump std::ostream &  out  )  const [virtual]
 

Dumps record information to output stream.

For debugging only.

Reimplemented in Swinder::BackupRecord, Swinder::BOFRecord, Swinder::BlankRecord, Swinder::BoolErrRecord, Swinder::BottomMarginRecord, Swinder::BoundSheetRecord, Swinder::CalcModeRecord, Swinder::ColInfoRecord, Swinder::DateModeRecord, Swinder::DimensionRecord, Swinder::ExternNameRecord, Swinder::EOFRecord, Swinder::FilepassRecord, Swinder::FontRecord, Swinder::FooterRecord, Swinder::FormatRecord, Swinder::FormulaRecord, Swinder::HeaderRecord, Swinder::LabelRecord, Swinder::LabelSSTRecord, Swinder::LeftMarginRecord, Swinder::MergedCellsRecord, Swinder::MulBlankRecord, Swinder::MulRKRecord, Swinder::NameRecord, Swinder::NumberRecord, Swinder::PaletteRecord, Swinder::RightMarginRecord, Swinder::RKRecord, Swinder::RowRecord, Swinder::RStringRecord, Swinder::SSTRecord, Swinder::StringRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.

Definition at line 1496 of file excel.cpp.

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

Returns the name of the record.

For debugging only.

Reimplemented in Swinder::BackupRecord, Swinder::BOFRecord, Swinder::BlankRecord, Swinder::BoolErrRecord, Swinder::BottomMarginRecord, Swinder::BoundSheetRecord, Swinder::CalcModeRecord, Swinder::ColInfoRecord, Swinder::DateModeRecord, Swinder::DimensionRecord, Swinder::ExternNameRecord, Swinder::EOFRecord, Swinder::FilepassRecord, Swinder::FontRecord, Swinder::FooterRecord, Swinder::FormatRecord, Swinder::FormulaRecord, Swinder::HeaderRecord, Swinder::LabelRecord, Swinder::LabelSSTRecord, Swinder::LeftMarginRecord, Swinder::MergedCellsRecord, Swinder::MulBlankRecord, Swinder::MulRKRecord, Swinder::NameRecord, Swinder::NumberRecord, Swinder::PaletteRecord, Swinder::RightMarginRecord, Swinder::RKRecord, Swinder::RowRecord, Swinder::RStringRecord, Swinder::SSTRecord, Swinder::StringRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.

Definition at line 249 of file excel.h.

unsigned Record::position  )  const
 

Gets the position of this record in the OLE stream.

Definition at line 1487 of file excel.cpp.

void Record::setData unsigned  size,
const unsigned char *  data
[virtual]
 

Sets the data for this record.

Reimplemented in Swinder::BackupRecord, Swinder::BOFRecord, Swinder::BlankRecord, Swinder::BoolErrRecord, Swinder::BottomMarginRecord, Swinder::BoundSheetRecord, Swinder::CalcModeRecord, Swinder::ColInfoRecord, Swinder::DateModeRecord, Swinder::DimensionRecord, Swinder::ExternNameRecord, Swinder::EOFRecord, Swinder::FilepassRecord, Swinder::FontRecord, Swinder::FooterRecord, Swinder::FormatRecord, Swinder::FormulaRecord, Swinder::HeaderRecord, Swinder::LabelRecord, Swinder::LabelSSTRecord, Swinder::LeftMarginRecord, Swinder::MergedCellsRecord, Swinder::MulBlankRecord, Swinder::MulRKRecord, Swinder::NameRecord, Swinder::NumberRecord, Swinder::PaletteRecord, Swinder::RightMarginRecord, Swinder::RKRecord, Swinder::RowRecord, Swinder::RStringRecord, Swinder::SSTRecord, Swinder::StringRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.

Definition at line 1492 of file excel.cpp.

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 1482 of file excel.cpp.


Member Data Documentation

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.

Reimplemented in Swinder::BackupRecord, Swinder::BOFRecord, Swinder::BlankRecord, Swinder::BoolErrRecord, Swinder::BottomMarginRecord, Swinder::BoundSheetRecord, Swinder::CalcModeRecord, Swinder::ColInfoRecord, Swinder::DateModeRecord, Swinder::DimensionRecord, Swinder::ExternNameRecord, Swinder::EOFRecord, Swinder::FilepassRecord, Swinder::FontRecord, Swinder::FooterRecord, Swinder::FormatRecord, Swinder::FormulaRecord, Swinder::HeaderRecord, Swinder::LabelRecord, Swinder::LabelSSTRecord, Swinder::LeftMarginRecord, Swinder::MergedCellsRecord, Swinder::MulBlankRecord, Swinder::MulRKRecord, Swinder::NameRecord, Swinder::NumberRecord, Swinder::PaletteRecord, Swinder::RightMarginRecord, Swinder::RKRecord, Swinder::RowRecord, Swinder::RStringRecord, Swinder::SSTRecord, Swinder::StringRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.

Definition at line 205 of file excel.h.


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