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

Detailed Description
Sheet information.Class BoundSheetRecord represents BoundSheet record, which defines a sheet within the workbook. There must be exactly one BoundSheet record for each sheet.
BoundSheet record stores information about sheet type, sheet name, and the corresponding BOF record.
- See also:
- BOFRecord
Definition at line 684 of file excel.h.
Public Types | |
enum | { Worksheet = 0, Chart = 2, VBModule = 6 } |
Public Member Functions | |
unsigned int | rtti () |
BoundSheetRecord () | |
virtual | ~BoundSheetRecord () |
void | setType (unsigned type) |
unsigned | type () const |
const char * | typeAsString () const |
void | setVisible (bool visible) |
bool | visible () const |
void | setSheetName (const UString &name) |
UString | sheetName () const |
void | setBofPosition (unsigned pos) |
unsigned | bofPosition () const |
virtual void | setData (unsigned size, const unsigned char *data) |
virtual const char * | name () |
virtual void | dump (std::ostream &out) const |
Static Public Attributes | |
static const unsigned int | id |
Member Enumeration Documentation
|
Type of the sheet.
|
Constructor & Destructor Documentation
|
Creates a new BoundSheet record.
|
|
Destroys the BoundSheet record.
|
Member Function Documentation
|
Returns the position of the BOF record associated with this BoundSheet.
|
|
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 position of the BOF record associated with this BoundSheet.
|
|
Sets the data for this record.
Reimplemented from Swinder::Record. |
|
Sets the name of the sheet.
|
|
Sets the type of the BoundSheet. Possible values are BoundSheet::Worksheet, BoundSheet::Chart and BoundSheet::VBModule. |
|
Sets the visibility of the sheet.
|
|
Returns the name of the sheet.
|
|
Returns the type of the BoundSheet. Possible values are BoundSheet::Worksheet, BoundSheet::Chart and BoundSheet::VBModule. |
|
Returns the type of the BoundSheet as string. For example, if type of BoundSheet is BoundSheet::Chart, then this function returns "Chart". |
|
Returns true if the sheet is visible.
|
Member Data Documentation
|
Static ID of the record. Subclasses should override this value with the id of the record they handle. Reimplemented from Swinder::Record. |
The documentation for this class was generated from the following file: