lib
KoOasisLoadingContext Class Reference
#include <KoOasisLoadingContext.h>
Inheritance diagram for KoOasisLoadingContext:

Detailed Description
Used during loading of Oasis format (and discarded at the end of the loading).
- Author:
- David Faure <faure@kde.org>
Definition at line 39 of file KoOasisLoadingContext.h.
Public Member Functions | |
KoOasisLoadingContext (KoDocument *doc, KoOasisStyles &styles, KoStore *store) | |
~KoOasisLoadingContext () | |
KoDocument * | koDocument () |
KoStore * | store () |
KoOasisStyles & | oasisStyles () |
KoStyleStack & | styleStack () |
const QDomDocument & | manifestDocument () const |
QString | generator () const |
void | fillStyleStack (const QDomElement &element, const char *nsURI, const char *attrName, const char *family) |
void | addStyles (const QDomElement *style, const char *family, bool usingStylesAutoStyles=false) |
void | setUseStylesAutoStyles (bool useStylesAutoStyles) |
Constructor & Destructor Documentation
|
Stores reference to the KoOasisStyles and stored passed by KoDocument. Make sure that the KoOasisStyles instance outlives this KoOasisLoadingContext instance. (This is the case during loading, when using the KoOasisStyles given by KoDocument)
Definition at line 27 of file KoOasisLoadingContext.cpp. |
Member Function Documentation
|
Add
Definition at line 67 of file KoOasisLoadingContext.cpp. |
|
Convenience method for loading the style of an object before loading that object. Read attribute (nsURI,attrName) from the given dom element, treat that attribute as a style name, and load that style including all its parent styles.
Definition at line 44 of file KoOasisLoadingContext.cpp. |
|
Return the <meta:generator> of the document, e.g. "KOffice/1.4.0a".
Definition at line 99 of file KoOasisLoadingContext.cpp. |
|
Set to true while loading headers and footers, to remember to use auto styles from styles.xml.
Definition at line 97 of file KoOasisLoadingContext.h. |
The documentation for this class was generated from the following files: