KWTextParag.h
43 KWTextParag( KoTextDocument *d, KoTextParag *pr = 0, KoTextParag *nx = 0, bool updateIds = true )
49 virtual void setParagLayout( const KoParagLayout &layout, int flags = KoParagLayout::All, int marginIndex = -1 );
55 bool hardFrameBreakBefore() const { return m_layout.pageBreaking & KoParagLayout::HardFrameBreakBefore; }
56 bool hardFrameBreakAfter() const { return m_layout.pageBreaking & KoParagLayout::HardFrameBreakAfter; }
59 static KoTextFormat loadFormat( TQDomElement &formatElem, KoTextFormat *refFormat, const TQFont &defaultFont, const TQString & defaultLanguage, bool hyphanation );
61 static TQDomElement saveFormat( TQDomDocument &doc, KoTextFormat *curFormat, KoTextFormat *refFormat, int pos, int len );
80 static KoParagLayout loadParagLayout( TQDomElement & parentElem, KWDocument *doc, bool useRefStyle );
This is our KoTextDocument reimplementation, to create KWTextParag instead of KoTextParags,...
Definition KWTextDocument.h:36
Class: KWTextFrameSet Contains text (KoTextObject) and frames to display that text.
Definition KWTextFrameSet.h:64
This class extends KoTextParag for KWord-specific formatting stuff, custom items, loading and saving.
Definition KWTextParag.h:41
void load(TQDomElement &attributes)
Load (from KWord-1.3 XML) the paragraph.
Definition KWTextParag.cpp:584
static KoTextFormat loadFormat(TQDomElement &formatElem, KoTextFormat *refFormat, const TQFont &defaultFont, const TQString &defaultLanguage, bool hyphanation)
Public for loading a style (KWord-1.3 XML).
Definition KWTextParag.cpp:400
static KoParagLayout loadParagLayout(TQDomElement &parentElem, KWDocument *doc, bool useRefStyle)
Load (from KWord-1.3 XML), optionally using styles from document.
Definition KWTextParag.cpp:754
static TQDomElement saveFormat(TQDomDocument &doc, KoTextFormat *curFormat, KoTextFormat *refFormat, int pos, int len)
Public for saving a style (KWord-1.3 XML).
Definition KWTextParag.cpp:123
void save(TQDomElement &parentElem, bool saveAnchorsFramesets=false)
Save (to KWord-1.3 XML) the whole paragraph.
Definition KWTextParag.cpp:283
void loadLayout(TQDomElement &attributes)
Load (from KWord-1.3 XML) and apply paragraph layout.
Definition KWTextParag.cpp:553
void loadFormatting(TQDomElement &attributes, int offset=0, bool loadFootNote=true)
Load (from KWord-1.3 XML) and apply <FORMAT> tags (used by KWTextParag::load and by KWPasteCommand).
Definition KWTextParag.cpp:607
