diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-16 12:22:48 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-16 12:22:48 +0100 |
commit | 637b3c6ad394cd86b445c5a2dd47dae270e8c22f (patch) | |
tree | 56667d4e80a92d5e73cf9ba199716b0a2c9952d6 /offapi | |
parent | bbcdafc09727991f3f8bdcc45f7d734e18c778d0 (diff) |
undoapi: derive XUndoManager from XChild, to allow convenient access to the document it belongs to
Diffstat (limited to 'offapi')
-rwxr-xr-x | offapi/com/sun/star/document/XUndoManager.idl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl index 0dbbaba2c..35a64ee7c 100755 --- a/offapi/com/sun/star/document/XUndoManager.idl +++ b/offapi/com/sun/star/document/XUndoManager.idl @@ -32,6 +32,7 @@ #include <com/sun/star/document/UndoFailedException.idl> #include <com/sun/star/util/InvalidStateException.idl> #include <com/sun/star/util/XLockable.idl> +#include <com/sun/star/container/XChild.idl> #include <com/sun/star/lang/IllegalArgumentException.idl> #include <com/sun/star/lang/WrappedTargetException.idl> @@ -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. + + <p><member scope="com::sun::star::container">XChild::setParent</member> is not supported, and will throw + an <type scope="com::sun::star::lang">NoSupportException</type>.</p> + */ + interface ::com::sun::star::container::XChild; + /** enters a new undo context. <p>A new undo action will be added to the undo stack, with the title given as <code>i_title</code>. As long |