xref: /aoo41x/main/sc/workben/testadd.idl (revision 965758d1)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef SC_WORKBEN_TESTADD_IDL
24#define SC_WORKBEN_TESTADD_IDL
25
26#include <com/sun/star/uno/XInterface.idl>
27#include <com/sun/star/beans/XPropertySet.idl>
28#include <com/sun/star/table/XCellRange.idl>
29#include <com/sun/star/sheet/XVolatileResult.idl>
30
31
32module stardiv
33{
34module starcalc
35{
36module test
37{
38
39/** test-interface for an AddIn implementation
40 */
41[ uik(2DB48150-7FBB-11d3-9F510050-042A51C9), ident("XTestAddIn", 1.0) ]
42interface XTestAddIn:com::sun::star::uno::XInterface
43{
44	long countParams([in]sequence<any> aArgs);
45	double addOne([in]double fValue);
46	string repeatStr([in]string aStr, [in]long nCount);
47	string getDateString([in]com::sun::star::beans::XPropertySet xCaller, [in]double fValue);
48	long getColorValue([in]com::sun::star::table::XCellRange xRange);
49	sequence< sequence<double> > transpose([in]sequence< sequence<double> > aMatrix);
50	sequence< sequence<long> > transposeInt([in]sequence< sequence<long> > aMatrix);
51	com::sun::star::sheet::XVolatileResult callAsync([in]string aString);
52	string repeatMultiple([in]long nCount, [in]any aFirst, [in]sequence<any> aFollow);
53	any getStrOrVal([in]long nFlag);
54};
55
56};
57};
58};
59
60
61
62#endif
63
64