filters

Swinder::MergedCellsRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::MergedCellsRecord:
Swinder::Record

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
 
- Public Member Functions inherited from Swinder::Record
 Record ()
 
virtual ~Record ()
 
void setVersion (unsigned v)
 
unsigned version ()
 
void setPosition (unsigned pos)
 
unsigned position () const
 

Static Public Attributes

static const unsigned int id = 0x00e5
 
- Static Public Attributes inherited from Swinder::Record
static const unsigned int id = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from Swinder::Record
static Record * create (unsigned type)
 
- Protected Attributes inherited from Swinder::Record
unsigned stream_position
 
unsigned ver
 

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.

Constructor & Destructor Documentation

◆ MergedCellsRecord()

MergedCellsRecord::MergedCellsRecord ( )

Creates a new MergedCells record.

Definition at line 3211 of file excel.cpp.

◆ ~MergedCellsRecord()

MergedCellsRecord::~MergedCellsRecord ( )
virtual

Destroys the record.

Definition at line 3217 of file excel.cpp.

Member Function Documentation

◆ count()

unsigned MergedCellsRecord::count ( ) const

Returns the total number of merged cells in the list.

Definition at line 3222 of file excel.cpp.

◆ dump()

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.

◆ firstColumn()

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.

◆ firstRow()

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.

◆ lastColumn()

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.

◆ lastRow()

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.

◆ name()

virtual const char * Swinder::MergedCellsRecord::name ( )
inlinevirtual

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 1894 of file excel.h.

◆ rtti()

unsigned int Swinder::MergedCellsRecord::rtti ( )
inlinevirtual

Reimplemented from Swinder::Record.

Definition at line 1853 of file excel.h.

◆ setData()

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.

Member Data Documentation

◆ id

const unsigned int MergedCellsRecord::id = 0x00e5
static

Definition at line 1851 of file excel.h.


The documentation for this class was generated from the following files: