KoStyle Class Reference
A style is a combination of formatting attributes (font, color, etc.) and paragraph-layout attributes, all grouped under a name. More...
#include <kostyle.h>
Public Member Functions | |
| KoStyle (const QString &name) | |
| KoStyle (const KoStyle &rhs) | |
| void | operator= (const KoStyle &) |
| const KoParagLayout & | paragLayout () const |
| KoParagLayout & | paragLayout () |
| KoStyle * | followingStyle () const |
| void | setFollowingStyle (KoStyle *fst) |
| void | saveStyle (QDomElement &parentElem) |
| void | loadStyle (QDomElement &parentElem, int docVersion=2) |
| KoStyle * | parentStyle () const |
| void | setParentStyle (KoStyle *_style) |
| int | inheritedParagLayoutFlag () const |
| int | inheritedFormatFlag () const |
| void | propagateChanges (int paragLayoutFlag, int formatFlag) |
| bool | isOutline () const |
| void | setOutline (bool b) |
Static Public Member Functions | |
| int | getAttribute (const QDomElement &element, const char *attributeName, int defaultValue) |
| double | getAttribute (const QDomElement &element, const char *attributeName, double defaultValue) |
Detailed Description
A style is a combination of formatting attributes (font, color, etc.) and paragraph-layout attributes, all grouped under a name.
Definition at line 113 of file kostyle.h.
Constructor & Destructor Documentation
|
|
Create a blank style (with default attributes).
Definition at line 174 of file kostyle.cc. References KoParagLayout::style. |
|
|
Copy another style.
Definition at line 189 of file kostyle.cc. |
The documentation for this class was generated from the following files:
