![]() | InDesign SDK 20.5 |
#include <ICommandSequence.h>
Public Member Functions | |
| virtual const char * | GetTrackingData ()=0 |
An auto undo sequence wraps a set of changes targeted to a database and implements undo behavior identical to that of a command that has kAutoUndo undoability.
Use an auto undo sequence when your changes can never appear in an individual step on the undo menu (i.e. your changes always tag along with other changes that do appear on the undo menu).
To wrap a set of changes in an auto undo sequence use CmdUtils::BeginAutoUndoSequence to create the sequence before the changes are started and CmdUtils::EndAutoUndoSequence to end the sequence after the changes are done. You must provide a database target when creating the autoundo sequence.
| pure virtual |
For internal use only