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

Detailed Description
Columns width and format.Class ColInfoRecord represents ColInfo record, which provides information (such as column width and formatting) for a span of columns.
Definition at line 841 of file excel.h.
Public Member Functions | |
unsigned int | rtti () |
ColInfoRecord () | |
virtual | ~ColInfoRecord () |
unsigned | xfIndex () const |
void | setXfIndex (unsigned i) |
unsigned | width () const |
void | setWidth (unsigned w) |
bool | hidden () const |
void | setHidden (bool h) |
bool | collapsed () const |
void | setCollapsed (bool c) |
unsigned | outlineLevel () const |
void | setOutlineLevel (unsigned l) |
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 |
Constructor & Destructor Documentation
Swinder::ColInfoRecord::ColInfoRecord | ( | ) |
Creates a new ColInfo record.
virtual Swinder::ColInfoRecord::~ColInfoRecord | ( | ) | [virtual] |
Destroys the record.
Member Function Documentation
bool Swinder::ColInfoRecord::collapsed | ( | ) | const |
virtual void Swinder::ColInfoRecord::dump | ( | std::ostream & | out | ) | const [virtual] |
bool Swinder::ColInfoRecord::hidden | ( | ) | const |
virtual const char* Swinder::ColInfoRecord::name | ( | ) | [inline, virtual] |
unsigned Swinder::ColInfoRecord::outlineLevel | ( | ) | const |
Returns the outline level of the columns.
If it is 0, then the columns are not outlined.
- See also:
- setOutlineLevel
void Swinder::ColInfoRecord::setCollapsed | ( | bool | c | ) |
virtual void Swinder::ColInfoRecord::setData | ( | unsigned | size, | |
const unsigned char * | data | |||
) | [virtual] |
void Swinder::ColInfoRecord::setHidden | ( | bool | h | ) |
void Swinder::ColInfoRecord::setOutlineLevel | ( | unsigned | l | ) |
Sets the outline level of the columns.
If it is 0, then the columns are not outlined.
- See also:
- outlineLevel
void Swinder::ColInfoRecord::setWidth | ( | unsigned | w | ) |
Sets the width of the column(s), specified in 1/256 of a character width.
The exact width (in pt or inch) could only be calculated given the base character width for the column format.
- See also:
- width
void Swinder::ColInfoRecord::setXfIndex | ( | unsigned | i | ) |
unsigned Swinder::ColInfoRecord::width | ( | ) | const |
Returns the width of the column(s), specified in 1/256 of a character width.
The exact width (in pt or inch) could only be calculated given the base character width for the column format.
- See also:
- setWidth
unsigned Swinder::ColInfoRecord::xfIndex | ( | ) | const |
Member Data Documentation
const unsigned int Swinder::ColInfoRecord::id [static] |
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: