1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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.
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>
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.
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
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>
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
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>
113 [property
, optional] short ScaleMode
;
116 /** specifies that the control can be reached with the TAB key.
120 [optional, property
] boolean Tabstop
;
127 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */