lib

KoParagFormatCommand Class Reference

#include <KoTextCommand.h>

Public Member Functions

 KoParagFormatCommand (KoTextDocument *d, int fParag, int lParag, const TQValueList< KoTextFormat * > &oldFormats, KoTextFormat *newFormat)
KoTextCursor * execute (KoTextCursor *c)
KoTextCursor * unexecute (KoTextCursor *c)

Protected Attributes

int firstParag
int lastParag
TQValueList< KoTextFormat * > m_oldFormats
KoTextFormat * m_newFormat

Detailed Description

Command created when changing the default format of paragraphs.

This is ONLY used for counters and bullet's formatting. See KoTextFormatCommand for the command used when changing the formatting of any set of characters.

Definition at line 110 of file KoTextCommand.h.

Constructor & Destructor Documentation

◆ KoParagFormatCommand()

KoParagFormatCommand::KoParagFormatCommand ( KoTextDocument * d,
int fParag,
int lParag,
const TQValueList< KoTextFormat * > & oldFormats,
KoTextFormat * newFormat )

Definition at line 186 of file KoTextCommand.cpp.

◆ ~KoParagFormatCommand()

KoParagFormatCommand::~KoParagFormatCommand ( )

Definition at line 197 of file KoTextCommand.cpp.

Member Function Documentation

◆ execute()

KoTextCursor * KoParagFormatCommand::execute ( KoTextCursor * c)

Definition at line 204 of file KoTextCommand.cpp.

◆ unexecute()

KoTextCursor * KoParagFormatCommand::unexecute ( KoTextCursor * c)

Definition at line 222 of file KoTextCommand.cpp.

Member Data Documentation

◆ firstParag

int KoParagFormatCommand::firstParag
protected

Definition at line 120 of file KoTextCommand.h.

◆ lastParag

int KoParagFormatCommand::lastParag
protected

Definition at line 120 of file KoTextCommand.h.

◆ m_newFormat

KoTextFormat* KoParagFormatCommand::m_newFormat
protected

Definition at line 122 of file KoTextCommand.h.

◆ m_oldFormats

TQValueList<KoTextFormat *> KoParagFormatCommand::m_oldFormats
protected

Definition at line 121 of file KoTextCommand.h.


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