2007-04-27 01:35:34 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* $RCSfile: XGlobals.idl,v $
|
|
|
|
* $Revision: 1.4 $
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
2008-04-11 04:06:09 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2007-04-27 01:35:34 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
2009-02-13 07:03:24 -06:00
|
|
|
#ifndef __ooo_vba_XGlobals_idl__
|
|
|
|
#define __ooo_vba_XGlobals_idl__
|
2007-04-27 01:35:34 -05:00
|
|
|
|
|
|
|
#ifndef __com_sun_star_uno_XInterface_idl__
|
|
|
|
#include <com/sun/star/uno/XInterface.idl>
|
|
|
|
#endif
|
2009-02-13 07:03:24 -06:00
|
|
|
#ifndef __ooo_vba_excel_XApplication_idl__
|
|
|
|
#include <ooo/vba/excel/XApplication.idl>
|
2007-04-27 01:35:34 -05:00
|
|
|
#endif
|
2009-02-13 07:03:24 -06:00
|
|
|
#ifndef __ooo_vba_excel_XWorkbook_idl__
|
|
|
|
#include <ooo/vba/excel/XWorkbook.idl>
|
2007-04-27 01:35:34 -05:00
|
|
|
#endif
|
2009-02-13 07:03:24 -06:00
|
|
|
#ifndef __ooo_vba_excel_XWorksheet_idl__
|
|
|
|
#include <ooo/vba/excel/XWorksheet.idl>
|
2007-04-27 01:35:34 -05:00
|
|
|
#endif
|
|
|
|
|
2009-02-13 07:03:24 -06:00
|
|
|
module ooo { module vba {
|
2007-04-27 01:35:34 -05:00
|
|
|
|
|
|
|
interface XGlobals: com::sun::star::uno::XInterface
|
|
|
|
{
|
|
|
|
// FIXME, need better way to expose globals
|
|
|
|
sequence< any > getGlobals();
|
|
|
|
|
2009-02-13 07:03:24 -06:00
|
|
|
[attribute, readonly] ooo::vba::excel::XApplication Application;
|
|
|
|
[attribute, readonly] ooo::vba::excel::XWorkbook ActiveWorkbook;
|
|
|
|
[attribute, readonly] ooo::vba::excel::XWorksheet ActiveSheet;
|
2007-04-27 01:35:34 -05:00
|
|
|
any WorkSheets( [in] any aIndex );
|
|
|
|
any WorkBooks( [in] any aIndex );
|
|
|
|
any Sheets( [in] any aIndex );
|
|
|
|
any Range( [in] any Cell1, [in] any Cell2 );
|
2009-02-13 07:03:24 -06:00
|
|
|
any Names( [in] any Index );
|
2007-04-27 01:35:34 -05:00
|
|
|
};
|
|
|
|
|
2009-02-13 07:03:24 -06:00
|
|
|
}; };
|
2007-04-27 01:35:34 -05:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|