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
| KWTableStyle::KWTableStyle | ( | const QString & | name, | |
| KoParagStyle * | _style, | |||
| KWFrameStyle * | _frameStyle | |||
| ) |
Create a blank framestyle (with default attributes).
Definition at line 85 of file KWTableStyle.cpp.
| KWTableStyle::KWTableStyle | ( | const KWTableStyle & | rhs | ) | [inline] |
Member Function Documentation
| void KWTableStyle::saveTableStyle | ( | QDomElement & | parentElem | ) |
| void KWTableStyle::saveOasis | ( | KoGenStyles & | mainStyles, | |
| KoSavingContext & | savingContext | |||
| ) | const |
| KWTableStyle * KWTableStyle::loadStyle | ( | QDomElement & | parentElem, | |
| KWDocument * | _doc, | |||
| int | docVersion = 2 | |||
| ) | [static] |
| void KWTableStyle::loadOasis | ( | QDomElement & | styleElem, | |
| KoOasisContext & | context, | |||
| const KoStyleCollection & | paragraphStyles, | |||
| const KWFrameStyleCollection & | frameStyles | |||
| ) |
The documentation for this class was generated from the following files:

