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