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 = 0x007d

Constructor & Destructor Documentation

ColInfoRecord::ColInfoRecord (  ) 

Creates a new ColInfo record.

Definition at line 2097 of file excel.cpp.

ColInfoRecord::~ColInfoRecord (  )  [virtual]

Destroys the record.

Definition at line 2108 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 2124 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 2129 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 2114 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 2119 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 2134 of file excel.cpp.

void ColInfoRecord::setHidden ( bool  h  ) 

Sets whether columns should be hidden or visible.

See also:
hidden

Definition at line 2139 of file excel.cpp.

bool ColInfoRecord::collapsed (  )  const

Returns true if the columns should be collapsed.

See also:
setCollapsed

Definition at line 2144 of file excel.cpp.

void ColInfoRecord::setCollapsed ( bool  c  ) 

Sets whether columns should be collapsed or not.

See also:
collapsed

Definition at line 2149 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 2154 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 2159 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 2164 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 2179 of file excel.cpp.


Member Data Documentation

const unsigned int ColInfoRecord::id = 0x007d [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