xref: /trunk/main/offapi/com/sun/star/ui/XSidebar.idl (revision 7a32b0c8)
1d975be8cSAndre Fischer/**************************************************************
2d975be8cSAndre Fischer *
3d975be8cSAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
4d975be8cSAndre Fischer * or more contributor license agreements.  See the NOTICE file
5d975be8cSAndre Fischer * distributed with this work for additional information
6d975be8cSAndre Fischer * regarding copyright ownership.  The ASF licenses this file
7d975be8cSAndre Fischer * to you under the Apache License, Version 2.0 (the
8d975be8cSAndre Fischer * "License"); you may not use this file except in compliance
9d975be8cSAndre Fischer * with the License.  You may obtain a copy of the License at
10d975be8cSAndre Fischer *
11d975be8cSAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
12d975be8cSAndre Fischer *
13d975be8cSAndre Fischer * Unless required by applicable law or agreed to in writing,
14d975be8cSAndre Fischer * software distributed under the License is distributed on an
15d975be8cSAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d975be8cSAndre Fischer * KIND, either express or implied.  See the License for the
17d975be8cSAndre Fischer * specific language governing permissions and limitations
18d975be8cSAndre Fischer * under the License.
19d975be8cSAndre Fischer *
20d975be8cSAndre Fischer *************************************************************/
21d975be8cSAndre Fischer
22d975be8cSAndre Fischer
23*7a32b0c8SAndre Fischer
24*7a32b0c8SAndre Fischer#ifndef __com_sun_star_ui_XSidebar_idl__
25*7a32b0c8SAndre Fischer#define __com_sun_star_ui_XSidebar_idl__
26d975be8cSAndre Fischer
27d975be8cSAndre Fischer#ifndef __com_sun_star_uno_XInterface_idl__
28d975be8cSAndre Fischer#include <com/sun/star/uno/XInterface.idl>
29d975be8cSAndre Fischer#endif
30d975be8cSAndre Fischer
31d975be8cSAndre Fischermodule com { module sun { module star { module ui {
32d975be8cSAndre Fischer
33*7a32b0c8SAndre Fischer/** Interface of the sidebar that allows its elements like panels to eg request layouts.
34d975be8cSAndre Fischer*/
35*7a32b0c8SAndre Fischerinterface XSidebar
36d975be8cSAndre Fischer{
37*7a32b0c8SAndre Fischer    /** Request layout of the sidebar.
38*7a32b0c8SAndre Fischer        Call this method when one of the panels wants to change its size due to
39*7a32b0c8SAndre Fischer        late initilization or different content after a context change.
40d975be8cSAndre Fischer    */
41*7a32b0c8SAndre Fischer    void requestLayout ();
42*7a32b0c8SAndre Fischer} ;
43d975be8cSAndre Fischer
44*7a32b0c8SAndre Fischer} ; } ; } ; } ;
45d975be8cSAndre Fischer
46d975be8cSAndre Fischer#endif
47