tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / form / XUpdateBroadcaster.idl
blob374432565ee7b7fc3c5442ddbbe75b0fa61bba5c
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 form {
25 /** is the broadcaster interface for sending "approveUpdate" and "updated" events.
27 <p>The component supporting this interface must do approval calls
28 (XUpdateListener::approveUpdate()) immediately
29 before the data is updated, and notification calls
30 (XUpdateListener::updated()) immediately afterwards.</p>
32 @see XUpdateListener
34 published interface XUpdateBroadcaster: com::sun::star::uno::XInterface
37 /** adds the specified listener to receive the events "approveUpdate"
38 and "updated".
39 @param aListener
40 the listener to add.
41 @see com::sun::star::form::XUpdateListener
43 void addUpdateListener( [in] com::sun::star::form::XUpdateListener aListener );
46 /** removes the specified listener.
47 @param aListener
48 the listener to remove.
49 @see com::sun::star::form::XUpdateListener
51 void removeUpdateListener( [in] com::sun::star::form::XUpdateListener aListener );
56 }; }; }; };
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */