1d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5d1766043SAndrew Rist * distributed with this work for additional information
6d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10d1766043SAndrew Rist *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12d1766043SAndrew Rist *
13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14d1766043SAndrew Rist * software distributed under the License is distributed on an
15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17d1766043SAndrew Rist * specific language governing permissions and limitations
18d1766043SAndrew Rist * under the License.
19d1766043SAndrew Rist *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_frame_LayoutManagerEvents_idl__
24cdf0e10cSrcweir#define __com_sun_star_frame_LayoutManagerEvents_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir//=============================================================================
27cdf0e10cSrcweir
28cdf0e10cSrcweirmodule com {  module sun {  module star {  module frame {
29cdf0e10cSrcweir
30cdf0e10cSrcweir//=============================================================================
31cdf0e10cSrcweir/** provides information about layout manager events
32cdf0e10cSrcweir
33cdf0e10cSrcweir    <p>Events are provided <strong>only</strong> for notification
34cdf0e10cSrcweir    purposes only.</p>
35cdf0e10cSrcweir
36cdf0e10cSrcweir    @see com::sun::star::frame::LayoutManager
37cdf0e10cSrcweir    @see com::sun::star::frame::XLayoutManagerEventBroadcaster
38cdf0e10cSrcweir
39*c4dc0a1aSJürgen Schmidt    @since OpenOffice 2.0
40cdf0e10cSrcweir */
41cdf0e10cSrcweirconstants LayoutManagerEvents
42cdf0e10cSrcweir{
43cdf0e10cSrcweir	//-------------------------------------------------------------------------
44cdf0e10cSrcweir	/** specifies that the layout manager processed a lock call, which
45cdf0e10cSrcweir        prevents it from doing layouts.
46cdf0e10cSrcweir
47cdf0e10cSrcweir        <p>
48cdf0e10cSrcweir        This event sends the current lock count as additional
49cdf0e10cSrcweir        information.
50cdf0e10cSrcweir        </p>
51cdf0e10cSrcweir	 */
52cdf0e10cSrcweir    const short LOCK = 0;
53cdf0e10cSrcweir
54cdf0e10cSrcweir	//-------------------------------------------------------------------------
55cdf0e10cSrcweir	/** specifies that the layout manager processed an unlock call, which
56cdf0e10cSrcweir        admit layouts when the lock count is zero.
57cdf0e10cSrcweir
58cdf0e10cSrcweir        <p>
59cdf0e10cSrcweir        This event sends the current lock count as additional
60cdf0e10cSrcweir        information.
61cdf0e10cSrcweir        </p>
62cdf0e10cSrcweir	 */
63cdf0e10cSrcweir    const short UNLOCK = 1;
64cdf0e10cSrcweir
65cdf0e10cSrcweir	//-------------------------------------------------------------------------
66cdf0e10cSrcweir	/** specifies that the layout manager refreshed the layout of
67cdf0e10cSrcweir        the frame.
68cdf0e10cSrcweir
69cdf0e10cSrcweir        <p>
70cdf0e10cSrcweir        This event sends no additional information.
71cdf0e10cSrcweir        </p>
72cdf0e10cSrcweir	 */
73cdf0e10cSrcweir    const short LAYOUT = 2;
74cdf0e10cSrcweir
75cdf0e10cSrcweir	//-------------------------------------------------------------------------
76cdf0e10cSrcweir	/** specifies that the layout manager container frame window
77cdf0e10cSrcweir        becomes visible.
78cdf0e10cSrcweir
79cdf0e10cSrcweir        <p>
80cdf0e10cSrcweir        This event sends no additional information.
81cdf0e10cSrcweir        </p>
82cdf0e10cSrcweir	 */
83cdf0e10cSrcweir    const short VISIBLE = 3;
84cdf0e10cSrcweir
85cdf0e10cSrcweir	//-------------------------------------------------------------------------
86cdf0e10cSrcweir	/** specifies that the layout manager container frame window
87cdf0e10cSrcweir        becomes invisible.
88cdf0e10cSrcweir
89cdf0e10cSrcweir        <p>
90cdf0e10cSrcweir        This event sends no additional information.
91cdf0e10cSrcweir        </p>
92cdf0e10cSrcweir	 */
93cdf0e10cSrcweir    const short INVISIBLE = 4;
94cdf0e10cSrcweir
95cdf0e10cSrcweir	//-------------------------------------------------------------------------
96cdf0e10cSrcweir	/** A merged menu bar has been set at the layout manager.
97cdf0e10cSrcweir
98cdf0e10cSrcweir        <p>
99cdf0e10cSrcweir        This event sends no additional information.
100cdf0e10cSrcweir        </p>
101cdf0e10cSrcweir	 */
102cdf0e10cSrcweir    const short MERGEDMENUBAR = 5;
103cdf0e10cSrcweir
104cdf0e10cSrcweir	//-------------------------------------------------------------------------
105cdf0e10cSrcweir	/** specifies that a certain user interface element has been made
106cdf0e10cSrcweir        visible
107cdf0e10cSrcweir
108cdf0e10cSrcweir        <p>
109cdf0e10cSrcweir        This event sends the resource url of the newly visible user
110cdf0e10cSrcweir        interface element.
111cdf0e10cSrcweir        </p>
112cdf0e10cSrcweir	 */
113cdf0e10cSrcweir    const short UIELEMENT_VISIBLE = 6;
114cdf0e10cSrcweir
115cdf0e10cSrcweir	//-------------------------------------------------------------------------
116cdf0e10cSrcweir	/** specifies that a certain user interface element has been made
117cdf0e10cSrcweir        invisible
118cdf0e10cSrcweir
119cdf0e10cSrcweir        <p>
120cdf0e10cSrcweir        This event sends the resource url of the invisible user
121cdf0e10cSrcweir        interface element.
122cdf0e10cSrcweir        </p>
123cdf0e10cSrcweir	 */
124cdf0e10cSrcweir    const short UIELEMENT_INVISIBLE = 7;
125cdf0e10cSrcweir};
126cdf0e10cSrcweir
127cdf0e10cSrcweir}; }; }; };
128cdf0e10cSrcweir
129cdf0e10cSrcweir#endif
130