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 
27 
28 
29 
30  module com { module sun { module star { module awt {
31 
32 
35 published service UnoControlButtonModel
36 {
38 
39 
48  [optional, property] short Align;
49 
50 
54 
55 
58  [property] boolean DefaultButton;
59 
60 
63  [property] boolean Enabled;
64 
65 
75  [optional, property] boolean FocusOnClick;
76 
77 
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 
213 
214 
218 
219 
231  [optional, property] boolean Toggle;
232 
233 
239 
240 };
241 
242 
243 }; }; }; };
244 
245 #endif
246 
247 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::style::VerticalAlignment VerticalAlign
specifies the vertical alignment of the text in the control.
Definition: UnoControlButtonModel.idl:238
com::sun::star::util::Color TextColor
specifies the text color (RGB) of the control.
Definition: UnoControlButtonModel.idl:212
string Label
specifies the label of the control.
Definition: UnoControlButtonModel.idl:145
boolean DefaultButton
specifies that the button is the default button on the document.
Definition: UnoControlButtonModel.idl:58
short ImageAlign
specifies the alignment of the image inside the button as ImageAlign value.
Definition: UnoControlButtonModel.idl:108
com::sun::star::graphic::XGraphic Graphic
specifies a graphic to be displayed at the button
Definition: UnoControlButtonModel.idl:140
Definition: Ambiguous.idl:22
boolean Tabstop
specifies that the control can be reached with the TAB key.
Definition: UnoControlButtonModel.idl:207
short ImagePosition
specifies the position of the image, if any, relative to the text, if any
Definition: UnoControlButtonModel.idl:118
short FontRelief
specifies the com::sun::star::text::FontRelief value of the text in the control.
Definition: UnoControlButtonModel.idl:92
com::sun::star::awt::FontDescriptor FontDescriptor
specifies the font attributes of the text in the control.
Definition: UnoControlButtonModel.idl:80
long RepeatDelay
specifies the mouse repeat delay, in milliseconds.
Definition: UnoControlButtonModel.idl:187
string HelpText
specifies the help text of the control.
Definition: UnoControlButtonModel.idl:97
boolean MultiLine
specifies that the text may be displayed on more than one line.
Definition: UnoControlButtonModel.idl:152
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:43
short State
specifies the state of the control.
Definition: UnoControlButtonModel.idl:202
boolean Enabled
determines whether the control is enabled or disabled.
Definition: UnoControlButtonModel.idl:63
boolean Repeat
specifies whether the control should show repeating behavior.
Definition: UnoControlButtonModel.idl:174
specifies the standard model of an UnoControl in the Smalltalk model view controller design...
Definition: UnoControlModel.idl:49
VerticalAlignment
specify the horizontal alignment of an object within a container object.
Definition: VerticalAlignment.idl:29
boolean FocusOnClick
specifies whether the button control should grab the focus when clicked.
Definition: UnoControlButtonModel.idl:75
string HelpURL
specifies the help URL of the control.
Definition: UnoControlButtonModel.idl:102
short PushButtonType
specifies the default action of the button as PushButtonType value.
Definition: UnoControlButtonModel.idl:162
string ImageURL
specifies an URL to an image to use for the button.
Definition: UnoControlButtonModel.idl:124
com::sun::star::util::Color TextLineColor
specifies the text line color (RGB) of the control.
Definition: UnoControlButtonModel.idl:217
specifies the standard model of an UnoControlButton.
Definition: UnoControlButtonModel.idl:35
describes the characteristics of a font.
Definition: FontDescriptor.idl:33
com::sun::star::util::Color BackgroundColor
specifies the background color (RGB) of the control.
Definition: UnoControlButtonModel.idl:53
short FontEmphasisMark
specifies the com::sun::star::text::FontEmphasis value of the text in the control.
Definition: UnoControlButtonModel.idl:86
boolean Printable
specifies that the control will be printed with the document.
Definition: UnoControlButtonModel.idl:157
boolean Toggle
specifies whether the button should toggle on a single operation.
Definition: UnoControlButtonModel.idl:231
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36