filters

Swinder::MergedCellsRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::MergedCellsRecord:

Swinder::Record

List of all members.


Detailed Description

Class MergedCellsRecord represents MergedCells record, which contains a list of all merged cells in the current sheets.

Each entry in this list define the range of cells that should be merged, namely firstRow, lastRow, firstColumn and lastColumn.

Definition at line 1847 of file excel.h.


Public Member Functions

unsigned int rtti ()
 MergedCellsRecord ()
virtual ~MergedCellsRecord ()
unsigned count () const
unsigned firstRow (unsigned i) const
unsigned lastRow (unsigned i) const
unsigned firstColumn (unsigned i) const
unsigned lastColumn (unsigned i) const
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 = 0x00e5

Constructor & Destructor Documentation

MergedCellsRecord::MergedCellsRecord (  ) 

Creates a new MergedCells record.

Definition at line 3211 of file excel.cpp.

MergedCellsRecord::~MergedCellsRecord (  )  [virtual]

Destroys the record.

Definition at line 3217 of file excel.cpp.


Member Function Documentation

unsigned MergedCellsRecord::count (  )  const

Returns the total number of merged cells in the list.

Definition at line 3222 of file excel.cpp.

unsigned MergedCellsRecord::firstRow ( unsigned  i  )  const

Returns the index to first row in the i-th position in the list.

Definition at line 3227 of file excel.cpp.

unsigned MergedCellsRecord::lastRow ( unsigned  i  )  const

Returns the index to last row in the i-th position in the list.

Definition at line 3234 of file excel.cpp.

unsigned MergedCellsRecord::firstColumn ( unsigned  i  )  const

Returns the index to first column in the i-th position in the list.

Definition at line 3241 of file excel.cpp.

unsigned MergedCellsRecord::lastColumn ( unsigned  i  )  const

Returns the index to last column in the i-th position in the list.

Definition at line 3248 of file excel.cpp.

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

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 3255 of file excel.cpp.

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 1894 of file excel.h.

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

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 3277 of file excel.cpp.


Member Data Documentation

const unsigned int MergedCellsRecord::id = 0x00e5 [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 1851 of file excel.h.


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