1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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_UnoControlFileControlModel_idl__
20 #define __com_sun_star_awt_UnoControlFileControlModel_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
/style
/VerticalAlignment.idl
>
30 module com
{ module sun
{ module star
{ module awt
{
33 /** specifies the standard model of an UnoControlFileControl.
35 published service UnoControlFileControlModel
37 service com
::sun
::star
::awt
::UnoControlModel
;
40 /** specifies the background color (RGB) of the control.
42 [property
] com
::sun
::star
::util
::Color BackgroundColor
;
45 /** specifies the border style of the control.
53 [property
] short Border
;
56 /** specifies the color of the border, if present
58 <p>Not every border style (see #Border) may support coloring.
59 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
63 [optional, property
] long BorderColor
;
66 /** determines whether a control is enabled or disabled.
68 [property
] boolean Enabled
;
71 /** specifies the font attributes of the text in the control.
73 [property
] com
::sun
::star
::awt
::FontDescriptor FontDescriptor
;
76 /** specifies the com::sun::star::text::FontEmphasis
77 value of the text in the control.
79 [property
] short FontEmphasisMark
;
82 /** specifies the com::sun::star::text::FontRelief
83 value of the text in the control.
85 [property
] short FontRelief
;
88 /** specifies the help text of the control.
90 [property
] string HelpText
;
93 /** specifies the help URL of the control.
95 [property
] string HelpURL
;
98 /** specifies whether the selection in the control should be hidden when
99 the control is not active (focused).
103 [optional, property
] boolean HideInactiveSelection
;
106 /** specifies that the control will be printed with the document.
108 [property
] boolean Printable
;
111 /** specifies that the content of the control cannot be modified by the user.
115 [optional, property
] boolean ReadOnly;
118 /** specifies that the control can be reached with the TAB key.
120 [property
] boolean Tabstop
;
123 /** specifies the text displayed in the control.
125 [property
] string Text
;
128 /** specifies the text color (RGB) of the control.
130 [property
] com
::sun
::star
::util
::Color TextColor
;
133 /** specifies the text line color (RGB) of the control.
135 [property
] com
::sun
::star
::util
::Color TextLineColor
;
138 /** specifies the vertical alignment of the text in the control.
142 [optional, property
] com
::sun
::star
::style
::VerticalAlignment VerticalAlign
;
150 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */