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

Detailed Description
Beginning of file/set of records.Class BOFRecord represents BOF (Beginning of File) record, which is used to mark beginning of a set of records (following the BOF record). For each BOF record, there should also be one corresponding EOF record.
Note that the name "BOF" is rather misleading. This is because of historical reason only.
- See also:
- EOFRecord
Definition at line 473 of file excel.h.
Public Types | |
enum | { UnknownType = 0, Workbook, Worksheet, Chart, VBModule, MacroSheet, Workspace } |
Public Member Functions | |
unsigned int | rtti () |
BOFRecord () | |
virtual | ~BOFRecord () |
virtual void | setData (unsigned size, const unsigned char *data) |
unsigned | version () const |
const char * | versionAsString () const |
unsigned | type () const |
const char * | typeAsString () const |
virtual const char * | name () |
virtual void | dump (std::ostream &out) const |
Static Public Attributes | |
static const unsigned int | id |
Member Enumeration Documentation
|
Supported BOF type.
|
Constructor & Destructor Documentation
|
Creates a new BOF record.
|
|
Destroys the record.
|
Member Function Documentation
|
Dumps record information to output stream. For debugging only. Reimplemented from Swinder::Record. |
|
Returns the name of the record. For debugging only. Reimplemented from Swinder::Record. |
|
Sets the data for this record.
Reimplemented from Swinder::Record. |
|
Returns type of the BOF record, like Workbook, Chart, and so on.
|
|
Returns BOF type as string, something like "Worksheet".
|
|
Returns the version, like Excel95, Excel97, and so on. Note that it is possible to use expression like 'version() >= Excel97' but always do that carefully. |
|
Returns the version as string, something like "Excel97".
|
Member Data Documentation
|
Static ID of the BOF record.
Reimplemented from Swinder::Record. |
The documentation for this class was generated from the following file: