lib

KoCharStyle Class Reference

#include <KoParagStyle.h>

Inheritance diagram for KoCharStyle:

KoUserStyle KoParagStyle List of all members.

Detailed Description

A KoCharStyle is a set of formatting attributes (font, color, etc.

) to be applied to a run of text.

Definition at line 32 of file KoParagStyle.h.


Public Member Functions

 KoCharStyle (const QString &name)
 KoCharStyle (const KoCharStyle &rhs)
const KoTextFormatformat () const
KoTextFormatformat ()

Protected Attributes

KoTextFormat m_format

Constructor & Destructor Documentation

KoCharStyle::KoCharStyle const QString &  name  ) 
 

Create a blank style (with default attributes).

Definition at line 32 of file KoParagStyle.cpp.

KoCharStyle::KoCharStyle const KoCharStyle rhs  )  [inline]
 

Copy another style.

Definition at line 39 of file KoParagStyle.h.


Member Function Documentation

const KoTextFormat & KoCharStyle::format  )  const
 

Return a format.

Don't forget to use the format collection of your KoTextDocument from the result of that method.

Definition at line 37 of file KoParagStyle.cpp.


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