LibreOffice
LibreOffice 7.6 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::awt::UnoControlButtonModel::Tabstop
boolean Tabstop
specifies that the control can be reached with the TAB key.
Definition: UnoControlButtonModel.idl:199
com::sun::star::awt::UnoControlButtonModel::BackgroundColor
com::sun::star::util::Color BackgroundColor
specifies the background color (RGB) of the control.
Definition: UnoControlButtonModel.idl:45
com::sun::star::awt::UnoControlButtonModel::RepeatDelay
long RepeatDelay
specifies the mouse repeat delay, in milliseconds.
Definition: UnoControlButtonModel.idl:179
com::sun::star::awt::UnoControlButtonModel::FocusOnClick
boolean FocusOnClick
specifies whether the button control should grab the focus when clicked.
Definition: UnoControlButtonModel.idl:67
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:84
com::sun::star::awt::UnoControlButtonModel::Printable
boolean Printable
specifies that the control will be printed with the document.
Definition: UnoControlButtonModel.idl:149
com::sun::star::awt::UnoControlButtonModel::ImageURL
string ImageURL
specifies a URL to an image to use for the button.
Definition: UnoControlButtonModel.idl:116
com::sun::star::style::VerticalAlignment
VerticalAlignment
specify the horizontal alignment of an object within a container object.
Definition: VerticalAlignment.idl:28
com::sun::star::graphic::XGraphic
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:38
com::sun::star::awt::UnoControlButtonModel::TextLineColor
com::sun::star::util::Color TextLineColor
specifies the text line color (RGB) of the control.
Definition: UnoControlButtonModel.idl:209
com::sun::star::awt::UnoControlButtonModel::Graphic
com::sun::star::graphic::XGraphic Graphic
specifies a graphic to be displayed at the button
Definition: UnoControlButtonModel.idl:132
com::sun::star::awt::UnoControlButtonModel::Align
short Align
specifies the horizontal alignment of the text in the control.
Definition: UnoControlButtonModel.idl:29
com::sun::star::awt::UnoControlButtonModel::TextColor
com::sun::star::util::Color TextColor
specifies the text color (RGB) of the control.
Definition: UnoControlButtonModel.idl:204
com::sun::star::awt::UnoControlButtonModel::ImageAlign
short ImageAlign
specifies the alignment of the image inside the button as ImageAlign value.
Definition: UnoControlButtonModel.idl:100
com::sun::star::awt::UnoControlButtonModel::DefaultButton
boolean DefaultButton
specifies that the button is the default button on the document.
Definition: UnoControlButtonModel.idl:50
com::sun::star::awt::FontDescriptor
describes the characteristics of a font.
Definition: FontDescriptor.idl:30
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:230
com::sun::star::awt::UnoControlModel
specifies the standard model of a UnoControl in the Smalltalk model view controller design.
Definition: UnoControlModel.idl:35
com::sun::star::awt::UnoControlButtonModel::Enabled
boolean Enabled
determines whether the control is enabled or disabled.
Definition: UnoControlButtonModel.idl:55
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:72
com::sun::star::awt::UnoControlButtonModel::PushButtonType
short PushButtonType
specifies the default action of the button as PushButtonType value.
Definition: UnoControlButtonModel.idl:154
com::sun::star::awt::UnoControlButtonModel::HelpText
string HelpText
specifies the help text of the control.
Definition: UnoControlButtonModel.idl:89
com::sun::star::awt::UnoControlButtonModel
specifies the standard model of a UnoControlButton.
Definition: UnoControlButtonModel.idl:28
com::sun::star::awt::UnoControlButtonModel::Repeat
boolean Repeat
specifies whether the control should show repeating behavior.
Definition: UnoControlButtonModel.idl:166
com
Definition: Ambiguous.idl:20
com::sun::star::awt::UnoControlButtonModel::Label
string Label
specifies the label of the control.
Definition: UnoControlButtonModel.idl:137
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:78
com::sun::star::util::Color
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:34
com::sun::star::awt::UnoControlButtonModel::MultiLine
boolean MultiLine
specifies that the text may be displayed on more than one line.
Definition: UnoControlButtonModel.idl:144
com::sun::star::awt::UnoControlButtonModel::State
short State
specifies the state of the control.
Definition: UnoControlButtonModel.idl:194
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:110
com::sun::star::awt::UnoControlButtonModel::Toggle
boolean Toggle
specifies whether the button should toggle on a single operation.
Definition: UnoControlButtonModel.idl:223
com::sun::star::awt::UnoControlButtonModel::HelpURL
string HelpURL
specifies the help URL of the control.
Definition: UnoControlButtonModel.idl:94