xref: /aoo41x/main/sc/workben/testadd.idl (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27#ifndef SC_WORKBEN_TESTADD_IDL
28#define SC_WORKBEN_TESTADD_IDL
29
30#include <com/sun/star/uno/XInterface.idl>
31#include <com/sun/star/beans/XPropertySet.idl>
32#include <com/sun/star/table/XCellRange.idl>
33#include <com/sun/star/sheet/XVolatileResult.idl>
34
35
36module stardiv
37{
38module starcalc
39{
40module test
41{
42
43/** test-interface for an AddIn implementation
44 */
45[ uik(2DB48150-7FBB-11d3-9F510050-042A51C9), ident("XTestAddIn", 1.0) ]
46interface XTestAddIn:com::sun::star::uno::XInterface
47{
48	long countParams([in]sequence<any> aArgs);
49	double addOne([in]double fValue);
50	string repeatStr([in]string aStr, [in]long nCount);
51	string getDateString([in]com::sun::star::beans::XPropertySet xCaller, [in]double fValue);
52	long getColorValue([in]com::sun::star::table::XCellRange xRange);
53	sequence< sequence<double> > transpose([in]sequence< sequence<double> > aMatrix);
54	sequence< sequence<long> > transposeInt([in]sequence< sequence<long> > aMatrix);
55	com::sun::star::sheet::XVolatileResult callAsync([in]string aString);
56	string repeatMultiple([in]long nCount, [in]any aFirst, [in]sequence<any> aFollow);
57	any getStrOrVal([in]long nFlag);
58};
59
60};
61};
62};
63
64
65
66#endif
67
68