kspread
- kspread
- plugins
- scripting
- kspreadcore
20#ifndef KROSS_KSPREADCOREKRSCELL_H
21#define KROSS_KSPREADCOREKRSCELL_H
23#include <kspread_sheet.h>
24#include <kspread_cell.h>
25#include <kspread_value.h>
32namespace Kross { namespace KSpreadCore {
50class Cell : public Kross::Api::Class<Cell>
53 Cell( KSpread::Cell* cell, KSpread::Sheet* sheet, uint col, uint row);
55 virtual const TQString getClassName() const;
61 TQVariant value() const;
65 bool setValue( const TQVariant& value);
79 Cell* previousCell() const;
83 Cell* nextCell() const;
87 void setPreviousCell(Cell* c);
91 void setNextCell(Cell* c);
97 const TQString name() const;
102 const TQString fullName() const;
107 const TQString comment() const;
111 void setComment( const TQString& c);
114 bool isFormula() const;
115 Formula *formula () const;
121 const TQString getFormatString() const;
125 void setFormatString( const TQString& format);
132 const TQString text() const;
137 bool setText( const TQString& text);
142 const TQString textColor();
147 void setTextColor( const TQString& textcolor);
152 const TQString backgroundColor();
157 void setBackgroundColor( const TQString& backgroundcolor);
161 KSpread::Sheet* m_sheet;
For every cell in the spread sheet there is a Cell object.
Provides a wrapper for cell value.
|