KoSavingContext Class Reference
Used during saving to Oasis format (and discarded at the end of the saving). More...
#include <kooasiscontext.h>
Collaboration diagram for KoSavingContext:

Public Types | |
typedef QMap< KoParagStyle *, QString > | StyleNameMap |
typedef QMap< QString, bool > | FontFaces |
enum | SavingMode { Store, Flat } |
Public Member Functions | |
KoSavingContext (KoGenStyles &mainStyles, KoVariableSettings *settings=0, bool hasColumns=false, SavingMode savingMode=Store) | |
KoGenStyles & | mainStyles () |
SavingMode | savingMode () const |
void | setStyleNameMap (const StyleNameMap &map) |
QString | styleAutoName (KoParagStyle *style) const |
void | setCursorPosition (KoTextParag *cursorTextParagraph, int cursorTextIndex) |
KoTextParag * | cursorTextParagraph () const |
int | cursorTextIndex () const |
void | addFontFace (const QString &fontName) |
void | writeFontFaces (KoXmlWriter &writer) |
bool | hasColumns () const |
KoVariableSettings * | variableSettings () const |
Detailed Description
Used during saving to Oasis format (and discarded at the end of the saving).Among other things, this class acts as a repository of fonts used by a document during saving, in order to create the office:font-face-decls element.
- Author:
- David Faure <faure@kde.org>
Definition at line 128 of file kooasiscontext.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 143 of file kooasiscontext.cc. |
Member Function Documentation
|
Definition at line 146 of file kooasiscontext.h. |
|
Called after saving the user styles. Associates every KoParagStyle with its automatic name (style:name attribute) Definition at line 152 of file kooasiscontext.h. |
|
Definition at line 155 of file kooasiscontext.h. |
|
Set cursor position (so that KoTextParag can insert a processing instruction).
Definition at line 157 of file kooasiscontext.cc. |
The documentation for this class was generated from the following files: