LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
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
20
21
22
module
com
{ module sun { module star { module script {
23
27
published
interface
XEventAttacher
:
com::sun::star::uno::XInterface
28
{
34
com::sun::star::lang::XEventListener
attachListener
( [in]
com::sun::star::uno::XInterface
xTarget,
35
[in]
com::sun::star::script::XAllListener
xAllListener,
36
[in] any aHelper,
37
[in]
string
aListenerType,
38
[in]
string
aAddListenerParam )
39
raises(
com::sun::star::lang::IllegalArgumentException
,
40
com::sun::star::beans::IntrospectionException
,
41
com::sun::star::script::CannotCreateAdapterException
,
42
com::sun::star::lang::ServiceNotRegisteredException
);
43
51
com::sun::star::lang::XEventListener
attachSingleEventListener
( [in]
com::sun::star::uno::XInterface
xTarget,
52
[in]
com::sun::star::script::XAllListener
xAllListener,
53
[in] any aHelper,
54
[in]
string
aListenerType,
55
[in]
string
aAddListenerParam,
56
[in]
string
aEventMethod )
57
raises(
com::sun::star::lang::IllegalArgumentException
,
58
com::sun::star::beans::IntrospectionException
,
59
com::sun::star::script::CannotCreateAdapterException
,
60
com::sun::star::lang::ServiceNotRegisteredException
);
61
67
void
removeListener
( [in]
com::sun::star::uno::XInterface
xTarget,
68
[in]
string
aListenerType,
69
[in]
string
aRemoveListenerParam,
70
[in]
com::sun::star::lang::XEventListener
xToRemoveListener )
71
raises(
com::sun::star::lang::IllegalArgumentException
,
72
com::sun::star::beans::IntrospectionException
);
73
74
};
75
76
77
}; }; }; };
78
79
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::beans::IntrospectionException
This exception is thrown when an exception happens during introspection.
Definition
IntrospectionException.idl:31
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition
IllegalArgumentException.idl:27
com::sun::star::lang::ServiceNotRegisteredException
This exception is thrown when a needed service is not found.
Definition
ServiceNotRegisteredException.idl:30
com::sun::star::script::CannotCreateAdapterException
is thrown by an attacher if an adapter service cannot create the appropriate adapter.
Definition
CannotCreateAdapterException.idl:32
com::sun::star::lang::XEventListener
base interface for all event listeners interfaces.
Definition
XEventListener.idl:27
com::sun::star::script::XAllListener
specifies a listener combining all methods of a listener interface in a single generic call.
Definition
XAllListener.idl:31
com::sun::star::script::XEventAttacher
makes it possible to attach script events given by a sequence of ScriptEventDescriptor structures to ...
Definition
XEventAttacher.idl:28
com::sun::star::script::XEventAttacher::removeListener
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::script::XEventAttacher::attachListener
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::script::XEventAttacher::attachSingleEventListener
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 ...
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition
XInterface.idl:46
com
Definition
Ambiguous.idl:20
com
sun
star
script
XEventAttacher.idl
Generated by
1.17.0