20 #ifndef __com_sun_star_document_XUndoManager_idl__
21 #define __com_sun_star_document_XUndoManager_idl__
33 module com { module sun { module star { module document {
35 interface XUndoAction;
36 interface XUndoManagerListener;
76 interface ::com::sun::star::util::XLockable;
83 interface ::com::sun::star::container::XChild;
100 void enterUndoContext(
133 void enterHiddenUndoContext()
153 void leaveUndoContext()
154 raises( ::com::sun::star::util::InvalidStateException );
174 raises( ::com::sun::star::lang::IllegalArgumentException );
197 raises( ::com::sun::star::document::EmptyUndoStackException,
221 raises( ::com::sun::star::document::EmptyUndoStackException,
222 ::com::sun::star::document::UndoContextNotClosedException,
223 ::com::sun::star::document::UndoFailedException );
231 boolean isUndoPossible();
239 boolean isRedoPossible();
248 string getCurrentUndoActionTitle()
249 raises( ::com::sun::star::document::EmptyUndoStackException );
257 string getCurrentRedoActionTitle()
258 raises( ::com::sun::star::document::EmptyUndoStackException );
264 getAllUndoActionTitles();
271 getAllRedoActionTitles();
282 raises( ::com::sun::star::document::UndoContextNotClosedException );
293 raises( ::com::sun::star::document::UndoContextNotClosedException );
313 void addUndoManagerListener(
319 void removeUndoManagerListener(
represents a single (undoable) action on a document
Definition: XUndoAction.idl:33
provides access to the undo/redo stacks of a document
Definition: XUndoManager.idl:72
thrown when reverting to re-applying an undoable action fails.
Definition: UndoFailedException.idl:35
is thrown when an operation is attempted at an XUndoManager which requires all undo contexts to be cl...
Definition: UndoContextNotClosedException.idl:33
implemented by components which want to be notified of changes in the Undo/Redo stacks of an Undo man...
Definition: XUndoManagerListener.idl:35
is raised when an operation is attemption at an XUndoManager which requires a non-empty stack of undo...
Definition: EmptyUndoStackException.idl:33