kspread

Kross::KSpreadCore::Sheet Class Reference

#include <krs_sheet.h>

Inherits Kross::Api::Class< Sheet >.

Public Member Functions

 Sheet (KSpread::Sheet *sheet, KSpread::Doc *doc=0)
 
virtual const TQString getClassName () const
 

Detailed Description

A sheet in a document.

Example (in Ruby) :

doc = krosskspreadcore::get("KSpreadDocument")
sheet1 = doc.sheetByName("Sheet1")
sheet2 = doc.sheetByName("Sheet2")
cell1 = sheet1.firstCell()
while cell1
colnr = cell1.column()
rownr = cell1.row()
cell2 = sheet2.cell(colnr, rownr)
cell2.setValue( cell1.value() )
cell1 = cell1.nextCell()
end

Definition at line 50 of file krs_sheet.h.

Constructor & Destructor Documentation

◆ Sheet()

Kross::KSpreadCore::Sheet::Sheet ( KSpread::Sheet *  sheet,
KSpread::Doc *  doc = 0 
)

Definition at line 31 of file krs_sheet.cpp.

◆ ~Sheet()

Kross::KSpreadCore::Sheet::~Sheet ( )
virtual

Definition at line 50 of file krs_sheet.cpp.

Member Function Documentation

◆ getClassName()

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

Definition at line 53 of file krs_sheet.cpp.


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