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: LayoutManager.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 ************************************************************************/
31 #ifndef __com_sun_star_frame_LayoutManager_idl__
32 #define __com_sun_star_frame_LayoutManager_idl__
34 #ifndef __com_sun_star_frame_XLayoutManager_idl__
35 #include
<com
/sun
/star
/frame
/XLayoutManager.idl
>
38 #ifndef __com_sun_star_frame_XFrameActionListener_idl__
39 #include
<com
/sun
/star
/frame
/XFrameActionListener.idl
>
42 #ifndef __com_sun_star_ui_XUIConfigurationListener_idl__
43 #include
<com
/sun
/star
/ui
/XUIConfigurationListener.idl
>
46 #ifndef __com_sun_star_frame_XInplaceLayout_idl__
47 #include
<com
/sun
/star
/frame
/XInplaceLayout.idl
>
50 #ifndef __com_sun_star_beans_XPropertySet_idl__
51 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
54 #ifndef __com_sun_star_frame_XMenuBarMergingAcceptor_idl__
55 #include
<com
/sun
/star
/frame
/XMenuBarMergingAcceptor.idl
>
58 #ifndef __com_sun_star_frame_XLayoutManagerEventBroadcaster_idl__
59 #include
<com
/sun
/star
/frame
/XLayoutManagerEventBroadcaster.idl
>
62 //=============================================================================
64 module com
{ module sun
{ module star
{ module frame
{
66 //=============================================================================
67 /** controls the layout of user interface elements which are part of a frame.
70 Layout management is the process of determining the size and position of
71 user interface elements. By default, each <type>Frame</type> has a layout
72 manager -- it performs layout management for the user interface elements
73 within the frame. User interface elements can provide size and alignment
74 hints to layout managers, but layout managers have the final decision on
75 the size and position of those user interface elements.
83 /** central interface to query for, create, destroy and manipulate user
84 interface elements which are bound to a frame.
86 @see ::com::sun::star::frame::XLayoutManager;
88 interface ::com
::sun
::star
::frame
::XLayoutManager
;
90 /** notification interface to receive status information about the state
91 of the connected frame.
94 E.g., you can receive events of instantiation/destruction and
95 activation/deactivation of a frame.
98 @see XFrame::addFrameActionListener()
99 @see XFrame::removeFrameActionListener()
101 interface ::com
::sun
::star
::frame
::XFrameActionListener
;
103 /** notification interface to receive change messages of user interface
104 elements which are part of the layout manager.
107 E.g., you can receive events of insertion/replacing and
108 removing of settings data of user interface elements.
111 @see com::sun::star::ui::XUIConfiguration
113 interface ::com
::sun
::star
::ui
::XUIConfigurationListener
;
115 /** provides functions to merge menus for inplace editing of components
116 inside OpenOffice.org.
118 interface ::com
::sun
::star
::frame
::XMenuBarMergingAcceptor
;
120 /** registers listeners that want to receive layout manager
123 [optional] interface ::com
::sun
::star
::frame
::XLayoutManagerEventBroadcaster
;
125 /** interface to support settings a menu bar for inplace editing of
126 components inside OpenOffice.org.
130 [optional] interface ::com
::sun
::star
::frame
::XInplaceLayout
;