bump product version to 4.1.6.2
[LibreOffice.git] / offapi / com / sun / star / awt / UnoControlComboBoxModel.idl
blob7d84dca5c60b1249f2607596ba0616a35c932c4e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /**
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_awt_UnoControlComboBoxModel_idl__
20 #define __com_sun_star_awt_UnoControlComboBoxModel_idl__
22 #include <com/sun/star/awt/FontDescriptor.idl>
23 #include <com/sun/star/awt/UnoControlModel.idl>
25 #include <com/sun/star/util/Color.idl>
27 #include <com/sun/star/awt/XItemList.idl>
30 module com { module sun { module star { module awt {
33 /** specifies the standard model of an <type>UnoControlComboBox</type>.
35 published service UnoControlComboBoxModel
37 service com::sun::star::awt::UnoControlModel;
40 /** specifies the horizontal alignment of the text in the control.
42 <pre>
43 0: left
44 1: center
45 2: right
46 </pre>
48 [optional, property] short Align;
51 /** specifies whether automatic completion of text is enabled.
53 [property] boolean Autocomplete;
56 /** specifies the background color (RGB) of the control.
58 [property] com::sun::star::util::Color BackgroundColor;
61 /** specifies the border style of the control.
63 <pre>
64 0: No border
65 1: 3D border
66 2: simple border
67 </pre>
69 [property] short Border;
72 /** specifies the color of the border, if present
74 <p>Not every border style (see <member>Border</member>) may support coloring.
75 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
77 @since OOo 2.0
79 [optional, property] long BorderColor;
82 /** specifies if the control has a drop down button.
84 [property] boolean Dropdown;
87 /** determines whether the control is enabled or disabled.
89 [property] boolean Enabled;
92 /** specifies the font attributes of the text in the control.
94 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
97 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
98 value of the text in the control.
100 [property] short FontEmphasisMark;
103 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
104 value of the text in the control.
106 [property] short FontRelief;
109 /** specifies the help text of the control.
111 [property] string HelpText;
114 /** specifies the help URL of the control.
116 [property] string HelpURL;
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;
127 /** specifies the maximum line count displayed in the drop down box.
129 [property] short LineCount;
132 /** specifies the maximum character count.
134 <p>There's no limitation, if set to 0.</p>
136 [property] short MaxTextLen;
139 /** specifies that the control will be printed with the document.
141 [property] boolean Printable;
144 /** specifies that the content of the control cannot be modified by the user.
146 [property] boolean ReadOnly;
149 /** specifies the list of items.
151 [property] sequence<string> StringItemList;
154 /** specifies that the control can be reached with the TAB key.
156 [property] boolean Tabstop;
159 /** specifies the text displayed in the control.
161 [property] string Text;
164 /** specifies the text color (RGB) of the control.
166 [property] com::sun::star::util::Color TextColor;
169 /** specifies the text line color (RGB) of the control.
171 [property] com::sun::star::util::Color TextLineColor;
173 /** denotes the writing mode used in the control, as specified in the
174 <type scope="com::sun::star::text">WritingMode2</type> constants group.
176 <p>Only <member scope="com::sun::star::text">WritingMode2::LR_TB</member> and
177 <member scope="com::sun::star::text">WritingMode2::RL_TB</member> are supported at the moment.</p>
179 @since OOo 3.1
181 [optional, property] short WritingMode;
183 /** defines how the mouse wheel can be used to scroll through the control's content.
185 <p>Usually, the mouse wheel scroll through the control's entry list. Using this property,
186 and one of the <type>MouseWheelBehavior</type> constants, you can control under which circumstances
187 this is possible.</p>
189 [optional, property] short MouseWheelBehavior;
191 /** allows manipulating the list of items in the combo box more fine-grained than the
192 <member>StringItemList</member> property.
194 [optional] interface XItemList;
198 }; }; }; };
200 #endif
202 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */