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 .
21 module com
{ module sun
{ module star
{ module awt
{
24 /** specifies the standard model of a UnoControlTimeField.
26 published service UnoControlTimeFieldModel
28 service com
::sun
::star
::awt
::UnoControlModel
;
31 /** specifies the background color (RGB) of the control.
33 [property
] com
::sun
::star
::util
::Color BackgroundColor
;
36 /** specifies the border style of the control.
44 [property
] short Border
;
47 /** specifies the color of the border, if present
49 <p>Not every border style (see #Border) may support coloring.
50 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
54 [optional, property
] long BorderColor
;
57 /** determines whether the control is enabled or disabled.
59 [property
] boolean Enabled
;
62 /** specifies the font attributes of the text in the control.
64 [property
] com
::sun
::star
::awt
::FontDescriptor FontDescriptor
;
67 /** specifies the com::sun::star::text::FontEmphasis
68 value of the text in the control.
70 [property
] short FontEmphasisMark
;
73 /** specifies the com::sun::star::text::FontRelief
74 value of the text in the control.
76 [property
] short FontRelief
;
79 /** specifies the help text of the control.
81 [property
] string HelpText
;
84 /** specifies the help URL of the control.
86 [property
] string HelpURL
;
89 /** specifies whether the selection in the control should be hidden when
90 the control is not active (focused).
94 [optional, property
] boolean HideInactiveSelection
;
97 /** specifies that the control will be printed with the document.
99 [property
] boolean Printable
;
102 /** specifies that the content of the control cannot be modified by the user.
104 [property
] boolean ReadOnly;
107 /** specifies whether the mouse should show repeating behavior, i.e.
108 repeatedly trigger an action when keeping pressed.
112 [optional, property
] boolean Repeat
;
115 /** specifies the mouse repeat delay, in milliseconds.
117 <p>When the user presses a mouse in a control area where this triggers
118 an action (such as spinning the value), then usual control implementations
119 allow to repeatedly trigger this action, without the need to release the
120 mouse button and to press it again. The delay between two such triggers
121 is specified with this property.</p>
125 [optional, property
] long RepeatDelay
;
128 /** specifies that the control has a spin button.
130 [property
] boolean Spin
;
133 /** specifies that the date is checked during the user input.
135 [property
] boolean StrictFormat
;
138 /** specifies that the control can be reached with the TAB key.
140 [property
] boolean Tabstop
;
143 /** specifies the text displayed in the control.
147 [optional, property
] string Text
;
150 /** specifies the text color (RGB) of the control.
152 [property
] com
::sun
::star
::util
::Color TextColor
;
155 /** specifies the text line color (RGB) of the control.
157 [property
] com
::sun
::star
::util
::Color TextLineColor
;
160 /** specifies the time displayed in the control.
162 [property
] com
::sun
::star
::util
::Time Time
;
165 /** specifies the format of the displayed time.
176 [property
] short TimeFormat
;
179 /** specifies the maximum time that can be entered.
181 [property
] com
::sun
::star
::util
::Time TimeMax
;
184 /** specifies the minimum time that can be entered.
186 [property
] com
::sun
::star
::util
::Time TimeMin
;
188 /** denotes the writing mode used in the control, as specified in the
189 com::sun::star::text::WritingMode2 constants group.
191 <p>Only com::sun::star::text::WritingMode2::LR_TB and
192 com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
196 [optional, property
] short WritingMode
;
198 /** defines how the mouse wheel can be used to scroll through the control's content.
200 <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
201 and one of the MouseWheelBehavior constants, you can control under which circumstances
202 this is possible.</p>
204 [optional, property
] short MouseWheelBehavior
;
207 /** specifies the vertical alignment of the text in the control.
211 [optional, property
] com
::sun
::star
::style
::VerticalAlignment VerticalAlign
;
213 /** specifies the background color (RGB) of selected text in the control which is highlighted.
215 @since LibreOffice 7.5
217 [optional, property
] com
::sun
::star
::util
::Color HighlightColor
;
219 /** specifies the text color (RGB) of selected text in the control which is highlighted.
221 @since LibreOffice 7.5
223 [optional, property
] com
::sun
::star
::util
::Color HighlightTextColor
;
229 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */