filters

Swinder::ColInfoRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::ColInfoRecord:

Swinder::Record Swinder::ColumnSpanInfo List of all members.

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

ColInfoRecord::ColInfoRecord (  ) 

Creates a new ColInfo record.

Definition at line 2095 of file excel.cpp.

ColInfoRecord::~ColInfoRecord (  )  [virtual]

Destroys the record.

Definition at line 2106 of file excel.cpp.


Member Function Documentation

unsigned ColInfoRecord::xfIndex (  )  const

Returns the XF index for the formatting of the column(s).

See also:
setXfIndex

Definition at line 2122 of file excel.cpp.

void ColInfoRecord::setXfIndex ( unsigned  i  ) 

Sets the XF index for the formatting of the column(s).

See also:
xfIndex

Definition at line 2127 of file excel.cpp.

unsigned 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

Definition at line 2112 of file excel.cpp.

void 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

Definition at line 2117 of file excel.cpp.

bool ColInfoRecord::hidden (  )  const

Returns true if the columns should be hidden, i.e not visible.

See also:
setHidden

Definition at line 2132 of file excel.cpp.

void ColInfoRecord::setHidden ( bool  h  ) 

Sets whether columns should be hidden or visible.

See also:
hidden

Definition at line 2137 of file excel.cpp.

bool ColInfoRecord::collapsed (  )  const

Returns true if the columns should be collapsed.

See also:
setCollapsed

Definition at line 2142 of file excel.cpp.

void ColInfoRecord::setCollapsed ( bool  c  ) 

Sets whether columns should be collapsed or not.

See also:
collapsed

Definition at line 2147 of file excel.cpp.

unsigned ColInfoRecord::outlineLevel (  )  const

Returns the outline level of the columns.

If it is 0, then the columns are not outlined.

See also:
setOutlineLevel

Definition at line 2152 of file excel.cpp.

void ColInfoRecord::setOutlineLevel ( unsigned  l  ) 

Sets the outline level of the columns.

If it is 0, then the columns are not outlined.

See also:
outlineLevel

Definition at line 2157 of file excel.cpp.

void ColInfoRecord::setData ( unsigned  size,
const unsigned char *  data 
) [virtual]

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 2162 of file excel.cpp.

virtual const char* Swinder::ColInfoRecord::name (  )  [inline, virtual]

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 939 of file excel.h.

void ColInfoRecord::dump ( std::ostream &  out  )  const [virtual]

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2177 of file excel.cpp.


Member Data Documentation

const unsigned int 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.

Definition at line 845 of file excel.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys