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/.
12 module com
{ module sun
{ module star
{ module ui
{
14 /** Interface of the sidebar
15 @since LibreOffice 5.1
17 interface XSidebarProvider
: com
::sun
::star
::uno
::XInterface
19 /** Display the sidebar
22 the requested visible state
24 void setVisible
( [in] boolean bVisible
);
26 /** Is the sidebar visible
30 /** Get the XFrame owner
32 com
::sun
::star
::frame
::XFrame getFrame
();
34 /* Decks collection attached to the sidebar
36 com
::sun
::star
::ui
::XDecks getDecks
();
38 /** Decks container visibility
41 the requested visible state
43 <li>FALSE collapses the deck container horizontally. Then Only shows the deck TabBar selector</li>
44 <li>TRUE expands the deck container and show active Deck content</li>
47 void showDecks
([in] boolean bVisible
);
50 * Returns the sidebar object
52 com
::sun
::star
::ui
::XSidebar getSidebar
();
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */