tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / document / XActionLockable.idl
blob2b85fa49bd9bf5ae54c0f1f5f847cbeec3f4642b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com { module sun { module star { module document {
25 /** makes it possible to prevent object internal updates for a certain period
26 to be able to quickly change multiple parts of the objects, where the
27 updates would invalidate each other, anyway.
29 published interface XActionLockable: com::sun::star::uno::XInterface
31 /** @returns
32 `TRUE` if at least one lock exists.
34 boolean isActionLocked();
36 /** increments the lock count of the object by one.
38 void addActionLock();
40 /** decrements the lock count of the object by one.
42 void removeActionLock();
44 /** sets the locking level.
46 <p>This method is used for debugging purposes. The programming
47 environment can restore the locking after a break of a debug
48 session.</p>
50 void setActionLocks( [in] short nLock );
52 /** resets the locking level.
54 <p>This method is used for debugging purposes. The debugging
55 environment of a programming language can reset the locks
56 to allow refreshing of the view if a breakpoint is reached or
57 step execution is used. </p>
59 short resetActionLocks();
64 }; }; }; };
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */