1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: WindowDescriptor.idl,v $
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_WindowDescriptor_idl__
31 #define __com_sun_star_awt_WindowDescriptor_idl__
33 #ifndef __com_sun_star_awt_WindowClass_idl__
34 #include
<com
/sun
/star
/awt
/WindowClass.idl
>
37 #ifndef __com_sun_star_awt_XWindowPeer_idl__
38 #include
<com
/sun
/star
/awt
/XWindowPeer.idl
>
41 #ifndef __com_sun_star_awt_Rectangle_idl__
42 #include
<com
/sun
/star
/awt
/Rectangle.idl
>
46 //=============================================================================
48 module com
{ module sun
{ module star
{ module awt
{
50 //=============================================================================
52 /** describes a window.
54 published
struct WindowDescriptor
56 //-------------------------------------------------------------------------
58 /** specifies the type of window.
60 com
::sun
::star
::awt
::WindowClass Type
;
62 //-------------------------------------------------------------------------
64 /** specifies the name of the component service.
66 <p>A zero length name means that the vcl creates a blank top,
67 a container, or a simple window.
68 The following service names are defined:<br/>
76 <li>currencyfield</li>
81 <li>dockingwindow</li>
88 <li>floatingwindow</li>
93 <li>imageradiobutton</li>
96 <li>longcurrencybox</li>
97 <li>longcurrencyfield</li>
103 <li>modelessdialog</li>
105 <li>multilistbox</li>
107 <li>numericfield</li>
110 <li>patternfield</li>
115 <li>scrollbarbox</li>
116 <li>simpleanimation</li>
123 <li>systemchildwindow</li>
137 string WindowServiceName
;
139 //-------------------------------------------------------------------------
141 /** specifies the parent of the component.
143 <p>If <code>Parent == 0 && ParentIndex == -1</code>,
144 then the window is on the desktop.</p>
146 com
::sun
::star
::awt
::XWindowPeer Parent
;
148 //-------------------------------------------------------------------------
150 /** specifies the index of the parent window, if available.
152 <p>If <code>Parent == 0</code> and this struct is a member of an array,
153 then this is the offset from the beginning of the array to the parent.
154 A value of -1 means desktop.</p>
158 //-------------------------------------------------------------------------
160 /** specifies the position and size of the window.
162 <p>This member is ignored if the window attribute is
163 <const scope="com::sun::star::awt">WindowAttribute::FULLSIZE</const>.</p>
165 com
::sun
::star
::awt
::Rectangle Bounds
;
167 //-------------------------------------------------------------------------
169 /** specifies the window attributes.
171 <p>Use one value out of the constant group
172 <type scope="com::sun::star::awt">WindowAttribute</type>.</p>
174 long WindowAttributes
;
178 //=============================================================================