xref: /aoo41x/main/oovbaapi/ooo/vba/excel/XGlobals.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 __ooo_vba_excel_XGlobals_idl__
28#define __ooo_vba_excel_XGlobals_idl__
29
30#ifndef __com_sun_star_uno_XInterface_idl__
31#include <com/sun/star/uno/XInterface.idl>
32#endif
33#ifndef __com_sun_star_script_BasicErrorException_idl__
34#include <com/sun/star/script/BasicErrorException.idl>
35#endif
36#ifndef __ooo_vba_excel_XWorkbook_idl__
37#include <ooo/vba/excel/XWorkbook.idl>
38#endif
39#ifndef __ooo_vba_excel_XWorksheet_idl__
40#include <ooo/vba/excel/XWorksheet.idl>
41#endif
42#ifndef __ooo_vba_XAssistant_idl__
43#include <ooo/vba/XAssistant.idl>
44#endif
45#ifndef __ooo_vba_excel_XApplication_idl__
46#include <ooo/vba/excel/XApplication.idl>
47#endif
48
49
50module ooo {  module vba {  module excel {
51interface XRange;
52interface XWindow;
53interface XGlobals: com::sun::star::uno::XInterface
54{
55	[attribute, readonly] ooo::vba::excel::XWorkbook ActiveWorkbook;
56	[attribute, readonly] ooo::vba::excel::XWorksheet ActiveSheet;
57	[attribute, readonly] ooo::vba::excel::XWindow ActiveWindow;
58	[attribute, readonly] ooo::vba::excel::XRange ActiveCell;
59	[attribute, readonly] ooo::vba::XAssistant Assistant;
60	[attribute, readonly] any Selection;
61	[attribute, readonly] XWorkbook ThisWorkbook;
62	[attribute, readonly] ooo::vba::excel::XApplication Excel;
63	[attribute, readonly] any Debug;
64
65
66	void Calculate() raises(com::sun::star::script::BasicErrorException);
67	XRange Cells([in] any RowIndex, [in] any ColumnIndex);
68	XRange Columns([in] any Index);
69	any CommandBars( [in] any Index );
70	any Evaluate( [in] string Name );
71XRange 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)
72        raises(com::sun::star::script::BasicErrorException);
73	any WorkSheets( [in] any Index );
74	any WorkBooks( [in] any Index );
75	any WorksheetFunction();
76	any Windows( [in] any Index );
77	any Sheets( [in] any Index );
78	any Range( [in] any Cell1, [in] any Cell2 );
79	XRange Rows([in] any Index);
80	any Names( [in] any Index );
81	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)
82        raises(com::sun::star::script::BasicErrorException);
83
84};
85
86}; }; };
87
88#endif
89
90
91