LibreOffice
LibreOffice 24.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 
20 
21 
22  module com { module sun { module star { module awt {
23 
24 
27 published service UnoControlButtonModel
28 {
30 
31 
40  [optional, property] short Align;
41 
42 
46 
47 
50  [property] boolean DefaultButton;
51 
52 
55  [property] boolean Enabled;
56 
57 
67  [optional, property] boolean FocusOnClick;
68 
69 
73 
74 
78  [property] short FontEmphasisMark;
79 
80 
84  [property] short FontRelief;
85 
86 
89  [property] string HelpText;
90 
91 
94  [property] string HelpURL;
95 
96 
100  [property] short ImageAlign;
101 
102 
110  [optional, property] short ImagePosition;
111 
112 
116  [property] string ImageURL;
117 
118 
132  [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
133 
134 
137  [property] string Label;
138 
139 
144  [optional, property] boolean MultiLine;
145 
146 
149  [property] boolean Printable;
150 
151 
154  [property] short PushButtonType;
155 
156 
166  [optional, property] boolean Repeat;
167 
168 
179  [optional, property] long RepeatDelay;
180 
181 
194  [property] short State;
195 
196 
199  [property] boolean Tabstop;
200 
201 
205 
206 
210 
211 
223  [optional, property] boolean Toggle;
224 
225 
231 
232 };
233 
234 
235 }; }; }; };
236 
237 /* 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:230
com::sun::star::util::Color TextColor
specifies the text color (RGB) of the control.
Definition: UnoControlButtonModel.idl:204
string Label
specifies the label of the control.
Definition: UnoControlButtonModel.idl:137
boolean DefaultButton
specifies that the button is the default button on the document.
Definition: UnoControlButtonModel.idl:50
short ImageAlign
specifies the alignment of the image inside the button as ImageAlign value.
Definition: UnoControlButtonModel.idl:100
com::sun::star::graphic::XGraphic Graphic
specifies a graphic to be displayed at the button
Definition: UnoControlButtonModel.idl:132
Definition: Ambiguous.idl:20
boolean Tabstop
specifies that the control can be reached with the TAB key.
Definition: UnoControlButtonModel.idl:199
short ImagePosition
specifies the position of the image, if any, relative to the text, if any
Definition: UnoControlButtonModel.idl:110
short FontRelief
specifies the com::sun::star::text::FontRelief value of the text in the control.
Definition: UnoControlButtonModel.idl:84
com::sun::star::awt::FontDescriptor FontDescriptor
specifies the font attributes of the text in the control.
Definition: UnoControlButtonModel.idl:72
long RepeatDelay
specifies the mouse repeat delay, in milliseconds.
Definition: UnoControlButtonModel.idl:179
string HelpText
specifies the help text of the control.
Definition: UnoControlButtonModel.idl:89
boolean MultiLine
specifies that the text may be displayed on more than one line.
Definition: UnoControlButtonModel.idl:144
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:37
short State
specifies the state of the control.
Definition: UnoControlButtonModel.idl:194
boolean Enabled
determines whether the control is enabled or disabled.
Definition: UnoControlButtonModel.idl:55
boolean Repeat
specifies whether the control should show repeating behavior.
Definition: UnoControlButtonModel.idl:166
specifies the standard model of a UnoControl in the Smalltalk model view controller design...
Definition: UnoControlModel.idl:34
VerticalAlignment
specify the horizontal alignment of an object within a container object.
Definition: VerticalAlignment.idl:27
boolean FocusOnClick
specifies whether the button control should grab the focus when clicked.
Definition: UnoControlButtonModel.idl:67
string HelpURL
specifies the help URL of the control.
Definition: UnoControlButtonModel.idl:94
short PushButtonType
specifies the default action of the button as PushButtonType value.
Definition: UnoControlButtonModel.idl:154
string ImageURL
specifies a URL to an image to use for the button.
Definition: UnoControlButtonModel.idl:116
com::sun::star::util::Color TextLineColor
specifies the text line color (RGB) of the control.
Definition: UnoControlButtonModel.idl:209
specifies the standard model of a UnoControlButton.
Definition: UnoControlButtonModel.idl:27
describes the characteristics of a font.
Definition: FontDescriptor.idl:29
com::sun::star::util::Color BackgroundColor
specifies the background color (RGB) of the control.
Definition: UnoControlButtonModel.idl:45
short FontEmphasisMark
specifies the com::sun::star::text::FontEmphasis value of the text in the control.
Definition: UnoControlButtonModel.idl:78
boolean Printable
specifies that the control will be printed with the document.
Definition: UnoControlButtonModel.idl:149
boolean Toggle
specifies whether the button should toggle on a single operation.
Definition: UnoControlButtonModel.idl:223
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:34