Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / awt / WindowAttribute.idl
blob36b77030ccb44be961ef2919fb8bb3c86721cc3a
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: WindowAttribute.idl,v $
10 * $Revision: 1.14 $
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_WindowAttribute_idl__
31 #define __com_sun_star_awt_WindowAttribute_idl__
34 //=============================================================================
36 module com { module sun { module star { module awt {
38 //=============================================================================
40 /** These values are used to specify the decorations of a window.
42 <p><b>IMPORTANT:</b> These constands have to be disjunct with
43 constants in <type>VclWindowPeerAttribute</type>.</p>
45 published constants WindowAttribute
47 //-------------------------------------------------------------------------
49 /** specifies that the window is initially visible.
51 const long SHOW = 1;
53 //-------------------------------------------------------------------------
55 /** specifies that the window fills the complete desktop area.
57 <p>This applies only to top windows.</p>
59 const long FULLSIZE = 2;
61 //-------------------------------------------------------------------------
63 /** specifies that the window is optimum size.
65 <p>This applies only to top windows.</p>
67 const long OPTIMUMSIZE = 4;
69 //-------------------------------------------------------------------------
71 /** specifies that the window is minimum size.
73 <p>This applies only to top windows.</p>
75 const long MINSIZE = 8;
77 //-------------------------------------------------------------------------
79 /** specifies that the window has visible borders.
81 <p>This applies only to top windows.</p>
83 const long BORDER = 16;
85 //-------------------------------------------------------------------------
87 /** specifies that the size of the window can be changed by the user.
89 <p>This applies only to top windows.</p>
91 const long SIZEABLE = 32;
93 //-------------------------------------------------------------------------
95 /** specifies that the window can be moved by the user.
97 <p>This applies only to top windows.</p>
99 const long MOVEABLE = 64;
101 //-------------------------------------------------------------------------
103 /** specifies that the window can be closed by the user.
105 <p>This applies only to top windows.</p>
107 const long CLOSEABLE = 128;
109 //-------------------------------------------------------------------------
111 /** specifies that the window should support the
112 <type scope="com::sun::star::awt::">XSystemDependentWindowPeer</type>
113 interface.
115 <p>This flag may be ignored, but in this case no system-dependent
116 extension works.</p>
118 @see XSystemDependentWindowPeer
119 @see com::sun::star::lang::SystemDependent
121 @deprecated
122 conflicts with <member>VclWindowPeerAttribute::HSCROLL</member>
124 const long SYSTEMDEPENDENT = 256;
126 //-------------------------------------------------------------------------
128 /** specifies that the window should have no decoration.
130 const long NODECORATION = 512;
134 //=============================================================================
136 }; }; }; };
138 #endif