kspread
Old native file format
Classes and methods related to the KSpread's old native file format loading/saving.
More...
Namespaces |
| namespace | KSpread::NativeFormat |
Functions |
| QDomElement | KSpread::NativeFormat::createElement (const QString &tagname, const QPen &pen, QDomDocument &doc) |
| QDomElement | KSpread::NativeFormat::createElement (const QString &tagName, const QFont &font, QDomDocument &doc) |
| void | KSpread::Map::deleteLoadingInfo () |
| bool | KSpread::Map::isLoading () const |
| bool | KSpread::Cell::load (const KoXmlElement &cell, int _xshift, int _yshift, Paste::Mode pm=Paste::Normal, Paste::Operation op=Paste::OverWrite, bool paste=false) |
| bool | KSpread::Sheet::loadChildren (KoStore *_store) |
| void | KSpread::Conditions::loadConditions (const StyleManager *styleManager, const KoXmlElement &element) |
| LoadingInfo * | KSpread::Map::loadingInfo () const |
| bool | KSpread::Validity::loadXML (Cell *const cell, const KoXmlElement &validityElement) |
| bool | KSpread::Sheet::loadXML (const KoXmlElement &) |
| virtual bool | KSpread::Doc::loadXML (const KoXmlDocument &doc, KoStore *store) |
| void | KSpread::NamedAreaManager::loadXML (const KoXmlElement &element) |
| bool | KSpread::Map::loadXML (const KoXmlElement &mymap) |
| QDomElement | KSpread::Map::save (QDomDocument &doc) |
| QDomElement | KSpread::Cell::save (QDomDocument &doc, int xOffset=0, int yOffset=0, bool era=false) |
| bool | KSpread::Sheet::saveChildren (KoStore *_store, const QString &_path) |
| QDomElement | KSpread::Conditions::saveConditions (QDomDocument &doc) const |
| QDomElement | KSpread::Validity::saveXML (QDomDocument &doc) const |
| QDomElement | KSpread::Sheet::saveXML (QDomDocument &) |
| virtual QDomDocument | KSpread::Doc::saveXML () |
| QDomElement | KSpread::NamedAreaManager::saveXML (QDomDocument &doc) const |
| QDate | KSpread::Cell::toDate (const KoXmlElement &element) |
| QFont | KSpread::NativeFormat::toFont (KoXmlElement &element) |
| QPen | KSpread::NativeFormat::toPen (KoXmlElement &element) |
| QTime | KSpread::Cell::toTime (const KoXmlElement &element) |
Detailed Description
Classes and methods related to the KSpread's old native file format loading/saving.
Function Documentation
| void Map::deleteLoadingInfo |
( |
|
) |
[inherited] |
Deletes the loading info.
Called after loading is complete.
Definition at line 847 of file Map.cpp.
| bool Map::isLoading |
( |
|
) |
const [inherited] |
- Returns:
- true if the document is currently loading.
Definition at line 834 of file Map.cpp.
| bool Cell::load |
( |
const KoXmlElement & |
cell, |
|
|
int |
_xshift, |
|
|
int |
_yshift, |
|
|
Paste::Mode |
pm = Paste::Normal, |
|
|
Paste::Operation |
op = Paste::OverWrite, |
|
|
bool |
paste = false | |
|
) |
| | [inherited] |
| bool KSpread::Sheet::loadChildren |
( |
KoStore * |
_store |
) |
[inherited] |
| void Conditions::loadConditions |
( |
const StyleManager * |
styleManager, |
|
|
const KoXmlElement & |
element | |
|
) |
| | [inherited] |
Takes a parsed DOM element and recreates the conditions structure out of it.
Definition at line 617 of file Condition.cpp.
Creates the loading info, if it does not exist yet.
- Returns:
- the loading info
Definition at line 839 of file Map.cpp.
| bool Validity::loadXML |
( |
Cell *const |
cell, |
|
|
const KoXmlElement & |
validityElement | |
|
) |
| | [inherited] |
| bool KSpread::Sheet::loadXML |
( |
const KoXmlElement & |
sheet |
) |
[inherited] |
Loads the sheet and all it's children in XML format.
Definition at line 3738 of file Sheet.cpp.
| bool Doc::loadXML |
( |
const KoXmlDocument & |
doc, |
|
|
KoStore * |
store | |
|
) |
| | [virtual, inherited] |
Main loading method.
Definition at line 524 of file Doc.cpp.
| void NamedAreaManager::loadXML |
( |
const KoXmlElement & |
element |
) |
[inherited] |
| bool Map::loadXML |
( |
const KoXmlElement & |
mymap |
) |
[inherited] |
Save this cell.
- Parameters:
-
| doc | document to save cell in |
| xOffset | x offset |
| yOffset | y offset |
| era | set this to true if you want to encode relative references as absolutely (they will be switched back to relative references during decoding) - is used for cutting to clipboard Usually this is false, to only store the properties explicitly set. |
Definition at line 919 of file Cell.cpp.
| bool KSpread::Sheet::saveChildren |
( |
KoStore * |
_store, |
|
|
const QString & |
_path | |
|
) |
| | [inherited] |
Saves the conditions to a DOM tree structure.
- Returns:
- the DOM element for the conditions.
Definition at line 416 of file Condition.cpp.
Saves the sheet and all it's children in XML format.
Definition at line 2002 of file Sheet.cpp.
Main saving method.
Definition at line 294 of file Doc.cpp.
| QDate Cell::toDate |
( |
const KoXmlElement & |
element |
) |
[inherited] |
Decodes a string into a date value.
Definition at line 2180 of file Cell.cpp.
| QFont KSpread::NativeFormat::toFont |
( |
KoXmlElement & |
element |
) |
|
| QPen KSpread::NativeFormat::toPen |
( |
KoXmlElement & |
element |
) |
|
| QTime Cell::toTime |
( |
const KoXmlElement & |
element |
) |
[inherited] |
Decodes a string into a time value.
Definition at line 2162 of file Cell.cpp.
|