filters

Swinder::DimensionRecord Class Reference

#include <excel.h>

Inheritance diagram for Swinder::DimensionRecord:
Swinder::Record

Public Member Functions

unsigned int rtti ()
 DimensionRecord ()
 ~DimensionRecord ()
unsigned firstRow () const
void setFirstRow (unsigned r)
unsigned lastRow () const
void setLastRow (unsigned r)
unsigned firstColumn () const
void setFirstColumn (unsigned r)
unsigned lastColumn () const
void setLastColumn (unsigned r)
virtual const char * name ()
virtual void setData (unsigned size, const unsigned char *data)
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 = 0x0200
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

Range of used area.

Class DimensionRecord represents Dimension record, which contains the range address of the used area in the current sheet.

Definition at line 1019 of file excel.h.

Constructor & Destructor Documentation

◆ DimensionRecord()

DimensionRecord::DimensionRecord ( )

Creates a new Dimension record.

Definition at line 2251 of file excel.cpp.

◆ ~DimensionRecord()

DimensionRecord::~DimensionRecord ( )

Destroys the record.

Definition at line 2261 of file excel.cpp.

Member Function Documentation

◆ dump()

void DimensionRecord::dump ( std::ostream & out) const
virtual

Dumps record information to output stream.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 2316 of file excel.cpp.

◆ firstColumn()

unsigned DimensionRecord::firstColumn ( ) const

Returns index to the first used column.

See also
setFirstColumn, lastColumn

Definition at line 2286 of file excel.cpp.

◆ firstRow()

unsigned DimensionRecord::firstRow ( ) const

Returns index to the first used row.

See also
setFirstRow, lastRow

Definition at line 2266 of file excel.cpp.

◆ lastColumn()

unsigned DimensionRecord::lastColumn ( ) const

Returns index to the last used column.

See also
setLastColumn, firstColumn

Definition at line 2296 of file excel.cpp.

◆ lastRow()

unsigned DimensionRecord::lastRow ( ) const

Returns index to the last used row.

See also
setLastRow, firstRow

Definition at line 2276 of file excel.cpp.

◆ name()

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

Returns the name of the record.

For debugging only.

Reimplemented from Swinder::Record.

Definition at line 1095 of file excel.h.

◆ rtti()

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

Reimplemented from Swinder::Record.

Definition at line 1025 of file excel.h.

◆ setData()

void DimensionRecord::setData ( unsigned size,
const unsigned char * data )
virtual

Sets the data for this record.

Reimplemented from Swinder::Record.

Definition at line 2306 of file excel.cpp.

◆ setFirstColumn()

void DimensionRecord::setFirstColumn ( unsigned r)

Sets index to the first used column.

See also
firstColumn, setLastColumn

Definition at line 2291 of file excel.cpp.

◆ setFirstRow()

void DimensionRecord::setFirstRow ( unsigned r)

Sets index to the first used row.

See also
firstRow, setLastRow

Definition at line 2271 of file excel.cpp.

◆ setLastColumn()

void DimensionRecord::setLastColumn ( unsigned r)

Sets index to the last used column.

See also
lastColumn, setFirstColumn

Definition at line 2301 of file excel.cpp.

◆ setLastRow()

void DimensionRecord::setLastRow ( unsigned r)

Sets index to the last used row.

See also
lastRow, setFirstRow

Definition at line 2281 of file excel.cpp.

Member Data Documentation

◆ id

const unsigned int DimensionRecord::id = 0x0200
static

Definition at line 1023 of file excel.h.


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