LibreOffice: com/sun/star/awt/UnoControlButtonModel.idl Source File

LibreOffice LibreOffice 6.2 SDK API Reference

UnoControlButtonModel.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19 #ifndef __com_sun_star_awt_UnoControlButtonModel_idl__
20 #define __com_sun_star_awt_UnoControlButtonModel_idl__
21
22 #include <com/sun/star/awt/FontDescriptor.idl>
23 #include <com/sun/star/awt/UnoControlModel.idl>
24 #include <com/sun/star/style/VerticalAlignment.idl>
25 #include <com/sun/star/graphic/XGraphic.idl>
26 #include <com/sun/star/util/Color.idl>
27
28
29
30 module com { module sun { module star { module awt {
31
32
35 published service UnoControlButtonModel
36 {
37 service com::sun::star::awt::UnoControlModel;
38
39
48 [optional, property] short Align;
49
50
53 [property] com::sun::star::util::Color BackgroundColor;
54
55
58 [property] boolean DefaultButton;
59
60
63 [property] boolean Enabled;
64
65
75 [optional, property] boolean FocusOnClick;
76
77
80 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
81
82
86 [property] short FontEmphasisMark;
87
88
92 [property] short FontRelief;
93
94
97 [property] string HelpText;
98
99
102 [property] string HelpURL;
103
104
108 [property] short ImageAlign;
109
110
118 [optional, property] short ImagePosition;
119
120
124 [property] string ImageURL;
125
126
140 [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
141
142
145 [property] string Label;
146
147
152 [optional, property] boolean MultiLine;
153
154
157 [property] boolean Printable;
158
159
162 [property] short PushButtonType;
163
164
174 [optional, property] boolean Repeat;
175
176
187 [optional, property] long RepeatDelay;
188
189
202 [property] short State;
203
204
207 [property] boolean Tabstop;
208
209
212 [property] com::sun::star::util::Color TextColor;
213
214
217 [property] com::sun::star::util::Color TextLineColor;
218
219
231 [optional, property] boolean Toggle;
232
233
238 [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
239
240 };
241
242
243 }; }; }; };
244
245 #endif
246
247 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::UnoControlButtonModel::VerticalAlign
com::sun::star::style::VerticalAlignment VerticalAlign
specifies the vertical alignment of the text in the control.
Definition: UnoControlButtonModel.idl:238
com::sun::star::awt::UnoControlButtonModel::TextColor
com::sun::star::util::Color TextColor
specifies the text color (RGB) of the control.
Definition: UnoControlButtonModel.idl:212
com::sun::star::awt::UnoControlButtonModel::Label
string Label
specifies the label of the control.
Definition: UnoControlButtonModel.idl:145
com::sun::star::awt::UnoControlButtonModel::DefaultButton
boolean DefaultButton
specifies that the button is the default button on the document.
Definition: UnoControlButtonModel.idl:58
FontDescriptor.idl
com::sun::star::awt::UnoControlButtonModel::ImageAlign
short ImageAlign
specifies the alignment of the image inside the button as ImageAlign value.
Definition: UnoControlButtonModel.idl:108
com::sun::star::awt::UnoControlButtonModel::Graphic
com::sun::star::graphic::XGraphic Graphic
specifies a graphic to be displayed at the button
Definition: UnoControlButtonModel.idl:140
com
Definition: Ambiguous.idl:22
com::sun::star::awt::UnoControlButtonModel::Tabstop
boolean Tabstop
specifies that the control can be reached with the TAB key.
Definition: UnoControlButtonModel.idl:207
com::sun::star::awt::UnoControlButtonModel::ImagePosition
short ImagePosition
specifies the position of the image, if any, relative to the text, if any
Definition: UnoControlButtonModel.idl:118
com::sun::star::awt::UnoControlButtonModel::FontRelief
short FontRelief
specifies the com::sun::star::text::FontRelief value of the text in the control.
Definition: UnoControlButtonModel.idl:92
UnoControlModel.idl
com::sun::star::awt::UnoControlButtonModel::FontDescriptor
com::sun::star::awt::FontDescriptor FontDescriptor
specifies the font attributes of the text in the control.
Definition: UnoControlButtonModel.idl:80
com::sun::star::awt::UnoControlButtonModel::RepeatDelay
long RepeatDelay
specifies the mouse repeat delay, in milliseconds.
Definition: UnoControlButtonModel.idl:187
com::sun::star::awt::UnoControlButtonModel::HelpText
string HelpText
specifies the help text of the control.
Definition: UnoControlButtonModel.idl:97
com::sun::star::awt::UnoControlButtonModel::MultiLine
boolean MultiLine
specifies that the text may be displayed on more than one line.
Definition: UnoControlButtonModel.idl:152
com::sun::star::graphic::XGraphic
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:43
com::sun::star::awt::UnoControlButtonModel::State
short State
specifies the state of the control.
Definition: UnoControlButtonModel.idl:202
com::sun::star::awt::UnoControlButtonModel::Enabled
boolean Enabled
determines whether the control is enabled or disabled.
Definition: UnoControlButtonModel.idl:63
com::sun::star::awt::UnoControlButtonModel::Repeat
boolean Repeat
specifies whether the control should show repeating behavior.
Definition: UnoControlButtonModel.idl:174
com::sun::star::awt::UnoControlModel
specifies the standard model of an UnoControl in the Smalltalk model view controller design.
Definition: UnoControlModel.idl:49
com::sun::star::style::VerticalAlignment
VerticalAlignment
specify the horizontal alignment of an object within a container object.
Definition: VerticalAlignment.idl:29
com::sun::star::awt::UnoControlButtonModel::FocusOnClick
boolean FocusOnClick
specifies whether the button control should grab the focus when clicked.
Definition: UnoControlButtonModel.idl:75
com::sun::star::awt::UnoControlButtonModel::HelpURL
string HelpURL
specifies the help URL of the control.
Definition: UnoControlButtonModel.idl:102
com::sun::star::awt::UnoControlButtonModel::PushButtonType
short PushButtonType
specifies the default action of the button as PushButtonType value.
Definition: UnoControlButtonModel.idl:162
com::sun::star::awt::UnoControlButtonModel::ImageURL
string ImageURL
specifies an URL to an image to use for the button.
Definition: UnoControlButtonModel.idl:124
com::sun::star::awt::UnoControlButtonModel::TextLineColor
com::sun::star::util::Color TextLineColor
specifies the text line color (RGB) of the control.
Definition: UnoControlButtonModel.idl:217
com::sun::star::awt::UnoControlButtonModel
specifies the standard model of an UnoControlButton.
Definition: UnoControlButtonModel.idl:35
com::sun::star::awt::FontDescriptor
describes the characteristics of a font.
Definition: FontDescriptor.idl:33
com::sun::star::awt::UnoControlButtonModel::BackgroundColor
com::sun::star::util::Color BackgroundColor
specifies the background color (RGB) of the control.
Definition: UnoControlButtonModel.idl:53
com::sun::star::awt::UnoControlButtonModel::FontEmphasisMark
short FontEmphasisMark
specifies the com::sun::star::text::FontEmphasis value of the text in the control.
Definition: UnoControlButtonModel.idl:86
com::sun::star::awt::UnoControlButtonModel::Printable
boolean Printable
specifies that the control will be printed with the document.
Definition: UnoControlButtonModel.idl:157
com::sun::star::awt::UnoControlButtonModel::Toggle
boolean Toggle
specifies whether the button should toggle on a single operation.
Definition: UnoControlButtonModel.idl:231
com::sun::star::util::Color
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36
Color.idl
VerticalAlignment.idl
XGraphic.idl