Logo Search packages:      
Sourcecode: koffice version File versions

KoStyle Class Reference

#include <kostyle.h>

Inheritance diagram for KoStyle:

List of all members.

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.

Public Member Functions

KoStylefollowingStyle () const
KoTextFormatformat ()
const KoTextFormatformat () const
int inheritedFormatFlag () const
int inheritedParagLayoutFlag () const
bool isOutline () const
 KoStyle (const KoStyle &rhs)
 KoStyle (const QString &name)
void loadStyle (QDomElement &parentElem, int docVersion=2)
QString name () const
void operator= (const KoStyle &)
KoParagLayoutparagLayout ()
const KoParagLayoutparagLayout () const
KoStyleparentStyle () const
void propagateChanges (int paragLayoutFlag, int formatFlag)
void saveStyle (QDomElement &parentElem)
void setFollowingStyle (KoStyle *fst)
void setName (const QString &name)
void setOutline (bool b)
void setParentStyle (KoStyle *_style)
void setShortCutName (const QString &_shortCut)
QString shortCutName () const
QString translatedName () const

Static Public Member Functions

static double getAttribute (const QDomElement &element, const char *attributeName, double defaultValue)
static int getAttribute (const QDomElement &element, const char *attributeName, int defaultValue)

Protected Attributes

KoTextFormat m_format
QString m_name
QString m_shortCut_name

Private Attributes

bool m_bOutline
int m_inheritedFormatFlag
int m_inheritedParagLayoutFlag
KoParagLayout m_paragLayout

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index