kword

#include <KWTableStyle.h>

Inherits KoUserStyleCollection.

Public Member Functions

KWTableStyle * findStyle (const TQString &name) const
 
KWTableStyle * findStyleByDisplayName (const TQString &name) const
 
KWTableStyle * addStyle (KWTableStyle *sty)
 
KWTableStyle * tableStyleAt (int i) const
 
void saveOasis (KoGenStyles &mainStyles, KoSavingContext &savingContext) const
 
int loadOasisStyles (KoOasisContext &context, const KoStyleCollection &paragraphStyles, const KWFrameStyleCollection &frameStyles)
 

Static Public Member Functions

static TQString defaultStyleName ()
 

Detailed Description

Collection of user-defined table styles.

Definition at line 87 of file KWTableStyle.h.

Constructor & Destructor Documentation

◆ KWTableStyleCollection()

KWTableStyleCollection::KWTableStyleCollection ( )

Definition at line 33 of file KWTableStyle.cpp.

Member Function Documentation

◆ addStyle()

KWTableStyle * KWTableStyleCollection::addStyle ( KWTableStyle *  sty)
inline

See KoUserStyleCollection::addStyle.

Overloaded for convenience.

Definition at line 116 of file KWTableStyle.h.

◆ defaultStyleName()

static TQString KWTableStyleCollection::defaultStyleName ( )
inlinestatic

Definition at line 92 of file KWTableStyle.h.

◆ findStyle()

KWTableStyle * KWTableStyleCollection::findStyle ( const TQString &  name) const
inline

Find style based on the untranslated name name.

Overloaded for convenience

Definition at line 98 of file KWTableStyle.h.

◆ findStyleByDisplayName()

KWTableStyle * KWTableStyleCollection::findStyleByDisplayName ( const TQString &  name) const
inline

Find style based on the display name name.

This is only for the old XML loading. Overloaded for convenience

Definition at line 108 of file KWTableStyle.h.

◆ loadOasisStyles()

int KWTableStyleCollection::loadOasisStyles ( KoOasisContext &  context,
const KoStyleCollection &  paragraphStyles,
const KWFrameStyleCollection &  frameStyles 
)

Definition at line 49 of file KWTableStyle.cpp.

◆ saveOasis()

void KWTableStyleCollection::saveOasis ( KoGenStyles &  mainStyles,
KoSavingContext &  savingContext 
) const

Definition at line 38 of file KWTableStyle.cpp.

◆ tableStyleAt()

KWTableStyle * KWTableStyleCollection::tableStyleAt ( int  i) const
inline

Return style number i.

Definition at line 123 of file KWTableStyle.h.


The documentation for this class was generated from the following files: