LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
XIdlMethod.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 reflection {
23
24
published
interface
XIdlClass;
25
26
29
published
interface
XIdlMethod
:
com::sun::star::reflection::XIdlMember
30
{
36
XIdlClass
getReturnType
();
37
44
sequence<XIdlClass>
getParameterTypes
();
45
54
sequence<ParamInfo>
getParameterInfos
();
55
61
sequence<com::sun::star::reflection::XIdlClass>
getExceptionTypes
();
62
70
com::sun::star::reflection::MethodMode
getMode
();
71
95
any
invoke
(
96
[in] any obj,
97
[inout] sequence<any> args )
98
raises(
com::sun::star::lang::IllegalArgumentException
,
99
com::sun::star::reflection::InvocationTargetException
);
100
};
101
102
103
}; }; }; };
104
105
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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::reflection::InvocationTargetException
This exception denotes a checked exception (wrapping an originating exception) and may be thrown upon...
Definition
InvocationTargetException.idl:31
com::sun::star::reflection::XIdlClass
Provides information reflecting a UNO type.
Definition
XIdlClass.idl:31
com::sun::star::reflection::XIdlMember
Base interface for XIdlField2s and XIdlMethods.
Definition
XIdlMember.idl:29
com::sun::star::reflection::XIdlMethod
Reflects an IDL interface method.
Definition
XIdlMethod.idl:30
com::sun::star::reflection::XIdlMethod::invoke
any invoke([in] any obj, [inout] sequence< any > args)
Invokes the reflected method on a given object with the given parameters.
com::sun::star::reflection::XIdlMethod::getParameterTypes
sequence< XIdlClass > getParameterTypes()
Returns the formal parameter types of the reflected method in order of IDL declaration.
com::sun::star::reflection::XIdlMethod::getMode
com::sun::star::reflection::MethodMode getMode()
Returns the method mode in which calls are run, i.e.
com::sun::star::reflection::XIdlMethod::getReturnType
XIdlClass getReturnType()
Returns the return type of the reflected method.
com::sun::star::reflection::XIdlMethod::getParameterInfos
sequence< ParamInfo > getParameterInfos()
Returns formal parameter information of the reflected method in order of IDL declaration.
com::sun::star::reflection::XIdlMethod::getExceptionTypes
sequence< com::sun::star::reflection::XIdlClass > getExceptionTypes()
Returns the declared exceptions types of the reflected method.
com::sun::star::reflection::MethodMode
MethodMode
MethodMode denotes the mode in which method calls are run, i.e.
Definition
MethodMode.idl:30
com
Definition
Ambiguous.idl:20
com
sun
star
reflection
XIdlMethod.idl
Generated by
1.17.0