From 00f0883d4763957e20c5116375654a7978510124 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Tue, 16 Nov 2010 12:22:48 +0100 Subject: undoapi: derive XUndoManager from XChild, to allow convenient access to the document it belongs to --- offapi/com/sun/star/document/XUndoManager.idl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'offapi/com/sun/star/document') diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl index 9d8b3e11974f..5ac7118dc51d 100755 --- a/offapi/com/sun/star/document/XUndoManager.idl +++ b/offapi/com/sun/star/document/XUndoManager.idl @@ -32,6 +32,7 @@ #include #include #include +#include #include #include @@ -81,6 +82,13 @@ interface XUndoManager */ interface ::com::sun::star::util::XLockable; + /** allows accessing the component, usually a document, which the undo manager works for. + +

XChild::setParent is not supported, and will throw + an NoSupportException.

+ */ + interface ::com::sun::star::container::XChild; + /** enters a new undo context.

A new undo action will be added to the undo stack, with the title given as i_title. As long -- cgit