XUndoManager.idl (f82eb0bb) XUndoManager.idl (004b6150)
1/**************************************************************
1/**************************************************************
2 *
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
9 * with the License. You may obtain a copy of the License at
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
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_document_XUndoManager_idl__
25#define __com_sun_star_document_XUndoManager_idl__
26
27#include <com/sun/star/document/EmptyUndoStackException.idl>
28#include <com/sun/star/document/UndoContextNotClosedException.idl>
29#include <com/sun/star/document/UndoFailedException.idl>
30#include <com/sun/star/util/InvalidStateException.idl>
31#include <com/sun/star/util/XLockable.idl>
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
22#ifndef __com_sun_star_document_XUndoManager_idl__
23#define __com_sun_star_document_XUndoManager_idl__
24
25#include <com/sun/star/document/EmptyUndoStackException.idl>
26#include <com/sun/star/document/UndoContextNotClosedException.idl>
27#include <com/sun/star/document/UndoFailedException.idl>
28#include <com/sun/star/util/InvalidStateException.idl>
29#include <com/sun/star/util/XLockable.idl>
30#include <com/sun/star/container/XChild.idl>
31#include <com/sun/star/lang/IllegalArgumentException.idl>
32#include <com/sun/star/lang/WrappedTargetException.idl>
33
36//==================================================================================================================
37
38module com { module sun { module star { module document {
39
40interface XUndoAction;
41interface XUndoManagerListener;
42
34module com { module sun { module star { module document {
35
36interface XUndoAction;
37interface XUndoManagerListener;
38
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
50 the changes they represent can be undo in the reverse order they have originally been applied.</p>
51
52 <h3>Redo</h3>

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

322
323 /** removes a previously added listener
324 */
325 void removeUndoManagerListener(
326 [in] XUndoManagerListener i_listener
327 );
328};
329
39/** provides access to the undo/redo stacks of a document
40
41 <h3>Undo</h3>
42 <p>Changes to a document usually result in recording of information how to undo those changes, if desired. A so-called
43 undo action records the information how to undo a single change. Undo actions are maintained in a stack, so that
44 the changes they represent can be undo in the reverse order they have originally been applied.</p>
45
46 <h3>Redo</h3>

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

316
317 /** removes a previously added listener
318 */
319 void removeUndoManagerListener(
320 [in] XUndoManagerListener i_listener
321 );
322};
323
330//==================================================================================================================
331
332}; }; }; };
333
324}; }; }; };
325
334//==================================================================================================================
335
336#endif
326#endif