filters
Swinder::BoundSheetRecord Class Reference
#include <excel.h>
Inheritance diagram for Swinder::BoundSheetRecord:
List of all members.
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 691 of file excel.h.
Member Enumeration Documentation
Type of the sheet.
Definition at line 714 of file excel.h.
Constructor & Destructor Documentation
BoundSheetRecord::BoundSheetRecord |
( |
|
) |
|
Creates a new BoundSheet record.
Definition at line 1924 of file excel.cpp.
BoundSheetRecord::~BoundSheetRecord |
( |
|
) |
[virtual] |
Destroys the BoundSheet record.
Definition at line 2000 of file excel.cpp.
Member Function Documentation
void BoundSheetRecord::setType |
( |
unsigned |
type |
) |
|
Sets the type of the BoundSheet.
Possible values are BoundSheet::Worksheet, BoundSheet::Chart and BoundSheet::VBModule.
Definition at line 1933 of file excel.cpp.
unsigned BoundSheetRecord::type |
( |
|
) |
const |
Returns the type of the BoundSheet.
Possible values are BoundSheet::Worksheet, BoundSheet::Chart and BoundSheet::VBModule.
Definition at line 1944 of file excel.cpp.
const char * BoundSheetRecord::typeAsString |
( |
|
) |
const |
Returns the type of the BoundSheet as string.
For example, if type of BoundSheet is BoundSheet::Chart, then this function returns "Chart".
Definition at line 1957 of file excel.cpp.
void BoundSheetRecord::setVisible |
( |
bool |
visible |
) |
|
Sets the visibility of the sheet.
Definition at line 1970 of file excel.cpp.
bool BoundSheetRecord::visible |
( |
|
) |
const |
Returns true if the sheet is visible.
Definition at line 1975 of file excel.cpp.
void BoundSheetRecord::setSheetName |
( |
const UString & |
name |
) |
|
Sets the name of the sheet.
Definition at line 1980 of file excel.cpp.
UString BoundSheetRecord::sheetName |
( |
|
) |
const |
Returns the name of the sheet.
Definition at line 1985 of file excel.cpp.
void BoundSheetRecord::setBofPosition |
( |
unsigned |
pos |
) |
|
Sets the position of the BOF record associated with this BoundSheet.
Definition at line 1990 of file excel.cpp.
unsigned BoundSheetRecord::bofPosition |
( |
|
) |
const |
Returns the position of the BOF record associated with this BoundSheet.
Definition at line 1995 of file excel.cpp.
void BoundSheetRecord::setData |
( |
unsigned |
size, |
|
|
const unsigned char * |
data | |
|
) |
| | [virtual] |
virtual const char* Swinder::BoundSheetRecord::name |
( |
|
) |
[inline, virtual] |
Returns the name of the record.
For debugging only.
Reimplemented from Swinder::Record.
Definition at line 767 of file excel.h.
void BoundSheetRecord::dump |
( |
std::ostream & |
out |
) |
const [virtual] |
Dumps record information to output stream.
For debugging only.
Reimplemented from Swinder::Record.
Definition at line 2025 of file excel.cpp.
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.
Definition at line 695 of file excel.h.
The documentation for this class was generated from the following files: