lib

KoTextFormatCommand Class Reference

#include <KoTextCommand.h>

Inherits KoTextDocFormatCommand.

Public Member Functions

 KoTextFormatCommand (KoTextDocument *d, int sid, int sidx, int eid, int eidx, const TQMemArray< KoTextStringChar > &old, const KoTextFormat *f, int fl)
 
KoTextCursor * execute (KoTextCursor *c)
 
KoTextCursor * unexecute (KoTextCursor *c)
 
void resizeCustomItems ()
 

Detailed Description

Command created when changing formatted text.

Definition at line 128 of file KoTextCommand.h.

Constructor & Destructor Documentation

◆ KoTextFormatCommand()

KoTextFormatCommand::KoTextFormatCommand ( KoTextDocument *  d,
int  sid,
int  sidx,
int  eid,
int  eidx,
const TQMemArray< KoTextStringChar > &  old,
const KoTextFormat *  f,
int  fl 
)

Definition at line 247 of file KoTextCommand.cpp.

◆ ~KoTextFormatCommand()

KoTextFormatCommand::~KoTextFormatCommand ( )
virtual

Definition at line 253 of file KoTextCommand.cpp.

Member Function Documentation

◆ execute()

KoTextCursor * KoTextFormatCommand::execute ( KoTextCursor *  c)

Definition at line 321 of file KoTextCommand.cpp.

◆ resizeCustomItems()

void KoTextFormatCommand::resizeCustomItems ( )

Definition at line 257 of file KoTextCommand.cpp.

◆ unexecute()

KoTextCursor * KoTextFormatCommand::unexecute ( KoTextCursor *  c)

Definition at line 328 of file KoTextCommand.cpp.


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