1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 __ooo_vba_excel_XGlobals_idl__
20 #define __ooo_vba_excel_XGlobals_idl__
22 #include
<com
/sun
/star
/uno
/XInterface.idl
>
23 #include
<com
/sun
/star
/script
/BasicErrorException.idl
>
24 #include
<ooo
/vba
/excel
/XWorkbook.idl
>
25 #include
<ooo
/vba
/excel
/XWorksheet.idl
>
26 #include
<ooo
/vba
/XAssistant.idl
>
27 #include
<ooo
/vba
/excel
/XApplication.idl
>
30 module ooo
{ module vba
{ module excel
{
33 interface XGlobals
: com
::sun
::star
::uno
::XInterface
35 [attribute
, readonly] ooo
::vba
::excel
::XWorkbook ActiveWorkbook
;
36 [attribute
, readonly] ooo
::vba
::excel
::XWorksheet ActiveSheet
;
37 [attribute
, readonly] ooo
::vba
::excel
::XWindow ActiveWindow
;
38 [attribute
, readonly] ooo
::vba
::excel
::XRange ActiveCell
;
39 [attribute
, readonly] ooo
::vba
::XAssistant Assistant
;
40 [attribute
, readonly] any Selection
;
41 [attribute
, readonly] XWorkbook ThisWorkbook
;
42 [attribute
, readonly] ooo
::vba
::excel
::XApplication Excel
;
43 [attribute
, readonly] any Debug
;
46 void Calculate
() raises
(com
::sun
::star
::script
::BasicErrorException
);
47 XRange Cells
([in] any RowIndex
, [in] any ColumnIndex
);
48 XRange Columns
([in] any Index
);
49 any CommandBars
( [in] any Index
);
50 any Evaluate
( [in] string Name
);
51 XRange Intersect
([in] XRange Arg1
, [in] XRange Arg2
, [in] /*Optional*/ any Arg3
, [in] /*Optional*/ any Arg4
, [in] /*Optional*/ any Arg5
, [in] /*Optional*/ any Arg6
, [in] /*Optional*/ any Arg7
, [in] /*Optional*/ any Arg8
, [in] /*Optional*/ any Arg9
, [in] /*Optional*/ any Arg10
, [in] /*Optional*/ any Arg11
, [in] /*Optional*/ any Arg12
, [in] /*Optional*/ any Arg13
, [in] /*Optional*/ any Arg14
, [in] /*Optional*/ any Arg15
, [in] /*Optional*/ any Arg16
, [in] /*Optional*/ any Arg17
, [in] /*Optional*/ any Arg18
, [in] /*Optional*/ any Arg19
, [in] /*Optional*/ any Arg20
, [in] /*Optional*/ any Arg21
, [in] /*Optional*/ any Arg22
, [in] /*Optional*/ any Arg23
, [in] /*Optional*/ any Arg24
, [in] /*Optional*/ any Arg25
, [in] /*Optional*/ any Arg26
, [in] /*Optional*/ any Arg27
, [in] /*Optional*/ any Arg28
, [in] /*Optional*/ any Arg29
, [in] /*Optional*/ any Arg30
)
52 raises
(com
::sun
::star
::script
::BasicErrorException
);
53 any WorkSheets
( [in] any Index
);
54 any WorkBooks
( [in] any Index
);
55 any WorksheetFunction
();
56 any Windows
( [in] any Index
);
57 any Sheets
( [in] any Index
);
58 any
Range( [in] any Cell1
, [in] any Cell2
);
59 XRange Rows
([in] any Index
);
60 any Names
( [in] any Index
);
61 XRange
Union([in] XRange Arg1
, [in] XRange Arg2
, [in] /*Optional*/ any Arg3
, [in] /*Optional*/ any Arg4
, [in] /*Optional*/ any Arg5
, [in] /*Optional*/ any Arg6
, [in] /*Optional*/ any Arg7
, [in] /*Optional*/ any Arg8
, [in] /*Optional*/ any Arg9
, [in] /*Optional*/ any Arg10
, [in] /*Optional*/ any Arg11
, [in] /*Optional*/ any Arg12
, [in] /*Optional*/ any Arg13
, [in] /*Optional*/ any Arg14
, [in] /*Optional*/ any Arg15
, [in] /*Optional*/ any Arg16
, [in] /*Optional*/ any Arg17
, [in] /*Optional*/ any Arg18
, [in] /*Optional*/ any Arg19
, [in] /*Optional*/ any Arg20
, [in] /*Optional*/ any Arg21
, [in] /*Optional*/ any Arg22
, [in] /*Optional*/ any Arg23
, [in] /*Optional*/ any Arg24
, [in] /*Optional*/ any Arg25
, [in] /*Optional*/ any Arg26
, [in] /*Optional*/ any Arg27
, [in] /*Optional*/ any Arg28
, [in] /*Optional*/ any Arg29
, [in] /*Optional*/ any Arg30
)
62 raises
(com
::sun
::star
::script
::BasicErrorException
);
63 any MenuBars
( [in] any aIndex
);
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */