lib
KoCharStyle Class Reference
#include <KoParagStyle.h>
Inheritance diagram for KoCharStyle:

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 KoTextFormat & | format () const |
KoTextFormat & | format () |
Protected Attributes | |
KoTextFormat | m_format |
Constructor & Destructor Documentation
KoCharStyle::KoCharStyle | ( | const QString & | name | ) |
KoCharStyle::KoCharStyle | ( | const KoCharStyle & | rhs | ) | [inline] |
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: