merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / awt / UnoControlFixedTextModel.idl
blob0b058f7291aba98f776c481c6014c3688affa34f
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: UnoControlFixedTextModel.idl,v $
10 * $Revision: 1.15 $
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_UnoControlFixedTextModel_idl__
31 #define __com_sun_star_awt_UnoControlFixedTextModel_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_style_VerticalAlignment_idl__
42 #include <com/sun/star/style/VerticalAlignment.idl>
43 #endif
45 #ifndef __com_sun_star_util_Color_idl__
46 #include <com/sun/star/util/Color.idl>
47 #endif
50 //=============================================================================
52 module com { module sun { module star { module awt {
54 //=============================================================================
56 /** specifies the standard model of an <type>UnoControlFixedText</type>.
58 published service UnoControlFixedTextModel
60 service com::sun::star::awt::UnoControlModel;
62 //-------------------------------------------------------------------------
64 /** specifies the horiztonal alignment of the text in the control.
66 <pre>
67 0: left
68 1: center
69 2: right
70 </pre>
72 [property] short Align;
74 //-------------------------------------------------------------------------
76 /** specifies the background color (RGB) of the control.
78 [property] com::sun::star::util::Color BackgroundColor;
80 //-------------------------------------------------------------------------
82 /** specifies the border style of the control.
84 <pre>
85 0: No border
86 1: 3D border
87 2: simple border
88 </pre>
90 [property] short Border;
92 //-------------------------------------------------------------------------
94 /** specifies the color of the border, if present
96 <p>Not every border style (see <member>Border</member>) may support coloring.
97 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
99 @since OOo 2.0.0
101 [optional, property] long BorderColor;
103 //-------------------------------------------------------------------------
105 /** determines whether the control is enabled or disabled.
107 [property] boolean Enabled;
109 //-------------------------------------------------------------------------
111 /** specifies the font attributes of the text in the control.
113 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
115 //-------------------------------------------------------------------------
117 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
118 value of the text in the control.
120 [property] short FontEmphasisMark;
122 //-------------------------------------------------------------------------
124 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
125 value of the text in the control.
127 [property] short FontRelief;
129 //-------------------------------------------------------------------------
131 /** specifies the help text of the control.
133 [property] string HelpText;
135 //-------------------------------------------------------------------------
137 /** specifies the help URL of the control.
139 [property] string HelpURL;
141 //-------------------------------------------------------------------------
143 /** specifies the label of the control.
145 [property] string Label;
147 //-------------------------------------------------------------------------
149 /** specifies that the text may be displayed on more than one line.
151 [property] boolean MultiLine;
153 //-------------------------------------------------------------------------
155 /** specifies that the control will be printed with the document.
157 [property] boolean Printable;
159 //-------------------------------------------------------------------------
161 /** specifies the text color (RGB) of the control.
163 [property] com::sun::star::util::Color TextColor;
165 //-------------------------------------------------------------------------
167 /** specifies the text line color (RGB) of the control.
169 [property] com::sun::star::util::Color TextLineColor;
171 //-------------------------------------------------------------------------
173 /** specifies the vertical alignment of the text in the control.
175 @since OOo 2.0.0
177 [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
181 //=============================================================================
183 }; }; }; };
185 #endif