merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / frame / LayoutManagerEvents.idl
blobba858c64c44a59932b7588a13319a0bc92b88371
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: LayoutManagerEvents.idl,v $
10 * $Revision: 1.8 $
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
41 purposes only.</p>
43 @see com::sun::star::frame::LayoutManager
44 @see com::sun::star::frame::XLayoutManagerEventBroadcaster
46 @since OOo 2.0.0
48 constants LayoutManagerEvents
50 //-------------------------------------------------------------------------
51 /** specifies that the layout manager processed a lock call, which
52 prevents it from doing layouts.
54 <p>
55 This event sends the current lock count as additional
56 information.
57 </p>
59 const short LOCK = 0;
61 //-------------------------------------------------------------------------
62 /** specifies that the layout manager processed an unlock call, which
63 admit layouts when the lock count is zero.
65 <p>
66 This event sends the current lock count as additional
67 information.
68 </p>
70 const short UNLOCK = 1;
72 //-------------------------------------------------------------------------
73 /** specifies that the layout manager refreshed the layout of
74 the frame.
76 <p>
77 This event sends no additional information.
78 </p>
80 const short LAYOUT = 2;
82 //-------------------------------------------------------------------------
83 /** specifies that the layout manager container frame window
84 becomes visible.
86 <p>
87 This event sends no additional information.
88 </p>
90 const short VISIBLE = 3;
92 //-------------------------------------------------------------------------
93 /** specifies that the layout manager container frame window
94 becomes invisible.
96 <p>
97 This event sends no additional information.
98 </p>
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.
107 </p>
109 const short MERGEDMENUBAR = 5;
111 //-------------------------------------------------------------------------
112 /** specifies that a certain user interface element has been made
113 visible
116 This event sends the resource url of the newly visible user
117 interface element.
118 </p>
120 const short UIELEMENT_VISIBLE = 6;
122 //-------------------------------------------------------------------------
123 /** specifies that a certain user interface element has been made
124 invisible
127 This event sends the resource url of the invisible user
128 interface element.
129 </p>
131 const short UIELEMENT_INVISIBLE = 7;
134 }; }; }; };
136 #endif