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 UnoControlPatternField.
26 published service UnoControlPatternFieldModel
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 /** specifies the edit mask.
59 [property
] string EditMask
;
62 /** determines whether the control is enabled or disabled.
64 [property
] boolean Enabled
;
67 /** specifies the font attributes of the text in the control.
69 [property
] com
::sun
::star
::awt
::FontDescriptor FontDescriptor
;
72 /** specifies the com::sun::star::text::FontEmphasis
73 value of the text in the control.
75 [property
] short FontEmphasisMark
;
78 /** specifies the com::sun::star::text::FontRelief
79 value of the text in the control.
81 [property
] short FontRelief
;
84 /** specifies the help text of the control.
86 [property
] string HelpText
;
89 /** specifies the help URL of the control.
91 [property
] string HelpURL
;
94 /** specifies whether the selection in the control should be hidden when
95 the control is not active (focused).
99 [optional, property
] boolean HideInactiveSelection
;
102 /** specifies the literal mask.
104 [property
] string LiteralMask
;
107 /** specifies the maximum character count.
109 [property
] short MaxTextLen
;
112 /** specifies that the control will be printed with the document.
114 [property
] boolean Printable
;
117 /** specifies that the content of the control cannot be modified by the
120 [property
] boolean ReadOnly;
123 /** specifies that the text is checked during the user input.
125 [property
] boolean StrictFormat
;
128 /** specifies that the control can be reached with the TAB key.
130 [property
] boolean Tabstop
;
133 /** specifies the text displayed in the control.
135 [property
] string Text
;
138 /** specifies the text color (RGB) of the control.
140 [property
] com
::sun
::star
::util
::Color TextColor
;
143 /** specifies the text line color (RGB) of the control.
145 [property
] com
::sun
::star
::util
::Color TextLineColor
;
147 /** denotes the writing mode used in the control, as specified in the
148 com::sun::star::text::WritingMode2 constants group.
150 <p>Only com::sun::star::text::WritingMode2::LR_TB and
151 com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
155 [optional, property
] short WritingMode
;
157 /** defines how the mouse wheel can be used to scroll through the control's content.
159 <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
160 and one of the MouseWheelBehavior constants, you can control under which circumstances
161 this is possible.</p>
163 [optional, property
] short MouseWheelBehavior
;
166 /** specifies the vertical alignment of the text in the control.
170 [optional, property
] com
::sun
::star
::style
::VerticalAlignment VerticalAlign
;
172 /** specifies the background color (RGB) of selected text in the control which is highlighted.
174 @since LibreOffice 7.5
176 [optional, property
] com
::sun
::star
::util
::Color HighlightColor
;
178 /** specifies the text color (RGB) of selected text in the control which is highlighted.
180 @since LibreOffice 7.5
182 [optional, property
] com
::sun
::star
::util
::Color HighlightTextColor
;
188 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */