KSpread::Map Class Reference
The "embedded document".
More...
#include <Map.h>
List of all members.
Detailed Description
The "embedded document".
The Map holds all the document data.
Definition at line 69 of file Map.h.
Constructor & Destructor Documentation
| Map::Map |
( |
Doc * |
doc, |
|
|
const char * |
name = 0 | |
|
) |
| | [explicit] |
Created an empty map.
Definition at line 122 of file Map.cpp.
This deletes all sheets contained in this map.
Definition at line 172 of file Map.cpp.
Member Function Documentation
| Sheet * Map::addNewSheet |
( |
|
) |
|
Creates a new sheet.
Adds a new sheet to this map.
- Returns:
- a pointer to the new sheet
Definition at line 322 of file Map.cpp.
| void Map::addSheet |
( |
Sheet * |
sheet |
) |
|
Adds sheet to this map.
The sheet becomes the active sheet.
Definition at line 316 of file Map.cpp.
- Returns:
- a pointer to the binding manager
Definition at line 224 of file Map.cpp.
- Returns:
- the value calculator of this Document
Definition at line 269 of file Map.cpp.
- Returns:
- the calculation settings
Definition at line 299 of file Map.cpp.
| bool Map::checkPassword |
( |
QByteArray const & |
passwd |
) |
const |
| bool Map::completeLoading |
( |
KoStore * |
store |
) |
[virtual] |
| bool Map::completeSaving |
( |
KoStore * |
store, |
|
|
KoXmlWriter * |
manifestWriter, |
|
|
KoShapeSavingContext * |
context | |
|
) |
| | [virtual] |
- Returns:
- the value converter of this Document
Definition at line 264 of file Map.cpp.
- Returns:
- amount of sheets in this map
Definition at line 821 of file Map.cpp.
| Sheet * Map::createSheet |
( |
|
) |
|
Creates a new sheet.
The sheet is not added to the map nor added to the GUI.
- Returns:
- a pointer to a new Sheet
Definition at line 309 of file Map.cpp.
- Returns:
- a pointer to the database manager
Definition at line 229 of file Map.cpp.
- Returns:
- the default row format
Definition at line 274 of file Map.cpp.
| const RowFormat * Map::defaultRowFormat |
( |
|
) |
const |
- Returns:
- the default row format
Definition at line 279 of file Map.cpp.
- Returns:
- a pointer to the dependency manager
Definition at line 234 of file Map.cpp.
- Returns:
- the document this map belongs to
Definition at line 193 of file Map.cpp.
Searches for a sheet named name .
- Returns:
- a pointer to the searched sheet
-
0 if nothing was found
Definition at line 698 of file Map.cpp.
- Returns:
- the value formatter of this Document
Definition at line 259 of file Map.cpp.
| void Map::increaseLoadedRowsCounter |
( |
int |
i = 1 |
) |
|
| bool Map::isProtected |
( |
|
) |
const |
| bool Map::isReadWrite |
( |
|
) |
const |
- Returns:
- Returns whether the document can be edited or is read only.
Definition at line 203 of file Map.cpp.
| bool Map::loadChildren |
( |
KoStore * |
_store |
) |
|
| void Map::moveSheet |
( |
const QString & |
_from, |
|
|
const QString & |
_to, |
|
|
bool |
_before = true | |
|
) |
| | |
The sheet named _from is being moved to the sheet _to.
If _before is true _from is inserted before (after otherwise) _to.
Definition at line 329 of file Map.cpp.
- Returns:
- a pointer to the named area manager
Definition at line 239 of file Map.cpp.
- Returns:
- a pointer to the next sheet to
sheet
Definition at line 708 of file Map.cpp.
- Returns:
- the value parser of this Document
Definition at line 254 of file Map.cpp.
| Sheet * Map::previousSheet |
( |
Sheet * |
currentSheet |
) |
const |
- Returns:
- a pointer to the previous sheet to
sheet
Definition at line 722 of file Map.cpp.
- Returns:
- a pointer to the recalculation manager
Definition at line 244 of file Map.cpp.
| void Map::removeSheet |
( |
Sheet * |
sheet |
) |
|
| void Map::reviveSheet |
( |
Sheet * |
sheet |
) |
|
| bool Map::saveChildren |
( |
KoStore * |
_store |
) |
|
| void Map::setDefaultColumnWidth |
( |
double |
width |
) |
|
Sets the default column width to width.
Definition at line 284 of file Map.cpp.
| void Map::setDefaultRowHeight |
( |
double |
height |
) |
|
Sets the default row height to height.
Definition at line 289 of file Map.cpp.
| void Map::setProtected |
( |
QByteArray const & |
passwd |
) |
|
| void Map::setReadWrite |
( |
bool |
readwrite = true |
) |
|
Sets whether the document can be edited or is read only.
Definition at line 198 of file Map.cpp.
- Returns:
- the application settings
Definition at line 294 of file Map.cpp.
| Sheet * Map::sheet |
( |
int |
index |
) |
const |
- Returns:
- a pointer to the sheet at index
index in this map
-
0 if the index exceeds the list boundaries
Definition at line 811 of file Map.cpp.
| void KSpread::Map::sheetAdded |
( |
Sheet * |
sheet |
) |
[signal] |
Emitted, if a newly created sheet was added to the document.
- Returns:
- the list of sheets in this map
Definition at line 816 of file Map.cpp.
| void KSpread::Map::sheetRemoved |
( |
Sheet * |
sheet |
) |
[signal] |
Emitted, if a sheet was deleted from the document.
| void KSpread::Map::sheetRevived |
( |
Sheet * |
sheet |
) |
[signal] |
Emitted, if a sheet was revived, i.e.
a deleted sheet was reinserted.
The documentation for this class was generated from the following files: