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 606 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 120 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 139 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.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:40:26 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003