Example (in Ruby) :
doc = krosskspreadcore::get("KSpreadDocument")
Private Member Functions | |
| Sheet * | currentSheet () |
| Sheet * | sheetByName (const QString &name) |
| QStringList | sheetNames () |
| bool | addSheet (const QString &sheetname) |
| bool | removeSheet (const QString &sheetname) |
| bool | loadNativeXML (const QString &xml) |
| QString | saveNativeXML () |
| 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] )
1.4.7