1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_awt_WindowAttribute_idl__
28#define __com_sun_star_awt_WindowAttribute_idl__
29
30
31//=============================================================================
32
33 module com {  module sun {  module star {  module awt {
34
35//=============================================================================
36
37/** These values are used to specify the decorations of a window.
38
39	<p><b>IMPORTANT:</b> These constands have to be disjunct with
40	constants in <type>VclWindowPeerAttribute</type>.</p>
41 */
42published constants WindowAttribute
43{
44	//-------------------------------------------------------------------------
45
46	/** specifies that the window is initially visible.
47	 */
48	const long SHOW = 1;
49
50	//-------------------------------------------------------------------------
51
52	/** specifies that the window fills the complete desktop area.
53
54		<p>This applies only to top windows.</p>
55	 */
56	const long FULLSIZE = 2;
57
58	//-------------------------------------------------------------------------
59
60	/** specifies that the window is optimum size.
61
62		<p>This applies only to top windows.</p>
63	 */
64	const long OPTIMUMSIZE = 4;
65
66	//-------------------------------------------------------------------------
67
68	/** specifies that the window is minimum size.
69
70		<p>This applies only to top windows.</p>
71	 */
72	const long MINSIZE = 8;
73
74	//-------------------------------------------------------------------------
75
76	/** specifies that the window has visible borders.
77
78		<p>This applies only to top windows.</p>
79	 */
80	const long BORDER = 16;
81
82	//-------------------------------------------------------------------------
83
84	/** specifies that the size of the window can be changed by the user.
85
86		<p>This applies only to top windows.</p>
87	 */
88	const long SIZEABLE = 32;
89
90	//-------------------------------------------------------------------------
91
92	/** specifies that the window can be moved by the user.
93
94		<p>This applies only to top windows.</p>
95	 */
96	const long MOVEABLE = 64;
97
98	//-------------------------------------------------------------------------
99
100	/** specifies that the window can be closed by the user.
101
102		<p>This applies only to top windows.</p>
103	 */
104	const long CLOSEABLE = 128;
105
106	//-------------------------------------------------------------------------
107
108	/** specifies that the window should support the
109		<type scope="com::sun::star::awt::">XSystemDependentWindowPeer</type>
110        interface.
111
112		<p>This flag may be ignored, but in this case no system-dependent
113		extension works.</p>
114
115		@see XSystemDependentWindowPeer
116		@see com::sun::star::lang::SystemDependent
117
118		@deprecated
119			conflicts with <member>VclWindowPeerAttribute::HSCROLL</member>
120	 */
121	const long SYSTEMDEPENDENT = 256;
122
123	//-------------------------------------------------------------------------
124
125	/** specifies that the window should have no decoration.
126	 */
127    const long NODECORATION = 512;
128
129};
130
131//=============================================================================
132
133}; }; }; };
134
135#endif
136