Doc Class Reference

Inherits Class.

List of all members.


Detailed Description

The KSpread document.

Example (in Ruby) :

 doc = krosskspreadcore::get("KSpreadDocument")


Private Member Functions

SheetcurrentSheet ()
SheetsheetByName (const QString &name)
QStringList sheetNames ()
bool addSheet (const QString &sheetname)
bool removeSheet (const QString &sheetname)
bool loadNativeXML (const QString &xml)
QString saveNativeXML ()


Member Function Documentation

bool addSheet ( const QString &  sheetname  )  [private]

Add a new sheet named sheetname to the document.

Sheet * currentSheet (  )  [private]

This function returns the Sheet currently active in this document.

Example (in Ruby) :

 doc = krosskspreadcore::get("KSpreadDocument")
 sheet = doc.currentSheet()

bool loadNativeXML ( const QString &  xml  )  [private]

Loads the native XML document.

bool removeSheet ( const QString &  sheetname  )  [private]

Remove the sheet named sheetname from the document.

QString saveNativeXML (  )  [private]

Save and return the to a native document saved XML.

Sheet * sheetByName ( const QString &  name  )  [private]

This function returns a Sheet by name.

Example (in Ruby) :

 doc = krosskspreadcore::get("KSpreadDocument")
 sheet = doc.sheetByName("foosheet")

QStringList sheetNames (  )  [private]

This function returns an array with the sheet names

Example (in Ruby) :

 doc = krosskspreadcore::get("KSpreadDocument")
 sheetnames = doc.sheetNames()
 sheet = doc.sheetByName( sheetnames[0] )


Generated on Mon Oct 23 11:37:25 2006 for KSpread by  doxygen 1.4.7