Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / awt / UnoControlPatternFieldModel.idl
blob6ea3d4a259884285ac6a74f1105e19d056ab7d71
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_UnoControlPatternFieldModel_idl__
29 #define __com_sun_star_awt_UnoControlPatternFieldModel_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>UnoControlPatternField</type>.
46 published service UnoControlPatternFieldModel
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 /** specifies the edit mask.
83 [property] string EditMask;
85 //-------------------------------------------------------------------------
87 /** determines whether the control is enabled or disabled.
89 [property] boolean Enabled;
91 //-------------------------------------------------------------------------
93 /** specifies the font attributes of the text in the control.
95 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
97 //-------------------------------------------------------------------------
99 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
100 value of the text in the control.
102 [property] short FontEmphasisMark;
104 //-------------------------------------------------------------------------
106 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
107 value of the text in the control.
109 [property] short FontRelief;
111 //-------------------------------------------------------------------------
113 /** specifies the help text of the control.
115 [property] string HelpText;
117 //-------------------------------------------------------------------------
119 /** specifies the help URL of the control.
121 [property] string HelpURL;
123 //-------------------------------------------------------------------------
125 /** specifies whether the selection in the control should be hidden when
126 the control is not active (focused).
128 @since OOo 2.0
130 [optional, property] boolean HideInactiveSelection;
132 //-------------------------------------------------------------------------
134 /** specifies the literal mask.
136 [property] string LiteralMask;
138 //-------------------------------------------------------------------------
140 /** specifies the maximum character count.
142 [property] short MaxTextLen;
144 //-------------------------------------------------------------------------
146 /** specifies that the control will be printed with the document.
148 [property] boolean Printable;
150 //-------------------------------------------------------------------------
152 /** specifies that the content of the control cannot be modified by the
153 user.
155 [property] boolean ReadOnly;
157 //-------------------------------------------------------------------------
159 /** specifies that the text is checked during the user input.
161 [property] boolean StrictFormat;
163 //-------------------------------------------------------------------------
165 /** specifies that the control can be reached with the TAB key.
167 [property] boolean Tabstop;
169 //-------------------------------------------------------------------------
171 /** specifies the text displayed in the control.
173 [property] string Text;
175 //-------------------------------------------------------------------------
177 /** specifies the text color (RGB) of the control.
179 [property] com::sun::star::util::Color TextColor;
181 //-------------------------------------------------------------------------
183 /** specifies the text line color (RGB) of the control.
185 [property] com::sun::star::util::Color TextLineColor;
187 /** denotes the writing mode used in the control, as specified in the
188 <type scope="com::sun::star::text">WritingMode2</type> constants group.
190 <p>Only <member scope="com::sun::star::text">WritingMode2::LR_TB</member> and
191 <member scope="com::sun::star::text">WritingMode2::RL_TB</member> are supported at the moment.</p>
193 @since OOo 3.1
195 [optional, property] short WritingMode;
197 /** defines how the mouse wheel can be used to scroll through the control's content.
199 <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
200 and one of the <type>MouseWheelBehavior</type> constants, you can control under which circumstances
201 this is possible.</p>
203 [optional, property] short MouseWheelBehavior;
205 //-------------------------------------------------------------------------
207 /** specifies the vertical alignment of the text in the control.
209 @since OOo 3.3
211 [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
214 //=============================================================================
216 }; }; }; };
218 #endif
220 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */