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_frame_LayoutManagerEvents_idl__
28#define __com_sun_star_frame_LayoutManagerEvents_idl__
29
30//=============================================================================
31
32module com {  module sun {  module star {  module frame {
33
34//=============================================================================
35/** provides information about layout manager events
36
37    <p>Events are provided <strong>only</strong> for notification
38    purposes only.</p>
39
40    @see com::sun::star::frame::LayoutManager
41    @see com::sun::star::frame::XLayoutManagerEventBroadcaster
42
43    @since OOo 2.0
44 */
45constants LayoutManagerEvents
46{
47	//-------------------------------------------------------------------------
48	/** specifies that the layout manager processed a lock call, which
49        prevents it from doing layouts.
50
51        <p>
52        This event sends the current lock count as additional
53        information.
54        </p>
55	 */
56    const short LOCK = 0;
57
58	//-------------------------------------------------------------------------
59	/** specifies that the layout manager processed an unlock call, which
60        admit layouts when the lock count is zero.
61
62        <p>
63        This event sends the current lock count as additional
64        information.
65        </p>
66	 */
67    const short UNLOCK = 1;
68
69	//-------------------------------------------------------------------------
70	/** specifies that the layout manager refreshed the layout of
71        the frame.
72
73        <p>
74        This event sends no additional information.
75        </p>
76	 */
77    const short LAYOUT = 2;
78
79	//-------------------------------------------------------------------------
80	/** specifies that the layout manager container frame window
81        becomes visible.
82
83        <p>
84        This event sends no additional information.
85        </p>
86	 */
87    const short VISIBLE = 3;
88
89	//-------------------------------------------------------------------------
90	/** specifies that the layout manager container frame window
91        becomes invisible.
92
93        <p>
94        This event sends no additional information.
95        </p>
96	 */
97    const short INVISIBLE = 4;
98
99	//-------------------------------------------------------------------------
100	/** A merged menu bar has been set at the layout manager.
101
102        <p>
103        This event sends no additional information.
104        </p>
105	 */
106    const short MERGEDMENUBAR = 5;
107
108	//-------------------------------------------------------------------------
109	/** specifies that a certain user interface element has been made
110        visible
111
112        <p>
113        This event sends the resource url of the newly visible user
114        interface element.
115        </p>
116	 */
117    const short UIELEMENT_VISIBLE = 6;
118
119	//-------------------------------------------------------------------------
120	/** specifies that a certain user interface element has been made
121        invisible
122
123        <p>
124        This event sends the resource url of the invisible user
125        interface element.
126        </p>
127	 */
128    const short UIELEMENT_INVISIBLE = 7;
129};
130
131}; }; }; };
132
133#endif
134