LibreOffice
LibreOffice 24.2 SDK API Reference
UnoControlImageControlModel.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 UnoControlImageControlModel
28 {
30 
31 
34  [property] com::sun::star::util::Color BackgroundColor;
35 
36 
45  [property] short Border;
46 
47 
55  [optional, property] long BorderColor;
56 
57 
60  [property] boolean Enabled;
61 
62 
65  [property] string HelpText;
66 
67 
70  [property] string HelpURL;
71 
72 
76  [property] string ImageURL;
77 
78 
92  [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
93 
94 
97  [property] boolean Printable;
98 
99 
103  [property] boolean ScaleImage;
104 
113  [property, optional] short ScaleMode;
114 
115 
120  [optional, property] boolean Tabstop;
121 
122 };
123 
124 
125 }; }; }; };
126 
127 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
boolean Printable
specifies that the control will be printed with the document.
Definition: UnoControlImageControlModel.idl:97
Definition: Ambiguous.idl:20
string ImageURL
specifies a URL to an image to use for the control.
Definition: UnoControlImageControlModel.idl:76
boolean Enabled
determines whether the control is enabled or disabled.
Definition: UnoControlImageControlModel.idl:60
short ScaleMode
defines how to scale the image
Definition: UnoControlImageControlModel.idl:113
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:37
specifies the standard model of a UnoControl in the Smalltalk model view controller design...
Definition: UnoControlModel.idl:34
string HelpText
specifies the help text of the control.
Definition: UnoControlImageControlModel.idl:65
long BorderColor
specifies the color of the border, if present
Definition: UnoControlImageControlModel.idl:55
boolean ScaleImage
specifies if the image is automatically scaled to the size of the control.
Definition: UnoControlImageControlModel.idl:103
boolean Tabstop
specifies that the control can be reached with the TAB key.
Definition: UnoControlImageControlModel.idl:120
short Border
specifies the border style of the control.
Definition: UnoControlImageControlModel.idl:45
specifies the standard model of a UnoControlImageControl.
Definition: UnoControlImageControlModel.idl:27
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:34
string HelpURL
specifies the help URL of the control.
Definition: UnoControlImageControlModel.idl:70
com::sun::star::graphic::XGraphic Graphic
specifies a graphic to be displayed on the control
Definition: UnoControlImageControlModel.idl:92