LibreOffice
LibreOffice 7.3 SDK API Reference
XEventAttacher.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19#ifndef __com_sun_star_script_XEventAttacher_idl__
20#define __com_sun_star_script_XEventAttacher_idl__
21
23
25
27
29
31
33
35
36
37
38 module com { module sun { module star { module script {
39
44{
52 [in] any aHelper,
53 [in] string aListenerType,
54 [in] string aAddListenerParam )
59
69 [in] any aHelper,
70 [in] string aListenerType,
71 [in] string aAddListenerParam,
72 [in] string aEventMethod )
77
84 [in] string aListenerType,
85 [in] string aRemoveListenerParam,
86 [in] com::sun::star::lang::XEventListener xToRemoveListener )
89
90};
91
92
93}; }; }; };
94
95#endif
96
97/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown when an exception happens during introspection.
Definition: IntrospectionException.idl:35
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This exception is thrown when a needed service is not found.
Definition: ServiceNotRegisteredException.idl:34
is thrown by an attacher if an adapter service cannot create the appropriate adapter.
Definition: CannotCreateAdapterException.idl:36
base interface for all event listeners interfaces.
Definition: XEventListener.idl:33
specifies a listener combining all methods of a listener interface in a single generic call.
Definition: XAllListener.idl:39
makes it possible to attach script events given by a sequence of ScriptEventDescriptor structures to ...
Definition: XEventAttacher.idl:44
void removeListener([in] com::sun::star::uno::XInterface xTarget, [in] string aListenerType, [in] string aRemoveListenerParam, [in] com::sun::star::lang::XEventListener xToRemoveListener)
removes a listener object as a listener from the given interface.
com::sun::star::lang::XEventListener attachListener([in] com::sun::star::uno::XInterface xTarget, [in] com::sun::star::script::XAllListener xAllListener, [in] any aHelper, [in] string aListenerType, [in] string aAddListenerParam)
registers the given "AllListener" object as a listener at the given interface by creating a suitable ...
com::sun::star::lang::XEventListener attachSingleEventListener([in] com::sun::star::uno::XInterface xTarget, [in] com::sun::star::script::XAllListener xAllListener, [in] any aHelper, [in] string aListenerType, [in] string aAddListenerParam, [in] string aEventMethod)
registers an object as a listener at the given interface by creating a suitable listener adapter and ...
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Accessible.idl:22