kword
KWTextDocument Class Reference
#include <KWTextDocument.h>
Detailed Description
This is our KoTextDocument reimplementation, to create KWTextParag instead of KoTextParags, and to relate it to the text frameset it's in.
Definition at line 35 of file KWTextDocument.h.
Public Member Functions | |
KWTextDocument (KWTextFrameSet *textfs, KoTextFormatCollection *fc, KoTextFormatter *formatter=0L) | |
KWTextDocument (KoTextZoomHandler *zoomHandler) | |
~KWTextDocument () | |
virtual KoTextParag * | createParag (KoTextDocument *d, KoTextParag *pr=0, KoTextParag *nx=0, bool updateIds=TRUE) |
KWTextFrameSet * | textFrameSet () const |
virtual KoTextDocCommand * | deleteTextCommand (KoTextDocument *textdoc, int id, int index, const QMemArray< KoTextStringChar > &str, const CustomItemsMap &customItemsMap, const QValueList< KoParagLayout > &oldParagLayouts) |
virtual bool | loadSpanTag (const QDomElement &tag, KoOasisContext &context, KoTextParag *parag, uint pos, QString &textData, KoTextCustomItem *&customItem) |
virtual bool | loadOasisBodyTag (const QDomElement &tag, KoOasisContext &context, KoTextParag *&lastParagraph, KoStyleCollection *styleColl, KoTextParag *nextParagraph) |
Protected Member Functions | |
void | init () |
Constructor & Destructor Documentation
|
A real text document inside a frameset.
Definition at line 39 of file KWTextDocument.cpp. |
|
A standalone text document, for a preview.
Definition at line 45 of file KWTextDocument.cpp. |
Member Function Documentation
|
Extensions to KoTextDocument::loadOasisText.
Definition at line 109 of file KWTextDocument.cpp. |
|
Extensions to KoTextParag::loadOasisSpan.
Definition at line 183 of file KWTextDocument.cpp. |
|
Return the text frameset in which this document is. Note that this can be 0L (e.g. for paragraphs in the paragdia preview) Definition at line 50 of file KWTextDocument.h. |
The documentation for this class was generated from the following files: