21module
com { module sun { module star { module document {
24interface XUndoManagerListener;
64 interface ::com::sun::star::util::XLockable;
71 interface ::com::sun::star::container::XChild;
is raised when an operation is attemption at an XUndoManager which requires a non-empty stack of undo...
Definition EmptyUndoStackException.idl:29
is thrown when an operation is attempted at an XUndoManager which requires all undo contexts to be cl...
Definition UndoContextNotClosedException.idl:29
thrown when reverting to re-applying an undoable action fails.
Definition UndoFailedException.idl:31
represents a single (undoable) action on a document
Definition XUndoAction.idl:28
implemented by components which want to be notified of changes in the Undo/Redo stacks of an Undo man...
Definition XUndoManagerListener.idl:30
provides access to the undo/redo stacks of a document
Definition XUndoManager.idl:61
string getCurrentRedoActionTitle()
returns the title of the top-most action on the Redo stack
boolean isRedoPossible()
determines whether redo() can reasonably be expected to succeed.
void undo()
reverts the most recent action on the document.
void clearRedo()
clears the redo stack.
void enterUndoContext([in] string iTitle)
enters a new undo context.
void enterHiddenUndoContext()
enters a new undo context, creating a hidden undo action.
boolean isUndoPossible()
determines whether undo() can reasonably be expected to succeed.
void addUndoAction([in] XUndoAction iAction)
adds the given undo action to the undo stack.
string getCurrentUndoActionTitle()
returns the title of the top-most action on the undo stack
sequence< string > getAllUndoActionTitles()
returns the titles of all actions currently on the undo stack, from top to bottom
void removeUndoManagerListener([in] XUndoManagerListener iListener)
removes a previously added listener
void addUndoManagerListener([in] XUndoManagerListener iListener)
adds a listener to be notified of changes in the Undo/Redo stacks.
void leaveUndoContext()
leaves the undo context previously opened via enterUndoContext() respectively enterHiddenUndoContext(...
void redo()
replays the action on the document which has most recently been undone
void clear()
clears the undo and the redo stack.
void reset()
resets the Undo manager
sequence< string > getAllRedoActionTitles()
returns the titles of all actions currently on the Redo stack, from top to bottom
Office document related interfaces.
Definition AmbigousFilterRequest.idl:21
General UNO concepts like factories etc.
Definition ArrayIndexOutOfBoundsException.idl:22
Miscellaneous interfaces for sorting, connecting objects etc.
Definition XVndSunStarExpandUrl.idl:20
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20