kpresenter

KPrTextDocument Class Reference

#include <KPrTextDocument.h>

Inherits KoTextDocument.

Public Member Functions

 KPrTextDocument (KPrTextObject *textobj, KoTextFormatCollection *fc, KoTextFormatter *formatter=0L)
 
KPrTextObject * textObject () const
 
bool loadSpanTag (const TQDomElement &tag, KoOasisContext &context, KoTextParag *parag, uint pos, TQString &textData, KoTextCustomItem *&customItem)
 

Detailed Description

This is our KoTextDocument reimplementation, to relate it to the textobject it's in.

Definition at line 33 of file KPrTextDocument.h.

Constructor & Destructor Documentation

◆ KPrTextDocument()

KPrTextDocument::KPrTextDocument ( KPrTextObject *  textobj,
KoTextFormatCollection *  fc,
KoTextFormatter *  formatter = 0L 
)

A text document inside a kptextobject.

Definition at line 33 of file KPrTextDocument.cpp.

◆ ~KPrTextDocument()

KPrTextDocument::~KPrTextDocument ( )

Definition at line 39 of file KPrTextDocument.cpp.

Member Function Documentation

◆ loadSpanTag()

bool KPrTextDocument::loadSpanTag ( const TQDomElement &  tag,
KoOasisContext &  context,
KoTextParag *  parag,
uint  pos,
TQString &  textData,
KoTextCustomItem *&  customItem 
)

Extensions to KoTextParag::loadOasisSpan.

Definition at line 44 of file KPrTextDocument.cpp.

◆ textObject()

KPrTextObject * KPrTextDocument::textObject ( ) const
inline

Return the text object in which this document is.

Note that this can be 0L (e.g. for paragraphs in the paragdia preview)

Definition at line 45 of file KPrTextDocument.h.


The documentation for this class was generated from the following files: