Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / awt / UnoControlFileControlModel.idl
blob43c5b3cc0b22d17accc7032da20a7fed0e629222
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_awt_UnoControlFileControlModel_idl__
29 #define __com_sun_star_awt_UnoControlFileControlModel_idl__
31 #include <com/sun/star/awt/FontDescriptor.idl>
32 #include <com/sun/star/awt/UnoControlModel.idl>
34 #include <com/sun/star/util/Color.idl>
36 #include <com/sun/star/style/VerticalAlignment.idl>
38 //=============================================================================
40 module com { module sun { module star { module awt {
42 //=============================================================================
44 /** specifies the standard model of an <type>UnoControlFileControl</type>.
46 published service UnoControlFileControlModel
48 service com::sun::star::awt::UnoControlModel;
50 //-------------------------------------------------------------------------
52 /** specifies the background color (RGB) of the control.
54 [property] com::sun::star::util::Color BackgroundColor;
56 //-------------------------------------------------------------------------
58 /** specifies the border style of the control.
60 <pre>
61 0: No border
62 1: 3D border
63 2: simple border
64 </pre>
66 [property] short Border;
68 //-------------------------------------------------------------------------
70 /** specifies the color of the border, if present
72 <p>Not every border style (see <member>Border</member>) may support coloring.
73 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
75 @since OOo 2.0
77 [optional, property] long BorderColor;
79 //-------------------------------------------------------------------------
81 /** determines whether a control is enabled or disabled.
83 [property] boolean Enabled;
85 //-------------------------------------------------------------------------
87 /** specifies the font attributes of the text in the control.
89 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
91 //-------------------------------------------------------------------------
93 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
94 value of the text in the control.
96 [property] short FontEmphasisMark;
98 //-------------------------------------------------------------------------
100 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
101 value of the text in the control.
103 [property] short FontRelief;
105 //-------------------------------------------------------------------------
107 /** specifies the help text of the control.
109 [property] string HelpText;
111 //-------------------------------------------------------------------------
113 /** specifies the help URL of the control.
115 [property] string HelpURL;
117 //-------------------------------------------------------------------------
119 /** specifies whether the selection in the control should be hidden when
120 the control is not active (focused).
122 @since OOo 2.0
124 [optional, property] boolean HideInactiveSelection;
126 //-------------------------------------------------------------------------
128 /** specifies that the control will be printed with the document.
130 [property] boolean Printable;
132 //-------------------------------------------------------------------------
134 /** specifies that the content of the control cannot be modified by the user.
136 @since OOo 1.1.2
138 [optional, property] boolean ReadOnly;
140 //-------------------------------------------------------------------------
142 /** specifies that the control can be reached with the TAB key.
144 [property] boolean Tabstop;
146 //-------------------------------------------------------------------------
148 /** specifies the text displayed in the control.
150 [property] string Text;
152 //-------------------------------------------------------------------------
154 /** specifies the text color (RGB) of the control.
156 [property] com::sun::star::util::Color TextColor;
158 //-------------------------------------------------------------------------
160 /** specifies the text line color (RGB) of the control.
162 [property] com::sun::star::util::Color TextLineColor;
164 //-------------------------------------------------------------------------
166 /** specifies the vertical alignment of the text in the control.
168 @since OOo 3.3
170 [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
173 //=============================================================================
175 }; }; }; };
177 #endif
179 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */