XUndoManager.idl (f55dbc43) XUndoManager.idl (f82eb0bb)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 23 unchanged lines hidden (view full) ---

32#include <com/sun/star/container/XChild.idl>
33#include <com/sun/star/lang/IllegalArgumentException.idl>
34#include <com/sun/star/lang/WrappedTargetException.idl>
35
36//==================================================================================================================
37
38module com { module sun { module star { module document {
39
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 23 unchanged lines hidden (view full) ---

32#include <com/sun/star/container/XChild.idl>
33#include <com/sun/star/lang/IllegalArgumentException.idl>
34#include <com/sun/star/lang/WrappedTargetException.idl>
35
36//==================================================================================================================
37
38module com { module sun { module star { module document {
39
40published interface XUndoAction;
41published interface XUndoManagerListener;
40interface XUndoAction;
41interface XUndoManagerListener;
42
43//==================================================================================================================
44
45/** provides access to the undo/redo stacks of a document
46
47 <h3>Undo</h3>
48 <p>Changes to a document usually result in recording of information how to undo those changes, if desired. A so-called
49 undo action records the information how to undo a single change. Undo actions are maintained in a stack, so that

--- 20 unchanged lines hidden (view full) ---

70 <a name="locking"></a>
71 <h3>Locking</h3>
72 <p>An Undo manager can be locked and unlocked, using the <member>XLockable::lock</member> and
73 <member>XLockable::unlock</member> methods. When it is locked, then every attempt to add an undo action, or to
74 enter or leave an Undo context, will be silently ignored.</p>
75
76 @since OpenOffice 3.4
77 */
42
43//==================================================================================================================
44
45/** provides access to the undo/redo stacks of a document
46
47 <h3>Undo</h3>
48 <p>Changes to a document usually result in recording of information how to undo those changes, if desired. A so-called
49 undo action records the information how to undo a single change. Undo actions are maintained in a stack, so that

--- 20 unchanged lines hidden (view full) ---

70 <a name="locking"></a>
71 <h3>Locking</h3>
72 <p>An Undo manager can be locked and unlocked, using the <member>XLockable::lock</member> and
73 <member>XLockable::unlock</member> methods. When it is locked, then every attempt to add an undo action, or to
74 enter or leave an Undo context, will be silently ignored.</p>
75
76 @since OpenOffice 3.4
77 */
78published interface XUndoManager
78interface XUndoManager
79{
80 /** allows <a href="#locking">locking</a> the undo manager.
81 */
82 interface ::com::sun::star::util::XLockable;
83
84 /** allows accessing the component, usually a document, which the undo manager works for.
85
86 <p><member scope="com::sun::star::container">XChild::setParent</member> is not supported, and will throw

--- 250 unchanged lines hidden ---
79{
80 /** allows <a href="#locking">locking</a> the undo manager.
81 */
82 interface ::com::sun::star::util::XLockable;
83
84 /** allows accessing the component, usually a document, which the undo manager works for.
85
86 <p><member scope="com::sun::star::container">XChild::setParent</member> is not supported, and will throw

--- 250 unchanged lines hidden ---