Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / awt / UnoControlContainerModel.idl
blob5aa808878440a6704a3d5bcfad8714c36ea67f43
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: UnoControlContainerModel.idl,v $
10 * $Revision: 1.11 $
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 __com_sun_star_awt_UnoControlContainerModel_idl__
31 #define __com_sun_star_awt_UnoControlContainerModel_idl__
33 #ifndef __com_sun_star_awt_UnoControlModel_idl__
34 #include <com/sun/star/awt/UnoControlModel.idl>
35 #endif
37 #ifndef __com_sun_star_util_Color_idl__
38 #include <com/sun/star/util/Color.idl>
39 #endif
42 //=============================================================================
44 module com { module sun { module star { module awt {
46 //=============================================================================
48 /** specifies the standard model of an <type>UnoControlContainer</type>.
50 published service UnoControlContainerModel
52 service com::sun::star::awt::UnoControlModel;
54 //-------------------------------------------------------------------------
56 /** specifies the background color (RGB) of the control.
58 [property] com::sun::star::util::Color BackgroundColor;
60 //-------------------------------------------------------------------------
62 /** determines whether a control is enabled or disabled.
64 [property] boolean Enabled;
66 //-------------------------------------------------------------------------
68 /** specifies the border style of the control.
70 <pre>
71 0: No border
72 1: 3D border
73 2: simple border
74 </pre>
76 [property] short Border;
78 //-------------------------------------------------------------------------
80 /** specifies the color of the border, if present
82 <p>Not every border style (see <member>Border</member>) may support coloring.
83 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
85 @since OOo 2.0.0
87 [optional, property] long BorderColor;
89 //-------------------------------------------------------------------------
91 /** specifies whether the control will be printed with the document.
93 [property] boolean Printable;
95 //-------------------------------------------------------------------------
97 /** specifies the text displayed in the control.
99 [property] string Text;
101 //-------------------------------------------------------------------------
103 /** specifies the help text of the control.
105 [property] string HelpText;
107 //-------------------------------------------------------------------------
109 /** specifies the help URL of the control.
111 [property] string HelpURL;
115 //=============================================================================
117 }; }; }; };
119 #endif