KSpreadMap Class Reference
A map is a simple container for all sheets. More...
#include <kspread_map.h>
Inheritance diagram for KSpreadMap:


Signals | |
void | sig_addSheet (KSpreadSheet *_table) |
Public Member Functions | |
KSpreadMap (KSpreadDoc *doc, const char *name=0) | |
virtual | ~KSpreadMap () |
KSpreadDoc * | doc () |
QDomElement | save (QDomDocument &doc) |
void | saveOasisSettings (KoXmlWriter &settingsWriter) |
void | loadOasisSettings (KoOasisSettings &settings) |
bool | saveOasis (KoXmlWriter &xmlWriter, KoGenStyles &mainStyles) |
bool | loadOasis (const QDomElement &mymap, KoOasisStyles &oasisStyles) |
bool | loadXML (const QDomElement &mymap) |
bool | loadChildren (KoStore *_store) |
bool | saveChildren (KoStore *_store) |
void | password (QCString &passwd) const |
bool | isProtected () const |
void | setProtected (QCString const &passwd) |
bool | checkPassword (QCString const &passwd) const |
void | moveSheet (const QString &_from, const QString &_to, bool _before=true) |
KSpreadSheet * | findSheet (const QString &_name) |
KSpreadSheet * | nextSheet (KSpreadSheet *) |
KSpreadSheet * | previousSheet (KSpreadSheet *) |
KSpreadSheet * | initialActiveSheet () const |
int | initialMarkerColumn () const |
int | initialMarkerRow () const |
KSpreadSheet * | createSheet () |
void | addSheet (KSpreadSheet *_sheet) |
KSpreadSheet * | addNewSheet () |
KSpreadSheet * | firstSheet () |
KSpreadSheet * | lastSheet () |
KSpreadSheet * | nextSheet () |
QPtrList< KSpreadSheet > & | sheetList () |
int | count () const |
void | update () |
virtual DCOPObject * | dcopObject () |
void | takeSheet (KSpreadSheet *sheet) |
void | insertSheet (KSpreadSheet *sheet) |
QStringList | visibleSheets () const |
QStringList | hiddenSheets () const |
Static Public Attributes | |
static bool | respectCase = true |
Detailed Description
A map is a simple container for all sheets.Usually a complete map is saved in one file.
Definition at line 50 of file kspread_map.h.
Constructor & Destructor Documentation
|
Created an empty map.
Definition at line 41 of file kspread_map.cc. |
|
This deletes all sheets contained in this map.
Definition at line 53 of file kspread_map.cc. |
Member Function Documentation
|
The sheet named.
Definition at line 93 of file kspread_map.cc. |
|
Definition at line 68 of file kspread_map.cc. Referenced by addNewSheet(). |
|
add sheet to the map, making it active
Definition at line 77 of file kspread_map.cc. References sig_addSheet(). Referenced by addNewSheet(). |
|
add a new sheet to the map, returning a pointer to it
Definition at line 86 of file kspread_map.cc. References addSheet(), and createSheet(). |
|
Use the nextSheet function to get all the other sheets. Attention: Function is not reentrant.
Definition at line 114 of file kspread_map.h. |
|
Use the previousSheet function to get all the other sheets. Attention: Function is not reentrant.
Definition at line 122 of file kspread_map.h. |
|
Call firstSheet first. This will set the list pointer to the first sheet. Attention: Function is not reentrant.
Definition at line 130 of file kspread_map.h. |
|
Definition at line 137 of file kspread_map.h. |
|
Needed for the printing Extension KOffice::Print.
Definition at line 440 of file kspread_map.cc. |
|
Emitted if a new table is added to the document.
Referenced by addSheet(). |
The documentation for this class was generated from the following files: