lib
KoStyleCollection Class Reference
#include <KoStyleCollection.h>
Inheritance diagram for KoStyleCollection:

Detailed Description
TODO rename to KoParagStyleCollection - or should char styles be part of it too?
Definition at line 47 of file KoStyleCollection.h.
Public Member Functions | |
KoStyleCollection () | |
~KoStyleCollection () | |
QStringList | translatedStyleNames () const |
KoParagStyle * | addStyle (KoParagStyle *sty) |
KoParagStyle * | findStyle (const QString &name) const |
KoParagStyle * | findStyleByDisplayName (const QString &name) const |
KoParagStyle * | styleAt (int i) |
void | importStyles (const KoStyleCollection &styleList) |
int | loadOasisStyles (KoOasisContext &context) |
void | saveOasis (KoGenStyles &styles, int styleType, KoSavingContext &context) const |
void | saveOasisOutlineStyles (KoXmlWriter &writer) const |
QValueVector< KoParagStyle * > | outlineStyles () const |
KoParagStyle * | outlineStyleForLevel (int level) const |
KoParagStyle * | numberedStyleForLevel (int level) const |
KoParagStyle * | defaultStyle () const |
void | printDebug () const |
Member Function Documentation
|
See KoUserStyleCollection::addStyle. Overloaded for convenience. Definition at line 62 of file KoStyleCollection.h. |
|
Definition at line 228 of file KoStyleCollection.cpp. |
|
Find style based on the internal name Overloaded for convenience. Definition at line 70 of file KoStyleCollection.h. |
|
Find style based on the display name Overloaded for convenience. Reimplemented from KoUserStyleCollection. Definition at line 78 of file KoStyleCollection.h. |
|
Import a number of styles (e.g. loaded from another document).
Definition at line 138 of file KoStyleCollection.cpp. |
|
Loads the entire style collection, in the OASIS OpenDocument format.
Definition at line 43 of file KoStyleCollection.cpp. |
|
Definition at line 211 of file KoStyleCollection.cpp. |
|
Definition at line 197 of file KoStyleCollection.cpp. |
|
Definition at line 185 of file KoStyleCollection.cpp. |
|
Save the entire style collection in the OASIS OpenDocument format
Definition at line 107 of file KoStyleCollection.cpp. |
|
Save the text:outline-style element, mostly for OOo.
Definition at line 166 of file KoStyleCollection.cpp. |
|
Return style number
Definition at line 85 of file KoStyleCollection.h. |
The documentation for this class was generated from the following files: