LibreOffice LibreOffice 6.1 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
22 #include <com/sun/star/uno/XInterface.idl>
23
24 #include <com/sun/star/lang/XEventListener.idl>
25
26 #include <com/sun/star/script/XAllListener.idl>
27
28 #include <com/sun/star/lang/IllegalArgumentException.idl>
29
30 #include <com/sun/star/beans/IntrospectionException.idl>
31
32 #include <com/sun/star/script/CannotCreateAdapterException.idl>
33
34 #include <com/sun/star/lang/ServiceNotRegisteredException.idl>
35
36
37
38 module com { module sun { module star { module script {
39
43 published interface XEventAttacher: com::sun::star::uno::XInterface
44 {
50 com::sun::star::lang::XEventListener attachListener( [in] com::sun::star::uno::XInterface xTarget,
51 [in] com::sun::star::script::XAllListener xAllListener,
52 [in] any aHelper,
53 [in] string aListenerType,
54 [in] string aAddListenerParam )
55 raises( com::sun::star::lang::IllegalArgumentException,
56 com::sun::star::beans::IntrospectionException,
57 com::sun::star::script::CannotCreateAdapterException,
58 com::sun::star::lang::ServiceNotRegisteredException );
59
67 com::sun::star::lang::XEventListener attachSingleEventListener( [in] com::sun::star::uno::XInterface xTarget,
68 [in] com::sun::star::script::XAllListener xAllListener,
69 [in] any aHelper,
70 [in] string aListenerType,
71 [in] string aAddListenerParam,
72 [in] string aEventMethod )
73 raises( com::sun::star::lang::IllegalArgumentException,
74 com::sun::star::beans::IntrospectionException,
75 com::sun::star::script::CannotCreateAdapterException,
76 com::sun::star::lang::ServiceNotRegisteredException );
77
83 void removeListener( [in] com::sun::star::uno::XInterface xTarget,
84 [in] string aListenerType,
85 [in] string aRemoveListenerParam,
86 [in] com::sun::star::lang::XEventListener xToRemoveListener )
87 raises( com::sun::star::lang::IllegalArgumentException,
88 com::sun::star::beans::IntrospectionException );
89
90 };
91
92
93 }; }; }; };
94
95 #endif
96
97 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::script::XEventAttacher
makes it possible to attach script events given by a sequence of ScriptEventDescriptor structures to ...
Definition: XEventAttacher.idl:43
com::sun::star::lang::XEventListener
base interface for all event listeners interfaces.
Definition: XEventListener.idl:32
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
ServiceNotRegisteredException.idl
IntrospectionException.idl
com::sun::star::script::CannotCreateAdapterException
is thrown by an attacher if an adapter service cannot create the appropriate adapter.
Definition: CannotCreateAdapterException.idl:35
CannotCreateAdapterException.idl
com::sun::star::script::XAllListener
specifies a listener combining all methods of a listener interface in a single generic call...
Definition: XAllListener.idl:38
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
XInterface.idl
com::sun::star::beans::IntrospectionException
This exception is thrown when an exception happens during introspection.
Definition: IntrospectionException.idl:34
XAllListener.idl
XEventListener.idl
com::sun::star::lang::ServiceNotRegisteredException
This exception is thrown when a needed service is not found.
Definition: ServiceNotRegisteredException.idl:33
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47