1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_awt_UnoControlDialogModel_idl__
29 #define __com_sun_star_awt_UnoControlDialogModel_idl__
31 #include
<com
/sun
/star
/awt
/FontDescriptor.idl
>
32 #include
<com
/sun
/star
/awt
/UnoControlModel.idl
>
33 #include
<com
/sun
/star
/container
/XContainer.idl
>
34 #include
<com
/sun
/star
/container
/XNameContainer.idl
>
36 #include
<com
/sun
/star
/lang
/XMultiServiceFactory.idl
>
37 #include
<com
/sun
/star
/util
/Color.idl
>
38 #include
<com
/sun
/star
/graphic
/XGraphic.idl
>
40 //=============================================================================
42 module com
{ module sun
{ module star
{ module awt
{
44 //=============================================================================
46 /** specifies the standard model of an <type>UnoControlDialog</type>.
48 published service UnoControlDialogModel
50 service com
::sun
::star
::awt
::UnoControlModel
;
52 /** allows to create control models, which support the
53 <type>UnoControlDialogElement</type> service and can be inserted into
56 interface com
::sun
::star
::lang
::XMultiServiceFactory
;
58 interface com
::sun
::star
::container
::XContainer
;
60 interface com
::sun
::star
::container
::XNameContainer
;
62 //-------------------------------------------------------------------------
64 /** specifies the background color (RGB) of the dialog.
66 [property
] com
::sun
::star
::util
::Color BackgroundColor
;
68 //-------------------------------------------------------------------------
70 /** specifies if the dialog is closeable.
72 [property
] boolean Closeable
;
74 //-------------------------------------------------------------------------
76 /** determines whether a dialog is enabled or disabled.
78 [property
] boolean Enabled
;
80 //-------------------------------------------------------------------------
82 /** specifies the font attributes of the text in the caption bar of the dialog.
84 [property
] com
::sun
::star
::awt
::FontDescriptor FontDescriptor
;
86 //-------------------------------------------------------------------------
88 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
89 value of the text in the caption bar of the dialog.
91 [property
] short FontEmphasisMark
;
93 //-------------------------------------------------------------------------
95 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
96 value of the text in the caption bar of the dialog.
98 [property
] short FontRelief
;
100 //-------------------------------------------------------------------------
102 /** specifies the help text of the dialog.
104 [property
] string HelpText
;
106 //-------------------------------------------------------------------------
108 /** specifies the help URL of the dialog.
110 [property
] string HelpURL
;
112 //-------------------------------------------------------------------------
114 /** specifies if the dialog is moveable.
116 [property
] boolean Moveable
;
118 //-------------------------------------------------------------------------
120 /** specifies if the dialog is sizeable.
122 [property
] boolean Sizeable
;
124 //-------------------------------------------------------------------------
126 /** specifies the text color (RGB) of the dialog.
128 [property
] com
::sun
::star
::util
::Color TextColor
;
130 //-------------------------------------------------------------------------
132 /** specifies the text line color (RGB) of the dialog.
134 [property
] com
::sun
::star
::util
::Color TextLineColor
;
136 //-------------------------------------------------------------------------
138 /** specifies the text that is displayed in the caption bar of the dialog.
140 [property
] string Title
;
142 //-------------------------------------------------------------------------
144 /** If set to true the dialog will have the desktop as parent.
148 [optional, property
] boolean DesktopAsParent
;
150 /** specifies a URL that references a graphic that should be used as a
156 [optional, property
] string ImageURL
;
158 /** specifies a graphic to be displayed as a background image
160 <p>If this property is present, it interacts with the <member>ImageURL</member>in the
162 <ul><li>If <member>ImageURL</member> is set, <member>Graphic</member> will be reset
163 to an object as loaded from the given image URL, or <NULL/> if <member>ImageURL</member>
164 does not point to a valid image file.</li>
165 <li>If <member>Graphic</member> is set, <member>ImageURL</member> will be reset
166 to an empty string.</li>
171 [optional, property
, transient
] com
::sun
::star
::graphic
::XGraphic Graphic
;
175 //=============================================================================
181 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */