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
|
Create a blank style (with default attributes).
Definition at line 49 of file KoParagStyle.cpp. |
|
Copy another style.
Definition at line 62 of file KoParagStyle.cpp. |
Member Function Documentation
|
Load the style from OASIS.
Definition at line 126 of file KoParagStyle.cpp. |
|
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. |
|
Save the style to OASIS Don't use, use the method in KoStyleCollection instead.
Definition at line 190 of file KoParagStyle.cpp. |
|
Saves the name, layout, the following style and the outline bool. Not the format.
Definition at line 89 of file KoParagStyle.cpp. |
The documentation for this class was generated from the following files: