kword

KWOasisPasteCommand Class Reference

#include <KWCommand.h>

Inherits KoTextDocCommand.

Public Member Functions

 KWOasisPasteCommand (KoTextDocument *d, int parag, int idx, const TQByteArray &data)
 
KoTextCursor * execute (KoTextCursor *c)
 
KoTextCursor * unexecute (KoTextCursor *c)
 

Protected Attributes

int m_parag
 
int m_idx
 
TQByteArray m_data
 
int m_lastParag
 
int m_lastIndex
 
KoParagLayout * m_oldParagLayout
 

Detailed Description

Command created when pasting oasis-formatted text.

Definition at line 58 of file KWCommand.h.

Constructor & Destructor Documentation

◆ KWOasisPasteCommand()

KWOasisPasteCommand::KWOasisPasteCommand ( KoTextDocument *  d,
int  parag,
int  idx,
const TQByteArray &  data 
)

Definition at line 248 of file KWCommand.cpp.

Member Function Documentation

◆ execute()

KoTextCursor * KWOasisPasteCommand::execute ( KoTextCursor *  c)

Definition at line 254 of file KWCommand.cpp.

◆ unexecute()

KoTextCursor * KWOasisPasteCommand::unexecute ( KoTextCursor *  c)

Definition at line 284 of file KWCommand.cpp.

Member Data Documentation

◆ m_data

TQByteArray KWOasisPasteCommand::m_data
protected

Definition at line 68 of file KWCommand.h.

◆ m_idx

int KWOasisPasteCommand::m_idx
protected

Definition at line 67 of file KWCommand.h.

◆ m_lastIndex

int KWOasisPasteCommand::m_lastIndex
protected

Definition at line 71 of file KWCommand.h.

◆ m_lastParag

int KWOasisPasteCommand::m_lastParag
protected

Definition at line 70 of file KWCommand.h.

◆ m_oldParagLayout

KoParagLayout* KWOasisPasteCommand::m_oldParagLayout
protected

Definition at line 72 of file KWCommand.h.

◆ m_parag

int KWOasisPasteCommand::m_parag
protected

Definition at line 66 of file KWCommand.h.


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