update dev300-m58
[ooovba.git] / offapi / com / sun / star / awt / UnoControlFileControlModel.idl
blob8997919d9f7659a04e92cfc900d01dd6c9bfcc60
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: UnoControlFileControlModel.idl,v $
10 * $Revision: 1.13 $
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_UnoControlFileControlModel_idl__
31 #define __com_sun_star_awt_UnoControlFileControlModel_idl__
33 #ifndef __com_sun_star_awt_FontDescriptor_idl__
34 #include <com/sun/star/awt/FontDescriptor.idl>
35 #endif
37 #ifndef __com_sun_star_awt_UnoControlModel_idl__
38 #include <com/sun/star/awt/UnoControlModel.idl>
39 #endif
41 #ifndef __com_sun_star_util_Color_idl__
42 #include <com/sun/star/util/Color.idl>
43 #endif
46 //=============================================================================
48 module com { module sun { module star { module awt {
50 //=============================================================================
52 /** specifies the standard model of an <type>UnoControlFileControl</type>.
54 published service UnoControlFileControlModel
56 service com::sun::star::awt::UnoControlModel;
58 //-------------------------------------------------------------------------
60 /** specifies the background color (RGB) of the control.
62 [property] com::sun::star::util::Color BackgroundColor;
64 //-------------------------------------------------------------------------
66 /** specifies the border style of the control.
68 <pre>
69 0: No border
70 1: 3D border
71 2: simple border
72 </pre>
74 [property] short Border;
76 //-------------------------------------------------------------------------
78 /** specifies the color of the border, if present
80 <p>Not every border style (see <member>Border</member>) may support coloring.
81 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
83 @since OOo 2.0.0
85 [optional, property] long BorderColor;
87 //-------------------------------------------------------------------------
89 /** determines whether a control is enabled or disabled.
91 [property] boolean Enabled;
93 //-------------------------------------------------------------------------
95 /** specifies the font attributes of the text in the control.
97 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
99 //-------------------------------------------------------------------------
101 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
102 value of the text in the control.
104 [property] short FontEmphasisMark;
106 //-------------------------------------------------------------------------
108 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
109 value of the text in the control.
111 [property] short FontRelief;
113 //-------------------------------------------------------------------------
115 /** specifies the help text of the control.
117 [property] string HelpText;
119 //-------------------------------------------------------------------------
121 /** specifies the help URL of the control.
123 [property] string HelpURL;
125 //-------------------------------------------------------------------------
127 /** specifies whether the selection in the control should be hidden when
128 the control is not active (focused).
130 @since OOo 2.0.0
132 [optional, property] boolean HideInactiveSelection;
134 //-------------------------------------------------------------------------
136 /** specifies that the control will be printed with the document.
138 [property] boolean Printable;
140 //-------------------------------------------------------------------------
142 /** specifies that the content of the control cannot be modified by the user.
144 @since OOo 1.1.2
146 [optional, property] boolean ReadOnly;
148 //-------------------------------------------------------------------------
150 /** specifies that the control can be reached with the TAB key.
152 [property] boolean Tabstop;
154 //-------------------------------------------------------------------------
156 /** specifies the text displayed in the control.
158 [property] string Text;
160 //-------------------------------------------------------------------------
162 /** specifies the text color (RGB) of the control.
164 [property] com::sun::star::util::Color TextColor;
166 //-------------------------------------------------------------------------
168 /** specifies the text line color (RGB) of the control.
170 [property] com::sun::star::util::Color TextLineColor;
174 //=============================================================================
176 }; }; }; };
178 #endif