merged tag ooo/OOO330_m14
[LibreOffice.git] / udkapi / com / sun / star / script / XInvocation2.idl
blob5cc24aa3bd3880ef2cc245eaa3342e06e0842674
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_script_XInvocation2_idl__
28 #define __com_sun_star_script_XInvocation2_idl__
30 #ifndef __com_sun_star_script_XInvocation_idl__
31 #include <com/sun/star/script/XInvocation.idl>
32 #endif
34 #ifndef __com_sun_star_script_InvocationInfo_idl__
35 #include <com/sun/star/script/InvocationInfo.idl>
36 #endif
38 //=============================================================================
40 module com { module sun { module star { module script {
42 //=============================================================================
44 /**
45 Extension of XInvocation to provide additional information
46 about the methods and properties that are accessable via
47 XInvocation.
48 </p>
50 published interface XInvocation2: com::sun::star::script::XInvocation
52 /** returns the names of all methods and properties accessable via XInvocation.
54 sequence< string > getMemberNames();
56 /** returns information items for all methods and properties accessable via XInvocation.
58 @see com::sun::star::script::Invocation
60 sequence< InvocationInfo > getInfo();
62 /** returns information item for the method or property defined by aName
64 @param aName
65 specifies the name of the method or property
67 @param bExact
68 specifies the name of the method or property
70 @throws IllegalArgumentException
71 if aName is not the name of a supported method or property
73 @see com::sun::star::script::Invocation
75 InvocationInfo getInfoForName( [in] string aName, [in] boolean bExact )
76 raises( com::sun::star::lang::IllegalArgumentException );
80 //=============================================================================
82 }; }; }; };
84 #endif