xref: /aoo4110/main/oovbaapi/ooo/vba/excel/XGlobals.idl (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __ooo_vba_excel_XGlobals_idl__
24#define __ooo_vba_excel_XGlobals_idl__
25
26#ifndef __com_sun_star_uno_XInterface_idl__
27#include <com/sun/star/uno/XInterface.idl>
28#endif
29#ifndef __com_sun_star_script_BasicErrorException_idl__
30#include <com/sun/star/script/BasicErrorException.idl>
31#endif
32#ifndef __ooo_vba_excel_XWorkbook_idl__
33#include <ooo/vba/excel/XWorkbook.idl>
34#endif
35#ifndef __ooo_vba_excel_XWorksheet_idl__
36#include <ooo/vba/excel/XWorksheet.idl>
37#endif
38#ifndef __ooo_vba_XAssistant_idl__
39#include <ooo/vba/XAssistant.idl>
40#endif
41#ifndef __ooo_vba_excel_XApplication_idl__
42#include <ooo/vba/excel/XApplication.idl>
43#endif
44
45
46module ooo {  module vba {  module excel {
47interface XRange;
48interface XWindow;
49interface XGlobals: com::sun::star::uno::XInterface
50{
51	[attribute, readonly] ooo::vba::excel::XWorkbook ActiveWorkbook;
52	[attribute, readonly] ooo::vba::excel::XWorksheet ActiveSheet;
53	[attribute, readonly] ooo::vba::excel::XWindow ActiveWindow;
54	[attribute, readonly] ooo::vba::excel::XRange ActiveCell;
55	[attribute, readonly] ooo::vba::XAssistant Assistant;
56	[attribute, readonly] any Selection;
57	[attribute, readonly] XWorkbook ThisWorkbook;
58	[attribute, readonly] ooo::vba::excel::XApplication Excel;
59	[attribute, readonly] any Debug;
60
61
62	void Calculate() raises(com::sun::star::script::BasicErrorException);
63	XRange Cells([in] any RowIndex, [in] any ColumnIndex);
64	XRange Columns([in] any Index);
65	any CommandBars( [in] any Index );
66	any Evaluate( [in] string Name );
67XRange 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)
68        raises(com::sun::star::script::BasicErrorException);
69	any WorkSheets( [in] any Index );
70	any WorkBooks( [in] any Index );
71	any WorksheetFunction();
72	any Windows( [in] any Index );
73	any Sheets( [in] any Index );
74	any Range( [in] any Cell1, [in] any Cell2 );
75	XRange Rows([in] any Index);
76	any Names( [in] any Index );
77	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)
78        raises(com::sun::star::script::BasicErrorException);
79
80};
81
82}; }; };
83
84#endif
85
86
87