lib Library API Documentation

CustomItemsMap Class Reference

A CustomItemsMap associates a custom item to an index Used in the undo/redo info for insert/delete text. More...

#include <kotextdocument.h>

Inheritance diagram for CustomItemsMap:

Inheritance graph
[legend]
Collaboration diagram for CustomItemsMap:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void insertItems (const KoTextCursor &startCursor, int size)
void deleteAll (KMacroCommand *macroCmd)

Detailed Description

A CustomItemsMap associates a custom item to an index Used in the undo/redo info for insert/delete text.

Definition at line 601 of file kotextdocument.h.


Member Function Documentation

void CustomItemsMap::insertItems const KoTextCursor &  startCursor,
int  size
 

Insert all the items from the map, into the existing text.

Definition at line 119 of file kotextcustomitem.cc.

Referenced by KoTextObject::insert().

void CustomItemsMap::deleteAll KMacroCommand *  macroCmd  ) 
 

Delete all the items from the map, adding their commands into macroCmd.

Definition at line 138 of file kotextcustomitem.cc.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Mar 20 14:25:38 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003