bump product version to 4.1.6.2
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XApplication.idl
blob4e8c1855ce2c563c6fab7ba57c3b5f923c47878c
1 /*
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 __ooo_vba_excel_XApplication_idl__
19 #define __ooo_vba_excel_XApplication_idl__
21 #include <com/sun/star/beans/XExactName.idl>
22 #include <com/sun/star/script/XInvocation.idl>
23 #include <ooo/vba/XHelperInterface.idl>
24 #include <ooo/vba/XAssistant.idl>
26 module ooo { module vba { module excel {
28 interface XRange;
29 interface XWorkbook;
30 interface XWorkbooks;
31 interface XWorksheets;
32 interface XWorksheetFunction;
33 interface XWindow;
34 interface XWorksheet;
36 interface XApplication
38 // Application serves as WorksheetFunction object with little differences
39 interface ::com::sun::star::beans::XExactName;
40 interface ::com::sun::star::script::XInvocation;
42 // interface ::ooo::vba::XHelperInterface;
44 [attribute, readonly] any Selection;
45 [attribute, readonly] XWorkbook ActiveWorkbook;
46 [attribute, readonly] XRange ActiveCell;
47 [attribute, readonly] XWindow ActiveWindow;
48 [attribute, readonly] XWorksheet ActiveSheet;
49 [attribute, readonly] ooo::vba::XAssistant Assistant;
50 [attribute] long Calculation;
51 [attribute, readonly] XWorkbook ThisWorkbook;
52 [attribute, readonly] string Name;
53 [attribute] boolean DisplayAlerts;
54 [attribute] boolean DisplayFormulaBar;
55 [attribute] any CutCopyMode;
56 [attribute] any StatusBar;
57 [attribute] long Cursor;
58 [attribute] boolean EnableEvents;
59 [attribute] boolean EnableCancelKey;
60 [attribute] boolean DisplayFullScreen;
61 [attribute] boolean DisplayScrollBars;
62 [attribute] boolean DisplayExcel4Menus;
63 [attribute] boolean DisplayNoteIndicator;
64 [attribute] boolean ShowWindowsInTaskbar;
65 [attribute] boolean Iteration;
66 [attribute, readonly] string LibraryPath;
67 [attribute, readonly] string TemplatesPath;
68 [attribute, readonly] string PathSeparator;
70 void setDefaultFilePath([in] string DefaultFilePath) raises(com::sun::star::script::BasicErrorException);
72 string getDefaultFilePath() raises(com::sun::star::script::BasicErrorException);
74 any International( [in] long Index );
75 any Workbooks( [in] any Index );
76 any Worksheets( [in] any Index );
77 any Windows( [in] any Index );
78 any WorksheetFunction();
79 any Evaluate( [in] string Name );
80 any Dialogs( [in] any DialogIndex );
81 any Range( [in] any Cell1, [in] any Cell2 );
82 any Names( [in] any Index );
83 void GoTo( [in] any Reference, [in] any Scroll );
85 void wait( [in] double time );
86 void Calculate() raises(com::sun::star::script::BasicErrorException);
87 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)
88 raises(com::sun::star::script::BasicErrorException);
89 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)
90 raises(com::sun::star::script::BasicErrorException);
91 double InchesToPoints( [in] double Inches );
92 void Volatile([in] any Volatile);
93 any Caller( [in] any Index );
94 any MenuBars( [in] any aIndex );
95 void Undo();
98 }; }; };
100 #endif