summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/document
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-25 12:48:42 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-25 12:48:42 +0200
commit57c21148af2d385ce8b40207b33f0518f4a38378 (patch)
tree2d9390f733ac59f027e980433babfb2104cfa37d /offapi/com/sun/star/document
parentc90d7a8bc8525741ea7b3bbd2bf6e3ca34d0f011 (diff)
undoapi: implementation/tests for hidden Undo contexts
Diffstat (limited to 'offapi/com/sun/star/document')
-rwxr-xr-xoffapi/com/sun/star/document/XUndoManagerListener.idl13
1 files changed, 13 insertions, 0 deletions
diff --git a/offapi/com/sun/star/document/XUndoManagerListener.idl b/offapi/com/sun/star/document/XUndoManagerListener.idl
index c018b9474506..4917bd83d645 100755
--- a/offapi/com/sun/star/document/XUndoManagerListener.idl
+++ b/offapi/com/sun/star/document/XUndoManagerListener.idl
@@ -103,10 +103,22 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
one just left.</p>
@see XUndoManager::leaveUndoContext
+ @see leftHiddenUndocontext
@see cancelledUndoContext
*/
void leftUndoContext( [in] UndoManagerEvent i_event );
+ /** is calledn when a hidden Undo context has been left.
+
+ <p><member>UndoManagerEvent::UndoActionTitle</member> is empty, as hidden Undo contexts don't have
+ a title.</p>
+
+ @see XUndoManager::leaveHiddenUndoContext
+ @see leftUndoContext
+ @see cancelledUndoContext
+ */
+ void leftHiddenUndoContext( [in] UndoManagerEvent i_event );
+
/** is called when an Undo context has been left, but no actions have been added within this context.
<p>In such a case, the context which has just been left will not contribute to the Undo stack, but instead
@@ -114,6 +126,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener
@see XUndoManager::leaveUndoContext
@see leftUndoContext
+ @see leftHiddenUndocontext
*/
void cancelledUndoContext( [in] UndoManagerEvent i_event );
};