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_WindowDescriptor_idl__
20 #define __com_sun_star_awt_WindowDescriptor_idl__
22 #include
<com
/sun
/star
/awt
/WindowClass.idl
>
24 #include
<com
/sun
/star
/awt
/XWindowPeer.idl
>
26 #include
<com
/sun
/star
/awt
/Rectangle.idl
>
30 module com
{ module sun
{ module star
{ module awt
{
33 /** describes a window.
35 published
struct WindowDescriptor
38 /** specifies the type of window.
40 com
::sun
::star
::awt
::WindowClass Type
;
43 /** specifies the name of the component service.
45 <p>A zero length name means that the VCL creates a blank top,
46 a container, or a simple window.
47 The following service names are defined:<br/>
55 <li>currencyfield</li>
60 <li>dockingwindow</li>
67 <li>floatingwindow</li>
72 <li>imageradiobutton</li>
75 <li>longcurrencybox</li>
76 <li>longcurrencyfield</li>
82 <li>modelessdialog</li>
100 <li>systemchildwindow</li>
114 string WindowServiceName
;
117 /** specifies the parent of the component.
119 <p>If <code>Parent == 0 && ParentIndex == -1</code>,
120 then the window is on the desktop.</p>
122 com
::sun
::star
::awt
::XWindowPeer Parent
;
125 /** specifies the index of the parent window, if available.
127 <p>If <code>Parent == 0</code> and this struct is a member of an array,
128 then this is the offset from the beginning of the array to the parent.
129 A value of -1 means desktop.</p>
134 /** specifies the position and size of the window.
136 <p>This member is ignored if the window attribute is
137 com::sun::star::awt::WindowAttribute::FULLSIZE.</p>
139 com
::sun
::star
::awt
::Rectangle Bounds
;
142 /** specifies the window attributes.
144 <p>Use one value out of the constant group
145 com::sun::star::awt::WindowAttribute.</p>
147 long WindowAttributes
;
156 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */