lib

KoParagStyle Class Reference

#include <KoParagStyle.h>

Inheritance diagram for KoParagStyle:

KoCharStyle KoUserStyle List of all members.

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 KoParagLayoutparagLayout () const
KoParagLayoutparagLayout ()
KoParagStylefollowingStyle () 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
KoParagStyleparentStyle () 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  ) 

Create a blank style (with default attributes).

Definition at line 49 of file KoParagStyle.cpp.

KoParagStyle::KoParagStyle ( const KoParagStyle rhs  ) 

Copy another style.

Definition at line 62 of file KoParagStyle.cpp.


Member Function Documentation

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.

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.

void KoParagStyle::loadStyle ( QDomElement &  styleElem,
KoOasisContext context 
)

Load the style from OASIS.

Definition at line 126 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.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys