merge the formfield patch from ooo-build
[ooovba.git] / oovbaapi / ooo / vba / excel / XGlobals.idl
blob782da39ae75e7a6e6453857011290c3597f9b0ad
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XGlobals.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __ooo_vba_excel_XGlobals_idl__
31 #define __ooo_vba_excel_XGlobals_idl__
33 #ifndef __com_sun_star_uno_XInterface_idl__
34 #include <com/sun/star/uno/XInterface.idl>
35 #endif
36 #ifndef __com_sun_star_script_BasicErrorException_idl__
37 #include <com/sun/star/script/BasicErrorException.idl>
38 #endif
39 #ifndef __ooo_vba_excel_XWorkbook_idl__
40 #include <ooo/vba/excel/XWorkbook.idl>
41 #endif
42 #ifndef __ooo_vba_excel_XWorksheet_idl__
43 #include <ooo/vba/excel/XWorksheet.idl>
44 #endif
45 #ifndef __ooo_vba_XAssistant_idl__
46 #include <ooo/vba/XAssistant.idl>
47 #endif
49 module ooo { module vba { module excel {
50 interface XRange;
51 interface XWindow;
52 interface XGlobals: com::sun::star::uno::XInterface
54 [attribute, readonly] ooo::vba::excel::XWorkbook ActiveWorkbook;
55 [attribute, readonly] ooo::vba::excel::XWorksheet ActiveSheet;
56 [attribute, readonly] ooo::vba::excel::XWindow ActiveWindow;
57 [attribute, readonly] ooo::vba::excel::XRange ActiveCell;
58 [attribute, readonly] ooo::vba::XAssistant Assistant;
59 [attribute, readonly] any Selection;
60 [attribute, readonly] XWorkbook ThisWorkbook;
62 void Calculate() raises(com::sun::star::script::BasicErrorException);
63 XRange Cells([in] any RowIndex, [in] any ColumnIndex);
64 XRange Columns([in] any aIndex);
65 any CommandBars( [in] any aIndex );
66 any Evaluate( [in] string Name );
67 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)
68 raises(com::sun::star::script::BasicErrorException);
69 any WorkSheets( [in] any aIndex );
70 any WorkBooks( [in] any aIndex );
71 any WorksheetFunction();
72 any Windows( [in] any aIndex );
73 any Sheets( [in] any aIndex );
74 any Range( [in] any Cell1, [in] any Cell2 );
75 XRange Rows([in] any aIndex);
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 any MenuBars( [in] any aIndex );
83 }; }; };
85 #endif