filters
Swinder::Record Class Reference
#include <excel.h>
Inheritance diagram for Swinder::Record:

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.
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 |
Constructor & Destructor Documentation
Member Function Documentation
Record * Record::create | ( | unsigned | type | ) | [static] |
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::ExternSheetRecord, 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::SupbookRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.
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::ExternSheetRecord, 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::SupbookRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.
unsigned Record::position | ( | ) | const |
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::ExternSheetRecord, 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::SupbookRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.
void Record::setPosition | ( | unsigned | pos | ) |
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::ExternSheetRecord, 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::SupbookRecord, Swinder::TopMarginRecord, and Swinder::XFRecord.
The documentation for this class was generated from the following files: