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
KWTextDocument::KWTextDocument | ( | KWTextFrameSet * | textfs, | |
KoTextFormatCollection * | fc, | |||
KoTextFormatter * | formatter = 0L | |||
) |
KWTextDocument::KWTextDocument | ( | KoTextZoomHandler * | zoomHandler | ) |
Member Function Documentation
KWTextFrameSet* KWTextDocument::textFrameSet | ( | ) | const [inline] |
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.
bool KWTextDocument::loadSpanTag | ( | const QDomElement & | tag, | |
KoOasisContext & | context, | |||
KoTextParag * | parag, | |||
uint | pos, | |||
QString & | textData, | |||
KoTextCustomItem *& | customItem | |||
) | [virtual] |
bool KWTextDocument::loadOasisBodyTag | ( | const QDomElement & | tag, | |
KoOasisContext & | context, | |||
KoTextParag *& | lastParagraph, | |||
KoStyleCollection * | styleColl, | |||
KoTextParag * | nextParagraph | |||
) | [virtual] |
The documentation for this class was generated from the following files: