merge the formfield patch from ooo-build
[ooovba.git] / oovbaapi / ooo / vba / XCommandBar.idl
blobe0b178181d9fda32cd737b78c29d5c8a0ba13827
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile$
7 * $Revision$
9 * last change: $Author$ $Date$
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 * MA 02111-1307 USA
34 ************************************************************************/
35 #ifndef __ooo_vba_XCommandBar_idl__
36 #define __ooo_vba_XCommandBar_idl__
38 #ifndef __com_sun_star_uno_XInterface_idl__
39 #include <com/sun/star/uno/XInterface.idl>
40 #endif
42 #ifndef __ooo_vba_XHelperInterface_idl__
43 #include <ooo/vba/XHelperInterface.idl>
44 #endif
45 //=============================================================================
47 module ooo { module vba {
48 //=============================================================================
49 interface XCommandBarControls;
51 interface XCommandBar
53 interface XHelperInterface;
55 [attribute] string Name;
56 [attribute] boolean Visible;
57 [attribute] boolean Enabled;
59 void Delete() raises ( com::sun::star::script::BasicErrorException );
60 any Controls( [in] any Index ) raises ( com::sun::star::script::BasicErrorException );
61 long Type() raises ( com::sun::star::script::BasicErrorException );
62 any FindControl( [in] any Type, [in] any Id, [in] any Tag, [in] any Visible, [in] any Recursive ) raises ( com::sun::star::script::BasicErrorException );
65 }; };
67 #endif