![]() | InDesign SDK 20.5 |
#include <IInvalHandler.h>

Public Member Functions | |
| virtual | ~IInvalCookie () |
| virtual void | Merge (const IInvalCookie *other)=0 |
| virtual void | InvalBeforeUndo ()=0 |
| virtual void | InvalAfterUndo ()=0 |
| virtual void | InvalBeforeRedo ()=0 |
| virtual void | InvalAfterRedo ()=0 |
An inval cookie is an object that is called at undo and redo. It is created by an inval handler (see IInvalHandler) and called when an undoable transaction on a database is undone or redone.
| inlinevirtual |
virtual destructor Inval cookies are destructed by the database when they are no longer referenced by the change history.
| pure virtual |
Provide an implementation of this function that performs changes that will occurr after redo.
Implemented in GTTxtEdtInvalCookie.
| pure virtual |
Provide an implementation of this function that performs changes that will occurr after undo.
Implemented in GTTxtEdtInvalCookie.
| pure virtual |
Provide an implementation of this function that performs changes that will occurr before redo.
Implemented in GTTxtEdtInvalCookie.
| pure virtual |
Provide an implementation of this function that performs changes that will occurr before undo.
Implemented in GTTxtEdtInvalCookie.
| pure virtual |
This function is called by the database to merge two inval cookies when the former decides the two cookies will be part of the same undoable step. Provide an implementation of this function that merges the
| other) | cookie into 'this' cookie. |
| other |
Implemented in GTTxtEdtInvalCookie.