#include <KWTableStyle.h>
Public Member Functions | |
| KWTableStyle (const TQString &name, KoParagStyle *_style, KWFrameStyle *_frameStyle) | |
| KWTableStyle (TQDomElement &parentElem, KWDocument *_doc, int docVersion=2) | |
| KWTableStyle (const KWTableStyle &rhs) | |
| void | operator= (const KWTableStyle &) |
| KoParagStyle * | paragraphStyle () const |
| void | setParagraphStyle (KoParagStyle *paragStyle) |
| KWFrameStyle * | frameStyle () const |
| void | setFrameStyle (KWFrameStyle *frameStyle) |
| void | saveTableStyle (TQDomElement &parentElem) |
| void | saveOasis (KoGenStyles &mainStyles, KoSavingContext &savingContext) const |
| void | loadOasis (TQDomElement &styleElem, KoOasisContext &context, const KoStyleCollection ¶graphStyles, const KWFrameStyleCollection &frameStyles) |
Static Public Member Functions | |
| static KWTableStyle * | loadStyle (TQDomElement &parentElem, KWDocument *_doc, int docVersion=2) |
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.
Constructor & Destructor Documentation
◆ KWTableStyle() [1/3]
| KWTableStyle::KWTableStyle | ( | const TQString & | name, |
| KoParagStyle * | _style, | ||
| KWFrameStyle * | _frameStyle ) |
Create a blank framestyle (with default attributes).
Definition at line 85 of file KWTableStyle.cpp.
◆ KWTableStyle() [2/3]
| KWTableStyle::KWTableStyle | ( | TQDomElement & | parentElem, |
| KWDocument * | _doc, | ||
| int | docVersion = 2 ) |
Definition at line 92 of file KWTableStyle.cpp.
◆ KWTableStyle() [3/3]
|
inline |
Copy another framestyle.
Definition at line 56 of file KWTableStyle.h.
◆ ~KWTableStyle()
|
inline |
Definition at line 58 of file KWTableStyle.h.
Member Function Documentation
◆ frameStyle()
|
inline |
Definition at line 66 of file KWTableStyle.h.
◆ loadOasis()
| void KWTableStyle::loadOasis | ( | TQDomElement & | styleElem, |
| KoOasisContext & | context, | ||
| const KoStyleCollection & | paragraphStyles, | ||
| const KWFrameStyleCollection & | frameStyles ) |
load (new oasis xml format)
Definition at line 193 of file KWTableStyle.cpp.
◆ loadStyle()
|
static |
load (old xml format)
Definition at line 168 of file KWTableStyle.cpp.
◆ operator=()
| void KWTableStyle::operator= | ( | const KWTableStyle & | rhs | ) |
Definition at line 139 of file KWTableStyle.cpp.
◆ paragraphStyle()
|
inline |
Definition at line 63 of file KWTableStyle.h.
◆ saveOasis()
| void KWTableStyle::saveOasis | ( | KoGenStyles & | mainStyles, |
| KoSavingContext & | savingContext ) const |
save (new oasis xml format)
Definition at line 173 of file KWTableStyle.cpp.
◆ saveTableStyle()
| void KWTableStyle::saveTableStyle | ( | TQDomElement & | parentElem | ) |
save (old xml format)
Definition at line 146 of file KWTableStyle.cpp.
◆ setFrameStyle()
|
inline |
Definition at line 67 of file KWTableStyle.h.
◆ setParagraphStyle()
|
inline |
Definition at line 64 of file KWTableStyle.h.
The documentation for this class was generated from the following files:
