1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#ifndef __com_sun_star_awt_WindowAttribute_idl__ 25#define __com_sun_star_awt_WindowAttribute_idl__ 26 27 28//============================================================================= 29 30 module com { module sun { module star { module awt { 31 32//============================================================================= 33 34/** These values are used to specify the decorations of a window. 35 36 <p><b>IMPORTANT:</b> These constants have to be disjunct with 37 constants in <type>VclWindowPeerAttribute</type>.</p> 38 */ 39published constants WindowAttribute 40{ 41 //------------------------------------------------------------------------- 42 43 /** specifies that the window is initially visible. 44 */ 45 const long SHOW = 1; 46 47 //------------------------------------------------------------------------- 48 49 /** specifies that the window fills the complete desktop area. 50 51 <p>This applies only to top windows.</p> 52 */ 53 const long FULLSIZE = 2; 54 55 //------------------------------------------------------------------------- 56 57 /** specifies that the window is optimum size. 58 59 <p>This applies only to top windows.</p> 60 */ 61 const long OPTIMUMSIZE = 4; 62 63 //------------------------------------------------------------------------- 64 65 /** specifies that the window is minimum size. 66 67 <p>This applies only to top windows.</p> 68 */ 69 const long MINSIZE = 8; 70 71 //------------------------------------------------------------------------- 72 73 /** specifies that the window has visible borders. 74 75 <p>This applies only to top windows.</p> 76 */ 77 const long BORDER = 16; 78 79 //------------------------------------------------------------------------- 80 81 /** specifies that the size of the window can be changed by the user. 82 83 <p>This applies only to top windows.</p> 84 */ 85 const long SIZEABLE = 32; 86 87 //------------------------------------------------------------------------- 88 89 /** specifies that the window can be moved by the user. 90 91 <p>This applies only to top windows.</p> 92 */ 93 const long MOVEABLE = 64; 94 95 //------------------------------------------------------------------------- 96 97 /** specifies that the window can be closed by the user. 98 99 <p>This applies only to top windows.</p> 100 */ 101 const long CLOSEABLE = 128; 102 103 //------------------------------------------------------------------------- 104 105 /** specifies that the window should support the 106 <type scope="com::sun::star::awt::">XSystemDependentWindowPeer</type> 107 interface. 108 109 <p>This flag may be ignored, but in this case no system-dependent 110 extension works.</p> 111 112 @see XSystemDependentWindowPeer 113 @see com::sun::star::lang::SystemDependent 114 115 @deprecated 116 conflicts with <member>VclWindowPeerAttribute::HSCROLL</member> 117 */ 118 const long SYSTEMDEPENDENT = 256; 119 120 //------------------------------------------------------------------------- 121 122 /** specifies that the window should have no decoration. 123 */ 124 const long NODECORATION = 512; 125 126}; 127 128//============================================================================= 129 130}; }; }; }; 131 132#endif 133