LibreOffice Module sfx2 (master) 1
|
Accept requests for switching to certain panels or decks. More...
#include <Sidebar.hxx>
Static Public Member Functions | |
static void | ShowDeck (std::u16string_view rsDeckId, SfxViewFrame *pViewFrame, bool bToggle) |
static void | ShowPanel (std::u16string_view rsPanelId, const css::uno::Reference< css::frame::XFrame > &rxFrame, bool bFocus=false) |
Switch to the deck that contains the specified panel and make sure that the panel is visible (expanded and scrolled into the visible area.) Note that most of the work is done asynchronously and that this function probably returns before the requested panel is visible. More... | |
static void | TogglePanel (std::u16string_view rsPanelId, const css::uno::Reference< css::frame::XFrame > &rxFrame) |
Switch to the deck that contains the specified panel and toggle the visibility of the panel (expanded and scrolled into the visible area when visible) Note that most of the work is done asynchronously and that this function probably returns before the requested panel is visible. More... | |
static bool | IsPanelVisible (std::u16string_view rsPanelId, const css::uno::Reference< css::frame::XFrame > &rxFrame) |
Accept requests for switching to certain panels or decks.
Definition at line 35 of file Sidebar.hxx.
|
static |
|
static |
Definition at line 34 of file Sidebar.cxx.
References aURL, SfxViewFrame::GetChildWindow(), sfx2::sidebar::Tools::GetDispatch(), sfx2::sidebar::SidebarController::GetFocusManager(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), sfx2::sidebar::SidebarController::GetSidebarControllerForFrame(), sfx2::sidebar::Tools::GetURL(), sfx2::sidebar::FocusManager::GrabFocusPanel(), sfx2::sidebar::SidebarController::IsDeckVisible(), SfxChildWindow::IsVisible(), sfx2::sidebar::SidebarController::OpenThenSwitchToDeck(), SfxViewFrame::ShowChildWindow(), and xDispatch.
Referenced by SfxViewFrame::ChildWindowExecute().
|
static |
Switch to the deck that contains the specified panel and make sure that the panel is visible (expanded and scrolled into the visible area.) Note that most of the work is done asynchronously and that this function probably returns before the requested panel is visible.
Definition at line 64 of file Sidebar.cxx.
References sfx2::sidebar::SidebarController::GetFocusManager(), sfx2::sidebar::ResourceManager::GetPanelDescriptor(), sfx2::sidebar::SidebarController::GetResourceManager(), sfx2::sidebar::SidebarController::GetSidebarControllerForFrame(), sfx2::sidebar::FocusManager::GrabFocusPanel(), and sfx2::sidebar::SidebarController::OpenThenSwitchToDeck().
Referenced by SfxViewFrame::ChildWindowExecute().
|
static |
Switch to the deck that contains the specified panel and toggle the visibility of the panel (expanded and scrolled into the visible area when visible) Note that most of the work is done asynchronously and that this function probably returns before the requested panel is visible.
Definition at line 89 of file Sidebar.cxx.
References sfx2::sidebar::ResourceManager::GetPanelDescriptor(), sfx2::sidebar::SidebarController::GetResourceManager(), sfx2::sidebar::SidebarController::GetSidebarControllerForFrame(), and sfx2::sidebar::SidebarController::OpenThenToggleDeck().