kspread

Kross::KSpreadCore::Cell Class Reference

#include <krs_cell.h>

Public Member Functions

 Cell (KSpread::Cell *cell, KSpread::Sheet *sheet, uint col, uint row)
virtual const TQString getClassName () const

Detailed Description

For every cell in the spread sheet there is a Cell object.

Cell contains format information and algorithm and it contains the calculation algorithm.

Example (in Ruby) :

doc = krosskspreadcore::get("KSpreadDocument")
sheet = doc.currentSheet()
cellA1 = sheet.cell(0, 0)
cellA2 = sheet.cell(0, 1)
cellA2.setValue( cellA1.value() )
cellA2.setTextColor( "#ff0000" )

Definition at line 50 of file krs_cell.h.

Constructor & Destructor Documentation

◆ Cell()

Kross::KSpreadCore::Cell::Cell ( KSpread::Cell * cell,
KSpread::Sheet * sheet,
uint col,
uint row )

Definition at line 27 of file krs_cell.cpp.

◆ ~Cell()

Kross::KSpreadCore::Cell::~Cell ( )
virtual

Definition at line 59 of file krs_cell.cpp.

Member Function Documentation

◆ getClassName()

const TQString Kross::KSpreadCore::Cell::getClassName ( ) const
virtual

Definition at line 62 of file krs_cell.cpp.


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