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 834 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
 

Returns true if the columns should be collapsed.

See also:
setCollapsed

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

bool Swinder::ColInfoRecord::hidden  )  const
 

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

See also:
setHidden

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 932 of file excel.h.

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  ) 
 

Sets whether columns should be collapsed or not.

See also:
collapsed

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

Sets the data for this record.

Reimplemented from Swinder::Record.

void Swinder::ColInfoRecord::setHidden bool  h  ) 
 

Sets whether columns should be hidden or visible.

See also:
hidden

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  ) 
 

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

See also:
xfIndex

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
 

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

See also:
setXfIndex

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.

Definition at line 838 of file excel.h.


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