1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: LayoutManagerEvents.idl,v $
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_frame_LayoutManagerEvents_idl__
31 #define __com_sun_star_frame_LayoutManagerEvents_idl__
33 //=============================================================================
35 module com
{ module sun
{ module star
{ module frame
{
37 //=============================================================================
38 /** provides information about layout manager events
40 <p>Events are provided <strong>only</strong> for notification
43 @see com::sun::star::frame::LayoutManager
44 @see com::sun::star::frame::XLayoutManagerEventBroadcaster
48 constants LayoutManagerEvents
50 //-------------------------------------------------------------------------
51 /** specifies that the layout manager processed a lock call, which
52 prevents it from doing layouts.
55 This event sends the current lock count as additional
61 //-------------------------------------------------------------------------
62 /** specifies that the layout manager processed an unlock call, which
63 admit layouts when the lock count is zero.
66 This event sends the current lock count as additional
70 const short UNLOCK
= 1;
72 //-------------------------------------------------------------------------
73 /** specifies that the layout manager refreshed the layout of
77 This event sends no additional information.
80 const short LAYOUT
= 2;
82 //-------------------------------------------------------------------------
83 /** specifies that the layout manager container frame window
87 This event sends no additional information.
90 const short VISIBLE
= 3;
92 //-------------------------------------------------------------------------
93 /** specifies that the layout manager container frame window
97 This event sends no additional information.
100 const short INVISIBLE
= 4;
102 //-------------------------------------------------------------------------
103 /** A merged menu bar has been set at the layout manager.
106 This event sends no additional information.
109 const short MERGEDMENUBAR
= 5;
111 //-------------------------------------------------------------------------
112 /** specifies that a certain user interface element has been made
116 This event sends the resource url of the newly visible user
120 const short UIELEMENT_VISIBLE
= 6;
122 //-------------------------------------------------------------------------
123 /** specifies that a certain user interface element has been made
127 This event sends the resource url of the invisible user
131 const short UIELEMENT_INVISIBLE
= 7;