kspread
KSpread::Map Class Reference
#include <kspread_map.h>
Detailed Description
A map is a simple container for all sheets.Usually a complete map is saved in one file.
Definition at line 58 of file kspread_map.h.
Signals | |
void | sig_addSheet (Sheet *_table) |
Public Member Functions | |
Map (Doc *doc, const char *name=0) | |
virtual | ~Map () |
Doc * | doc () const |
QDomElement | save (QDomDocument &doc) |
void | saveOasisSettings (KoXmlWriter &settingsWriter) |
void | loadOasisSettings (KoOasisSettings &settings) |
bool | saveOasis (KoXmlWriter &xmlWriter, KoGenStyles &mainStyles, KoStore *store, KoXmlWriter *manifestWriter, int &_indexObj, int &_partIndexObj) |
bool | loadOasis (const QDomElement &mymap, KoOasisLoadingContext &oasisContext, QDict< Style > &styleMap) |
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) |
Sheet * | findSheet (const QString &_name) |
Sheet * | nextSheet (Sheet *) |
Sheet * | previousSheet (Sheet *) |
Sheet * | initialActiveSheet () const |
int | initialMarkerColumn () const |
int | initialMarkerRow () const |
double | initialXOffset () const |
double | initialYOffset () const |
Sheet * | createSheet () |
void | addSheet (Sheet *_sheet) |
Sheet * | addNewSheet () |
Sheet * | firstSheet () |
Sheet * | lastSheet () |
Sheet * | nextSheet () |
QPtrList< Sheet > & | sheetList () |
int | count () const |
void | update () |
virtual DCOPObject * | dcopObject () |
void | takeSheet (Sheet *sheet) |
void | insertSheet (Sheet *sheet) |
QStringList | visibleSheets () const |
QStringList | hiddenSheets () const |
Static Public Attributes | |
static bool | respectCase = true |
Constructor & Destructor Documentation
|
Created an empty map.
Definition at line 48 of file kspread_map.cc. |
|
This deletes all sheets contained in this map.
Definition at line 62 of file kspread_map.cc. |
Member Function Documentation
|
add a new sheet to the map, returning a pointer to it
Definition at line 95 of file kspread_map.cc. |
|
add sheet to the map, making it active
Definition at line 86 of file kspread_map.cc. |
|
Definition at line 153 of file kspread_map.h. |
|
Definition at line 77 of file kspread_map.cc. |
|
Needed for the printing Extension KOffice::Print.
Definition at line 456 of file kspread_map.cc. |
|
searches for a sheet named
Definition at line 389 of file kspread_map.cc. |
|
Use the nextSheet function to get all the other sheets. Attention: Function is not reentrant.
Definition at line 130 of file kspread_map.h. |
|
Use the previousSheet() function to get all the other sheets. Attention: Function is not reentrant.
Definition at line 138 of file kspread_map.h. |
|
The sheet named
If Definition at line 102 of file kspread_map.cc. |
|
Call firstSheet first. This will set the list pointer to the first sheet. Attention: Function is not reentrant.
Definition at line 146 of file kspread_map.h. |
|
Emitted if a new table is added to the document.
|
The documentation for this class was generated from the following files: