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

Detailed Description
A paragraph style is a combination of a character style and paragraph-layout attributes, all grouped under a name.
Definition at line 54 of file KoParagStyle.h.
Public Member Functions | |
KoParagStyle (const QString &name) | |
KoParagStyle (const KoParagStyle &rhs) | |
~KoParagStyle () | |
void | operator= (const KoParagStyle &) |
const KoParagLayout & | paragLayout () const |
KoParagLayout & | paragLayout () |
KoParagStyle * | followingStyle () const |
void | setFollowingStyle (KoParagStyle *fst) |
void | saveStyle (QDomElement &parentElem) |
void | loadStyle (QDomElement &parentElem, int docVersion=2) |
void | loadStyle (QDomElement &styleElem, KoOasisContext &context) |
QString | saveStyle (KoGenStyles &genStyles, int styleType, const QString &parentStyleName, KoSavingContext &context) const |
KoParagStyle * | parentStyle () const |
void | setParentStyle (KoParagStyle *_style) |
int | inheritedParagLayoutFlag () const |
int | inheritedFormatFlag () const |
void | propagateChanges (int paragLayoutFlag, int formatFlag) |
bool | isOutline () const |
void | setOutline (bool b) |
Constructor & Destructor Documentation
KoParagStyle::KoParagStyle | ( | const QString & | name | ) |
KoParagStyle::KoParagStyle | ( | const KoParagStyle & | rhs | ) |
Member Function Documentation
void KoParagStyle::loadStyle | ( | QDomElement & | styleElem, | |
KoOasisContext & | context | |||
) |
void KoParagStyle::loadStyle | ( | QDomElement & | parentElem, | |
int | docVersion = 2 | |||
) |
Loads the name, layout and the outline bool.
Not the "following style" nor the format. (1.3 format)
Definition at line 104 of file KoParagStyle.cpp.
QString KoParagStyle::saveStyle | ( | KoGenStyles & | genStyles, | |
int | styleType, | |||
const QString & | parentStyleName, | |||
KoSavingContext & | context | |||
) | const |
Save the style to OASIS Don't use, use the method in KoStyleCollection instead.
Definition at line 190 of file KoParagStyle.cpp.
void KoParagStyle::saveStyle | ( | QDomElement & | parentElem | ) |
Saves the name, layout, the following style and the outline bool.
Not the format.
- Deprecated:
- (1.3 format)
Definition at line 89 of file KoParagStyle.cpp.
The documentation for this class was generated from the following files: