2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 #ifndef SC_WORKBEN_TESTADD_IDL
19 #define SC_WORKBEN_TESTADD_IDL
21 #include
<com
/sun
/star
/uno
/XInterface.idl
>
22 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
23 #include
<com
/sun
/star
/table
/XCellRange.idl
>
24 #include
<com
/sun
/star
/sheet
/XVolatileResult.idl
>
34 /** test-interface for an AddIn implementation
36 [ uik
(2DB48150
-7FBB
-11d3
-9F510050
-042A51C9
), ident
("XTestAddIn", 1.0) ]
37 interface XTestAddIn
:com
::sun
::star
::uno
::XInterface
39 long countParams
([in]sequence
<any
> aArgs
);
40 double addOne
([in]double fValue
);
41 string repeatStr
([in]string aStr
, [in]long nCount
);
42 string getDateString
([in]com
::sun
::star
::beans
::XPropertySet xCaller
, [in]double fValue
);
43 long getColorValue
([in]com
::sun
::star
::table
::XCellRange xRange
);
44 sequence
< sequence
<double> > transpose
([in]sequence
< sequence
<double> > aMatrix
);
45 sequence
< sequence
<long> > transposeInt
([in]sequence
< sequence
<long> > aMatrix
);
46 com
::sun
::star
::sheet
::XVolatileResult callAsync
([in]string aString
);
47 string repeatMultiple
([in]long nCount
, [in]any aFirst
, [in]sequence
<any
> aFollow
);
48 any getStrOrVal
([in]long nFlag
);