kword
KWFrameStyle Class Reference
#include <KWFrameStyle.h>
Detailed Description
The user-visible style for frames (borders and background).
Definition at line 41 of file KWFrameStyle.h.
Public Types | |
enum | { Borders = 1, Background = 2 } |
Public Member Functions | |
KWFrameStyle (const QString &name) | |
KWFrameStyle (const QString &name, KWFrame *frame) | |
KWFrameStyle (QDomElement &parentElem, int docVersion=2) | |
KWFrameStyle (const KWFrameStyle &rhs) | |
void | operator= (const KWFrameStyle &rhs) |
~KWFrameStyle () | |
int | compare (const KWFrameStyle &frameStyle) const |
QBrush | backgroundColor () const |
void | setBackgroundColor (const QBrush &_color) |
const KoBorder & | leftBorder () const |
void | setLeftBorder (KoBorder _left) |
const KoBorder & | rightBorder () const |
void | setRightBorder (KoBorder _right) |
const KoBorder & | topBorder () const |
void | setTopBorder (KoBorder _top) |
const KoBorder & | bottomBorder () const |
void | setBottomBorder (KoBorder _bottom) |
void | saveFrameStyle (QDomElement &parentElem) |
void | saveOasis (KoGenStyles &mainStyles, KoSavingContext &savingContext) const |
void | loadOasis (QDomElement &styleElem, KoOasisContext &context) |
Static Public Member Functions | |
static KWFrameStyle * | loadStyle (QDomElement &parentElem, int docVersion=2) |
Public Attributes | |
enum KWFrameStyle:: { ... } | Flags |
Constructor & Destructor Documentation
|
Create a blank framestyle (with default attributes).
Definition at line 86 of file KWFrameStyle.cpp. |
|
Copy another framestyle.
Definition at line 146 of file KWFrameStyle.cpp. |
Member Function Documentation
|
load (new oasis xml format)
Definition at line 261 of file KWFrameStyle.cpp. |
|
load (old xml format)
Definition at line 217 of file KWFrameStyle.cpp. |
|
save (old xml format)
Definition at line 177 of file KWFrameStyle.cpp. |
|
save (new oasis xml format)
Definition at line 222 of file KWFrameStyle.cpp. |
The documentation for this class was generated from the following files: