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;
74 interface ::com::sun::star::util::XLockable;
81 interface ::com::sun::star::container::XChild;
98 void enterUndoContext(
131 void enterHiddenUndoContext()
151 void leaveUndoContext()
152 raises( ::com::sun::star::util::InvalidStateException );
172 raises( ::com::sun::star::lang::IllegalArgumentException );
195 raises( ::com::sun::star::document::EmptyUndoStackException,
219 raises( ::com::sun::star::document::EmptyUndoStackException,
220 ::com::sun::star::document::UndoContextNotClosedException,
221 ::com::sun::star::document::UndoFailedException );
229 boolean isUndoPossible();
237 boolean isRedoPossible();
246 string getCurrentUndoActionTitle()
247 raises( ::com::sun::star::document::EmptyUndoStackException );
255 string getCurrentRedoActionTitle()
256 raises( ::com::sun::star::document::EmptyUndoStackException );
262 getAllUndoActionTitles();
269 getAllRedoActionTitles();
280 raises( ::com::sun::star::document::UndoContextNotClosedException );
291 raises( ::com::sun::star::document::UndoContextNotClosedException );
311 void addUndoManagerListener(
317 void removeUndoManagerListener(
represents a single (undoable) action on a document
Definition: XUndoAction.idl:32
provides access to the undo/redo stacks of a document
Definition: XUndoManager.idl:70
thrown when reverting to re-applying an undoable action fails.
Definition: UndoFailedException.idl:34
is thrown when an operation is attempted at an XUndoManager which requires all undo contexts to be cl...
Definition: UndoContextNotClosedException.idl:32
implemented by components which want to be notified of changes in the Undo/Redo stacks of an Undo man...
Definition: XUndoManagerListener.idl:34
is raised when an operation is attemption at an XUndoManager which requires a non-empty stack of undo...
Definition: EmptyUndoStackException.idl:32