1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com
{ module sun
{ module star
{ module frame
{
23 /** controls the layout of user interface elements which are part of a frame.
26 Layout management is the process of determining the size and position of
27 user interface elements. By default, each Frame has a layout
28 manager -- it performs layout management for the user interface elements
29 within the frame. User interface elements can provide size and alignment
30 hints to layout managers, but layout managers have the final decision on
31 the size and position of those user interface elements.
37 <li>boolean <code>MenuBarCloser</code>: Whether the small "Close" button in the menubar is displayed</li>
38 <li>boolean <code>AutomaticToolbars</code>: Whether automatic toolbars do appear</li>
39 <li>boolean <code>RefreshContextToolbarVisibility</code>: Set to true to refresh visibility of context toolbars</li>
40 <li>boolean <code>HideCurrentUI</code>: Hide/Show current UI elements (Toolbar, Statusbar, Menubar, etc)</li>
41 <li>boolean <code>PreserveContentSize</code>: When true, the outer window is resized the content/document size is preserved</li>
48 service LayoutManager
: XLayoutManager2
;
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */