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