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