Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / awt / UnoControlDialogModel.idl
bloba09e64ada2b8a4e95e017403a936e40d9dbf4dc6
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: UnoControlDialogModel.idl,v $
10 * $Revision: 1.13 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_awt_UnoControlDialogModel_idl__
31 #define __com_sun_star_awt_UnoControlDialogModel_idl__
33 #ifndef __com_sun_star_awt_FontDescriptor_idl__
34 #include <com/sun/star/awt/FontDescriptor.idl>
35 #endif
37 #ifndef __com_sun_star_awt_UnoControlModel_idl__
38 #include <com/sun/star/awt/UnoControlModel.idl>
39 #endif
41 #ifndef __com_sun_star_container_XContainer_idl__
42 #include <com/sun/star/container/XContainer.idl>
43 #endif
45 #ifndef __com_sun_star_container_XNameContainer_idl__
46 #include <com/sun/star/container/XNameContainer.idl>
47 #endif
49 #ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
50 #include <com/sun/star/lang/XMultiServiceFactory.idl>
51 #endif
53 #ifndef __com_sun_star_util_Color_idl__
54 #include <com/sun/star/util/Color.idl>
55 #endif
57 #ifndef com_sun_star_graphic_XGraphic_idl
58 #include <com/sun/star/graphic/XGraphic.idl>
59 #endif
61 //=============================================================================
63 module com { module sun { module star { module awt {
65 //=============================================================================
67 /** specifies the standard model of an <type>UnoControlDialog</type>.
69 published service UnoControlDialogModel
71 service com::sun::star::awt::UnoControlModel;
73 /** allows to create control models, which support the
74 <type>UnoControlDialogElement</type> service and can be inserted into
75 this container.
77 interface com::sun::star::lang::XMultiServiceFactory;
79 interface com::sun::star::container::XContainer;
81 interface com::sun::star::container::XNameContainer;
83 //-------------------------------------------------------------------------
85 /** specifies the background color (RGB) of the dialog.
87 [property] com::sun::star::util::Color BackgroundColor;
89 //-------------------------------------------------------------------------
91 /** specifies if the dialog is closeable.
93 [property] boolean Closeable;
95 //-------------------------------------------------------------------------
97 /** determines whether a dialog is enabled or disabled.
99 [property] boolean Enabled;
101 //-------------------------------------------------------------------------
103 /** specifies the font attributes of the text in the caption bar of the dialog.
105 [property] com::sun::star::awt::FontDescriptor FontDescriptor;
107 //-------------------------------------------------------------------------
109 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
110 value of the text in the caption bar of the dialog.
112 [property] short FontEmphasisMark;
114 //-------------------------------------------------------------------------
116 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
117 value of the text in the caption bar of the dialog.
119 [property] short FontRelief;
121 //-------------------------------------------------------------------------
123 /** specifies the help text of the dialog.
125 [property] string HelpText;
127 //-------------------------------------------------------------------------
129 /** specifies the help URL of the dialog.
131 [property] string HelpURL;
133 //-------------------------------------------------------------------------
135 /** specifies if the dialog is moveable.
137 [property] boolean Moveable;
139 //-------------------------------------------------------------------------
141 /** specifies if the dialog is sizeable.
143 [property] boolean Sizeable;
145 //-------------------------------------------------------------------------
147 /** specifies the text color (RGB) of the dialog.
149 [property] com::sun::star::util::Color TextColor;
151 //-------------------------------------------------------------------------
153 /** specifies the text line color (RGB) of the dialog.
155 [property] com::sun::star::util::Color TextLineColor;
157 //-------------------------------------------------------------------------
159 /** specifies the text that is displayed in the caption bar of the dialog.
161 [property] string Title;
163 //-------------------------------------------------------------------------
165 /** If set to true the dialog will have the desktop as parent.
167 @since OOo 2.3.0
169 [optional, property] boolean DesktopAsParent;
171 /** specifies a URL that references a graphic that should be used as a
172 background image.
173 @see Graphic
175 @since OOo 2.4.0
177 [optional, property] string ImageURL;
179 /** specifies a graphic to be displayed as a background image
181 <p>If this property is present, it interacts with the <member>ImageURL</member>in the
182 following way:
183 <ul><li>If <member>ImageURL</member> is set, <member>Graphic</member> will be reset
184 to an object as loaded from the given image URL, or <NULL/> if <member>ImageURL</member>
185 does not point to a valid image file.</li>
186 <li>If <member>Graphic</member> is set, <member>ImageURL</member> will be reset
187 to an empty string.</li>
188 </ul></p>
190 @since OOo 2.4.0
192 [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
196 //=============================================================================
198 }; }; }; };
200 #endif