tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / awt / UnoControlImageControlModel.idl
blob80bd149d15d781f840a5a172dd0d92b3c691f147
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
22 module com { module sun { module star { module awt {
25 /** specifies the standard model of a UnoControlImageControl.
27 published service UnoControlImageControlModel
29 service com::sun::star::awt::UnoControlModel;
32 /** specifies the background color (RGB) of the control.
34 [property] com::sun::star::util::Color BackgroundColor;
37 /** specifies the border style of the control.
39 <pre>
40 0: No border
41 1: 3D border
42 2: simple border
43 </pre>
45 [property] short Border;
48 /** specifies the color of the border, if present
50 <p>Not every border style (see #Border) may support coloring.
51 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
53 @since OOo 2.0
55 [optional, property] long BorderColor;
58 /** determines whether the control is enabled or disabled.
60 [property] boolean Enabled;
63 /** specifies the help text of the control.
65 [property] string HelpText;
68 /** specifies the help URL of the control.
70 [property] string HelpURL;
73 /** specifies a URL to an image to use for the control.
74 @see Graphic
76 [property] string ImageURL;
79 /** specifies a graphic to be displayed on the control
81 <p>If this property is present, it interacts with the #ImageURL in the
82 following way:
83 <ul><li>If #ImageURL is set, #Graphic will be reset
84 to an object as loaded from the given image URL, or `NULL` if #ImageURL
85 does not point to a valid image file.</li>
86 <li>If #Graphic is set, #ImageURL will be reset
87 to an empty string.</li>
88 </ul></p>
90 @since OOo 2.1
92 [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
95 /** specifies that the control will be printed with the document.
97 [property] boolean Printable;
100 /** specifies if the image is automatically scaled to the size of the
101 control.
103 [property] boolean ScaleImage;
105 /** defines how to scale the image
107 <p>If this property is present, it supersedes the #ScaleImage property.</p>
109 <p>The value of this property is one of the ImageScaleMode constants.</p>
111 @since OOo 3.1
113 [property, optional] short ScaleMode;
116 /** specifies that the control can be reached with the TAB key.
118 @since OOo 1.1.2
120 [optional, property] boolean Tabstop;
125 }; }; }; };
127 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */