kword
KWTableStyle Class Reference
#include <KWTableStyle.h>
Detailed Description
Table style (can created/modified/deleted by the user) A table style is simply a paragraph style and a frame style, both of which are applied to a cell.This is used by KWTableTemplate to bundle together several styles in order to provide a full table template.
This class could probably have been called KWTableCellStyle instead.
Definition at line 47 of file KWTableStyle.h.
Public Member Functions | |
KWTableStyle (const QString &name, KoParagStyle *_style, KWFrameStyle *_frameStyle) | |
KWTableStyle (QDomElement &parentElem, KWDocument *_doc, int docVersion=2) | |
KWTableStyle (const KWTableStyle &rhs) | |
~KWTableStyle () | |
void | operator= (const KWTableStyle &) |
KoParagStyle * | paragraphStyle () const |
void | setParagraphStyle (KoParagStyle *paragStyle) |
KWFrameStyle * | frameStyle () const |
void | setFrameStyle (KWFrameStyle *frameStyle) |
void | saveTableStyle (QDomElement &parentElem) |
void | saveOasis (KoGenStyles &mainStyles, KoSavingContext &savingContext) const |
void | loadOasis (QDomElement &styleElem, KoOasisContext &context, const KoStyleCollection ¶graphStyles, const KWFrameStyleCollection &frameStyles) |
Static Public Member Functions | |
static KWTableStyle * | loadStyle (QDomElement &parentElem, KWDocument *_doc, int docVersion=2) |
Constructor & Destructor Documentation
|
Create a blank framestyle (with default attributes).
Definition at line 85 of file KWTableStyle.cpp. |
|
Copy another framestyle.
Definition at line 56 of file KWTableStyle.h. |
Member Function Documentation
|
load (new oasis xml format)
Definition at line 191 of file KWTableStyle.cpp. |
|
load (old xml format)
Definition at line 168 of file KWTableStyle.cpp. |
|
save (new oasis xml format)
Definition at line 173 of file KWTableStyle.cpp. |
|
save (old xml format)
Definition at line 146 of file KWTableStyle.cpp. |
The documentation for this class was generated from the following files: