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 .
19 #ifndef __com_sun_star_awt_UnoControlDialogModel_idl__
20 #define __com_sun_star_awt_UnoControlDialogModel_idl__
22 #include
<com
/sun
/star
/awt
/FontDescriptor.idl
>
23 #include
<com
/sun
/star
/awt
/UnoControlModel.idl
>
24 #include
<com
/sun
/star
/container
/XContainer.idl
>
25 #include
<com
/sun
/star
/container
/XNameContainer.idl
>
27 #include
<com
/sun
/star
/lang
/XMultiServiceFactory.idl
>
28 #include
<com
/sun
/star
/util
/Color.idl
>
29 #include
<com
/sun
/star
/graphic
/XGraphic.idl
>
32 module com
{ module sun
{ module star
{ module awt
{
35 /** specifies the standard model of an UnoControlDialog.
37 published service UnoControlDialogModel
39 service com
::sun
::star
::awt
::UnoControlModel
;
41 /** allows to create control models, which support the
42 UnoControlDialogElement service and can be inserted into
45 interface com
::sun
::star
::lang
::XMultiServiceFactory
;
47 interface com
::sun
::star
::container
::XContainer
;
49 interface com
::sun
::star
::container
::XNameContainer
;
52 /** specifies the background color (RGB) of the dialog.
54 [property
] com
::sun
::star
::util
::Color BackgroundColor
;
57 /** specifies if the dialog is closeable.
59 [property
] boolean Closeable
;
62 /** determines whether a dialog is enabled or disabled.
64 [property
] boolean Enabled
;
67 /** specifies the font attributes of the text in the caption bar of the dialog.
69 [property
] com
::sun
::star
::awt
::FontDescriptor FontDescriptor
;
72 /** specifies the com::sun::star::text::FontEmphasis
73 value of the text in the caption bar of the dialog.
75 [property
] short FontEmphasisMark
;
78 /** specifies the com::sun::star::text::FontRelief
79 value of the text in the caption bar of the dialog.
81 [property
] short FontRelief
;
84 /** specifies the help text of the dialog.
86 [property
] string HelpText
;
89 /** specifies the help URL of the dialog.
91 [property
] string HelpURL
;
94 /** specifies if the dialog is moveable.
96 [property
] boolean Moveable
;
99 /** specifies if the dialog is sizeable.
101 [property
] boolean Sizeable
;
104 /** specifies the text color (RGB) of the dialog.
106 [property
] com
::sun
::star
::util
::Color TextColor
;
109 /** specifies the text line color (RGB) of the dialog.
111 [property
] com
::sun
::star
::util
::Color TextLineColor
;
114 /** specifies the text that is displayed in the caption bar of the dialog.
116 [property
] string Title
;
119 /** If set to true the dialog will have the desktop as parent.
123 [optional, property
] boolean DesktopAsParent
;
125 /** specifies a URL that references a graphic that should be used as a
131 [optional, property
] string ImageURL
;
133 /** specifies a graphic to be displayed as a background image
135 <p>If this property is present, it interacts with the #ImageURL in the
137 <ul><li>If #ImageURL is set, #Graphic will be reset
138 to an object as loaded from the given image URL, or `NULL` if #ImageURL
139 does not point to a valid image file.</li>
140 <li>If #Graphic is set, #ImageURL will be reset
141 to an empty string.</li>
146 [optional, property
, transient
] com
::sun
::star
::graphic
::XGraphic Graphic
;
155 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */