Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / awt / UnoControlCheckBoxModel.idl
blob74af3860e8918b74ff3f44163935a2d9be41285a
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_UnoControlCheckBoxModel_idl__
29 #define __com_sun_star_awt_UnoControlCheckBoxModel_idl__
31 #include <com/sun/star/awt/FontDescriptor.idl>
32 #include <com/sun/star/awt/UnoControlModel.idl>
33 #include <com/sun/star/style/VerticalAlignment.idl>
34 #include <com/sun/star/util/Color.idl>
35 #include <com/sun/star/graphic/XGraphic.idl>
37 //=============================================================================
39 module com { module sun { module star { module awt {
41 //=============================================================================
43 /** specifies the standard model of an <type>UnoControlCheckBox</type>.
45 published service UnoControlCheckBoxModel
47 service com::sun::star::awt::UnoControlModel;
49 //-------------------------------------------------------------------------
51 /** specifies the horizontal alignment of the text in the control.
53 <pre>
54 0: left
55 1: center
56 2: right
57 </pre>
59 @since OOo 2.0
61 [optional, property] short Align;
63 //-------------------------------------------------------------------------
65 /** specifies the background color (RGB) of the control.
67 [optional, property] long BackgroundColor;
69 //-------------------------------------------------------------------------
71 /** determines whether the control is enabled or disabled.
73 [property] boolean Enabled;
75 //-------------------------------------------------------------------------
77 /** specifies the font attributes of the text in the control.
79 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
81 //-------------------------------------------------------------------------
83 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
84 value of the text in the control.
86 [property] short FontEmphasisMark;
88 //-------------------------------------------------------------------------
90 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
91 value of the text in the control.
93 [property] short FontRelief;
95 //-------------------------------------------------------------------------
97 /** specifies the help text of the control.
99 [property] string HelpText;
101 //-------------------------------------------------------------------------
103 /** specifies the help URL of the control.
105 [property] string HelpURL;
107 //-------------------------------------------------------------------------
109 /** specifies the position of the image, if any, relative to the text, if any
111 <p>Valid values of this property are specified with <type>ImagePosition</type>.</p>
113 [optional, property] short ImagePosition;
115 //-------------------------------------------------------------------------
117 /** specifies an URL to an image to display besides the label of the control
118 @see Graphic
120 [optional, property] string ImageURL;
122 //-------------------------------------------------------------------------
124 /** specifies a graphic to be displayed besides the label of the control
126 <p>If this property is present, it interacts with the <member>ImageURL</member>in the
127 following way:
128 <ul><li>If <member>ImageURL</member> is set, <member>Graphic</member> will be reset
129 to an object as loaded from the given image URL, or <NULL/> if <member>ImageURL</member>
130 does not point to a valid image file.</li>
131 <li>If <member>Graphic</member> is set, <member>ImageURL</member> will be reset
132 to an empty string.</li>
133 </ul></p>
135 @since OOo 2.1
137 [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
139 //-------------------------------------------------------------------------
141 /** specifies the label of the control.
143 [property] string Label;
145 //-------------------------------------------------------------------------
147 /** specifies that the text may be displayed on more than one line.
149 @since OOo 2.0
151 [optional, property] boolean MultiLine;
153 //-------------------------------------------------------------------------
155 /** specifies that the control will be printed with the document.
157 [property] boolean Printable;
159 //-------------------------------------------------------------------------
161 /** specifies the state of the control.
163 <pre>
164 0: not checked
165 1: checked
166 2: don't know
167 </pre>
169 [property] short State;
171 //-------------------------------------------------------------------------
173 /** specifies that the control can be reached with the TAB key.
175 [property] boolean Tabstop;
177 //-------------------------------------------------------------------------
179 /** specifies the text color (RGB) of the control.
181 [property] com::sun::star::util::Color TextColor;
183 //-------------------------------------------------------------------------
185 /** specifies the text line color (RGB) of the control.
187 [property] com::sun::star::util::Color TextLineColor;
189 //-------------------------------------------------------------------------
191 /** specifies that the control may have the state "don't know".
193 [property] boolean TriState;
195 //-------------------------------------------------------------------------
197 /** specifies the vertical alignment of the text in the control.
199 @since OOo 2.0
201 [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
203 //-------------------------------------------------------------------------
205 /** specifies a visual effect to apply to the check box control
207 <p>Possible values for this property are <type>VisualEffect</type>::FLAT and
208 <type>VisualEffect</type>::LOOK3D.</p>
210 @see com::sun::star::awt::VisualEffect
212 @since OOo 2.0
214 [optional, property] short VisualEffect;
216 /** denotes the writing mode used in the control, as specified in the
217 <type scope="com::sun::star::text">WritingMode2</type> constants group.
219 <p>Only <member scope="com::sun::star::text">WritingMode2::LR_TB</member> and
220 <member scope="com::sun::star::text">WritingMode2::RL_TB</member> are supported at the moment.</p>
222 @since OOo 3.1
224 [optional, property] short WritingMode;
227 //=============================================================================
229 }; }; }; };
231 #endif
233 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */