lib
KoSavingContext Class Reference
#include <KoOasisContext.h>
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 111 of file KoOasisContext.h.
Public Types | |
typedef QValueList< BookmarkPosition > | BookmarkPositions |
typedef QMap< QString, bool > | FontFaces |
enum | SavingMode { Store, Flat } |
Public Member Functions | |
KoSavingContext (KoGenStyles &mainStyles, KoVariableSettings *settings=0, bool hasColumns=false, SavingMode savingMode=Store) | |
~KoSavingContext () | |
KoGenStyles & | mainStyles () |
SavingMode | savingMode () const |
void | setCursorPosition (KoTextParag *cursorTextParagraph, int cursorTextIndex) |
KoTextParag * | cursorTextParagraph () const |
int | cursorTextIndex () const |
void | setBookmarkPositions (const BookmarkPositions &bkStarts, const BookmarkPositions &bkEnds) |
const BookmarkPositions & | bookmarkStarts () const |
const BookmarkPositions & | bookmarkEnds () const |
void | addFontFace (const QString &fontName) |
void | writeFontFaces (KoXmlWriter &writer) |
bool | hasColumns () const |
KoVariableSettings * | variableSettings () const |
Classes | |
struct | BookmarkPosition |
Store bookmarks [for the current text paragraph beind saved] so that KoTextParag can save them at the right place inside the text. More... |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 96 of file KoOasisContext.cpp. |
Member Function Documentation
|
Definition at line 129 of file KoOasisContext.h. |
|
Set cursor position (so that KoTextParag can insert a processing instruction).
Definition at line 110 of file KoOasisContext.cpp. |
The documentation for this class was generated from the following files: