Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / report / meta / XFunctionDescription.idl
blob30b2f89f748a70d4d560517060d93ccb40a55c56
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __com_sun_star_report_meta_XFunctionDescription_idl__
20 #define __com_sun_star_report_meta_XFunctionDescription_idl__
22 #include <com/sun/star/lang/DisposedException.idl>
23 #include <com/sun/star/lang/IllegalArgumentException.idl>
24 #include <com/sun/star/beans/XPropertySet.idl>
25 #include <com/sun/star/sheet/FunctionArgument.idl>
26 module com { module sun { module star { module report { module meta {
28 interface XFunctionCategory;
30 /** identifies a XFunctionDescription which allows to retrieve the meta data of all supported functions.
33 interface XFunctionDescription
35 /** gives access to the properties.
37 interface com::sun::star::beans::XPropertySet;
39 string createFormula([in] sequence< string > arguments )
40 raises( ::com::sun::star::lang::DisposedException,
41 com::sun::star::lang::IllegalArgumentException,
42 ::com::sun::star::uno::Exception );
44 /** specifies the category number.
46 [attribute,readonly] XFunctionCategory Category;
48 /** returns the localized function's name.
50 [attribute,readonly] string Name;
53 /** returns a localized description of the function.
55 [attribute,readonly] string Description;
57 /** returns the signature of the function.
59 [attribute,readonly] string Signature;
62 /** returns a sequence of localized descriptions of the function's
63 arguments (in the order specified by the function).
65 [attribute,readonly] sequence< com::sun::star::sheet::FunctionArgument > Arguments;
69 }; }; }; }; };
71 #endif
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */