KoParagCounter.h
83 void loadOasis( KoOasisContext& context, int restartNumbering, bool orderedList, bool heading, int level, bool loadingStyle = false );
94 void saveOasisListLevel( KoXmlWriter& listLevelWriter, bool includeLevelAndProperties, bool savingStyle = false ) const;
Used during loading of Oasis format (and discarded at the end of the loading).
Definition KoOasisContext.h:46
int width(const KoTextParag *paragraph)
Work out the width of the text required for this counter.
void loadOasis(KoOasisContext &context, int restartNumbering, bool orderedList, bool heading, int level, bool loadingStyle=false)
Load from OASIS XML.
Definition KoParagCounter.cpp:179
void saveOasis(KoGenStyle &listStyle, bool savingStyle=false) const
Save as OASIS XML.
Definition KoParagCounter.cpp:265
void saveOasisListLevel(KoXmlWriter &listLevelWriter, bool includeLevelAndProperties, bool savingStyle=false) const
Part of saveOasis that is shared with KoStyleCollection::saveOasisOutlineStyles and KWVariableSetting...
Definition KoParagCounter.cpp:283
static KoTextFormat * counterFormat(const KoTextParag *paragraph)
Return the format to use for the counter.
int number(const KoTextParag *paragraph)
Return the current value of the counter as a number.
TQString text(const KoTextParag *paragraph)
Return the current value of the counter as a text.
void loadOasisListStyle(const TQDomElement &listStyle, const TQDomElement &listStyleProperties, const TQDomElement &listStyleTextProperties, int restartNumbering, bool orderedList, bool heading, int level, bool loadingStyle)
Part of loadOasis that is shared with KWVariableSettings::loadOasis for footnotes/endnotes.
Definition KoParagCounter.cpp:189
TQString levelText(const KoTextParag *paragraph)
Return the current value of the counter as a text.
Definition KoParagCounter.cpp:633
Each character (KoTextStringChar) points to a KoTextFormat that defines the formatting of that charac...
Definition KoTextFormat.h:53
A class for writing out XML (to any TQIODevice), with a special attention on performance.
Definition KoXmlWriter.h:37
