LibreOffice Module sfx2 (master) 1
|
#include <childwin.hxx>
Public Member Functions | |
virtual | ~SfxChildWindow () |
void | Destroy () |
vcl::Window * | GetWindow () const |
void | SetController (std::shared_ptr< SfxDialogController > controller) |
void | ClearController () |
std::shared_ptr< SfxDialogController > & | GetController () |
const std::shared_ptr< SfxDialogController > & | GetController () const |
vcl::Window * | GetParent () const |
SfxChildAlignment | GetAlignment () const |
void | SetAlignment (SfxChildAlignment eAlign) |
virtual void | Hide () |
virtual void | Show (ShowFlags nFlags) |
sal_uInt16 | GetPosition () const |
sal_uInt16 | GetType () const |
virtual SfxChildWinInfo | GetInfo () const |
void | SaveStatus (const SfxChildWinInfo &rInfo) |
void | SetHideNotDelete (bool bOn) |
bool | IsHideNotDelete () const |
bool | IsVisible () const |
void | SetWantsFocus (bool) |
bool | WantsFocus () const |
virtual bool | QueryClose () |
const css::uno::Reference< css::frame::XFrame > & | GetFrame () const |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &) |
void | SetVisible_Impl (bool bVis) |
SAL_DLLPRIVATE void | SetWorkWindow_Impl (SfxWorkWindow *) |
SAL_DLLPRIVATE void | Activate_Impl () |
SAL_DLLPRIVATE void | SetFactory_Impl (const SfxChildWinFactory *) |
Static Public Member Functions | |
static void | RegisterChildWindow (SfxModule *, const SfxChildWinFactory &) |
static std::unique_ptr< SfxChildWindow > | CreateChildWindow (sal_uInt16, vcl::Window *, SfxBindings *, SfxChildWinInfo const &) |
static SAL_DLLPRIVATE void | InitializeChildWinFactory_Impl (sal_uInt16, SfxChildWinInfo &) |
Protected Member Functions | |
void | SetWindow (const VclPtr< vcl::Window > &p) |
SfxChildWindow (vcl::Window *pParentWindow, sal_uInt16 nId) | |
Private Member Functions | |
SAL_DLLPRIVATE void | ClearWorkwin () |
Private Attributes | |
VclPtr< vcl::Window > | pParent |
VclPtr< vcl::Window > | pWindow |
std::unique_ptr< SfxChildWindow_Impl > | pImpl |
std::shared_ptr< SfxDialogController > | xController |
SfxChildAlignment | eChildAlignment |
sal_uInt16 | nType |
Definition at line 99 of file childwin.hxx.
|
protected |
Definition at line 146 of file childwin.cxx.
References nId, NOALIGNMENT, nType, and pImpl.
|
virtual |
Definition at line 189 of file childwin.cxx.
References ClearWorkwin(), VclPtr< class reference_type >::disposeAndClear(), pWindow, and xController.
void SfxChildWindow::Activate_Impl | ( | ) |
Definition at line 559 of file childwin.cxx.
References pImpl, and pWindow.
Referenced by SfxDockingWindow::EventNotify().
|
inline |
Definition at line 120 of file childwin.hxx.
References xController.
|
private |
Definition at line 179 of file childwin.cxx.
References pImpl, and pWindow.
Referenced by Destroy(), and ~SfxChildWindow().
|
static |
Definition at line 200 of file childwin.cxx.
References SfxChildWinInfo::bVisible, DBG_ASSERT, SfxModule::GetActiveModule(), SfxApplication::GetChildWinFactoryById(), SfxModule::GetChildWinFactoryById(), SfxBindings::GetDispatcher_Impl(), SfxDispatcher::GetFrame(), Application::GetSystemWindowMode(), nId, SfxChildWinFactory::pCtor, pParent, SAL_INFO, Application::SetSystemWindowMode(), and SfxGetpApp().
Referenced by SfxWorkWindow::CreateChildWin_Impl().
void SfxChildWindow::Destroy | ( | ) |
Definition at line 158 of file childwin.cxx.
References ClearWorkwin(), and GetFrame().
Referenced by SfxWorkWindow::DeleteControllers_Impl(), SfxModelessDialog_Impl::Notify(), and SfxWorkWindow::RemoveChildWin_Impl().
|
inline |
Definition at line 125 of file childwin.hxx.
Referenced by SfxWorkWindow::CreateChildWin_Impl(), SfxDispatcher::DoDeactivate_Impl(), SfxDockingWindow::GetAlignment(), SfxWorkWindow::HidePopups_Impl(), and SfxWorkWindow::UpdateChildWindows_Impl().
|
inline |
Definition at line 121 of file childwin.hxx.
References xController.
Referenced by SfxWorkWindow::CreateChildWin_Impl(), SfxWorkWindow::DeleteControllers_Impl(), QueryClose(), SfxRecordingFloatWrapper_Impl::QueryClose(), SfxWorkWindow::RemoveChildWin_Impl(), and SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl().
|
inline |
Definition at line 122 of file childwin.hxx.
References xController.
const css::uno::Reference< css::frame::XFrame > & SfxChildWindow::GetFrame | ( | ) | const |
Definition at line 590 of file childwin.cxx.
References pImpl.
Referenced by Destroy(), SfxDockingWindow::EventNotify(), SfxPartDockWnd_Impl::EventNotify(), SfxPartDockWnd_Impl::QueryClose(), SfxDockingWindow::ReleaseChildWindow_Impl(), and SfxPartChildWnd_Impl::~SfxPartChildWnd_Impl().
|
virtual |
Definition at line 304 of file childwin.cxx.
References SfxChildWinInfo::aExtraString, SfxChildWinInfo::aPos, SfxChildWinInfo::aSize, SfxChildWinInfo::aWinState, SfxChildWinInfo::bVisible, VclPtr< class reference_type >::get(), weld::Window::get_position(), weld::Window::get_resizable(), weld::Window::get_size(), weld::Window::get_window_state(), SfxChildWinInfo::nFlags, NONE, pImpl, vcl::Pos, pWindow, vcl::Size, vcl::State, WB_SIZEABLE, and xController.
Referenced by SfxWorkWindow::ConfigChild_Impl(), SfxWorkWindow::CreateChildWin_Impl(), SfxWorkWindow::RemoveChildWin_Impl(), and SfxWorkWindow::ShowChildWindow_Impl().
|
inline |
Definition at line 123 of file childwin.hxx.
sal_uInt16 SfxChildWindow::GetPosition | ( | ) | const |
Definition at line 346 of file childwin.cxx.
References pImpl.
Referenced by SfxWorkWindow::CreateChildWin_Impl().
|
inline |
Definition at line 131 of file childwin.hxx.
References nType.
Referenced by SfxDockingWindow::Close(), SfxWorkWindow::ConfigChild_Impl(), SfxDockingWindow::GetType(), SfxWorkWindow::HidePopups_Impl(), IMPL_LINK_NOARG(), SaveStatus(), SfxDockingWindow::SetItemSize_Impl(), SfxDockingWindow::StartDocking(), and SfxDockingWindow::ToggleFloatingMode().
|
inline |
Definition at line 117 of file childwin.hxx.
Referenced by SfxViewFrame::AppendInfoBar(), SfxWorkWindow::ConfigChild_Impl(), SfxWorkWindow::CreateChildWin_Impl(), SfxWorkWindow::DeleteControllers_Impl(), SfxViewFrame::HasInfoBarWithID(), SfxWorkWindow::HidePopups_Impl(), SfxApplication::MiscExec_Impl(), QueryClose(), SfxPartChildWnd_Impl::QueryClose(), SfxWorkWindow::RemoveChildWin_Impl(), SfxViewFrame::RemoveInfoBar(), SfxDockingWrapper::SfxDockingWrapper(), SfxInfoBarContainerChild::SfxInfoBarContainerChild(), SfxPartChildWnd_Impl::SfxPartChildWnd_Impl(), SfxWorkWindow::ShowChildWindow_Impl(), SfxWorkWindow::ToggleChildWindow_Impl(), SfxInfoBarContainerChild::Update(), SfxWorkWindow::UpdateChildWindows_Impl(), SfxViewFrame::UpdateInfoBar(), and SfxPartChildWnd_Impl::~SfxPartChildWnd_Impl().
|
virtual |
Definition at line 511 of file childwin.cxx.
References nCloseResponseToJustHide, pWindow, and xController.
Referenced by SfxWorkWindow::DeleteControllers_Impl(), SfxWorkWindow::HidePopups_Impl(), SfxWorkWindow::RemoveChildWin_Impl(), and SfxWorkWindow::ShowChildWindow_Impl().
|
static |
Definition at line 351 of file childwin.cxx.
References SfxChildWinInfo::aExtraString, SfxChildWinInfo::aModule, aSeq, SfxChildWinInfo::aWinState, SfxChildWinInfo::bVisible, SfxChildWinInfo::nFlags, nId, nPos, nVersion, o3tl::toInt32(), and u.
Referenced by SfxWorkWindow::InitializeChild_Impl().
bool SfxChildWindow::IsHideNotDelete | ( | ) | const |
Definition at line 436 of file childwin.cxx.
References pImpl.
Referenced by SfxWorkWindow::UpdateChildWindows_Impl().
bool SfxChildWindow::IsVisible | ( | ) | const |
Definition at line 501 of file childwin.cxx.
References pImpl.
Referenced by sfx2::sidebar::Sidebar::ShowDeck().
|
virtual |
Reimplemented in SfxPartChildWnd_Impl, and SfxRecordingFloatWrapper_Impl.
Definition at line 565 of file childwin.cxx.
References weld::Window::get_modal(), weld::Widget::get_visible(), GetController(), GetWindow(), vcl::Window::IsInModalMode(), and pImpl.
Referenced by SfxWorkWindow::PrepareClose_Impl(), SfxWorkWindow::ToggleChildWindow_Impl(), and SfxWorkWindow::UpdateChildWindows_Impl().
|
static |
Definition at line 618 of file childwin.cxx.
References SfxApplication::RegisterChildWindow_Impl(), and SfxGetpApp().
Referenced by SfxApplication::Registrations_Impl().
void SfxChildWindow::SaveStatus | ( | const SfxChildWinInfo & | rInfo | ) |
Definition at line 267 of file childwin.cxx.
References SfxChildWinInfo::aExtraString, SfxChildWinInfo::aModule, aSeq, SfxChildWinInfo::aWinState, SfxChildWinInfo::bVisible, GetType(), SfxChildWinInfo::nFlags, nVersion, pImpl, SvtViewOptions::SetUserData(), SvtViewOptions::SetWindowState(), and sName.
Referenced by SfxWorkWindow::SaveStatus_Impl().
void SfxChildWindow::SetAlignment | ( | SfxChildAlignment | eAlign | ) |
Definition at line 299 of file childwin.cxx.
References eChildAlignment.
Referenced by DevelopmentToolChildWindow::DevelopmentToolChildWindow(), SfxDockingWindow::SetAlignment(), SfxInfoBarContainerChild::SfxInfoBarContainerChild(), SfxPartChildWnd_Impl::SfxPartChildWnd_Impl(), and sfx2::sidebar::SidebarChildWindow::SidebarChildWindow().
|
inline |
Definition at line 119 of file childwin.hxx.
References xController.
Referenced by SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl().
void SfxChildWindow::SetFactory_Impl | ( | const SfxChildWinFactory * | pF | ) |
Definition at line 426 of file childwin.cxx.
References pImpl.
void SfxChildWindow::SetFrame | ( | const css::uno::Reference< css::frame::XFrame > & | rFrame | ) |
Definition at line 595 of file childwin.cxx.
References pImpl.
Referenced by SfxPartDockWnd_Impl::SfxPartDockWnd_Impl().
void SfxChildWindow::SetHideNotDelete | ( | bool | bOn | ) |
Definition at line 431 of file childwin.cxx.
References pImpl.
Referenced by SfxNavigatorWrapper::Initialize(), SfxDockingWrapper::SfxDockingWrapper(), SfxPartChildWnd_Impl::SfxPartChildWnd_Impl(), and sfx2::sidebar::SidebarChildWindow::SidebarChildWindow().
void SfxChildWindow::SetVisible_Impl | ( | bool | bVis | ) |
Definition at line 506 of file childwin.cxx.
References pImpl.
Referenced by SfxWorkWindow::ShowChildWindow_Impl(), and SfxWorkWindow::ToggleChildWindow_Impl().
void SfxChildWindow::SetWantsFocus | ( | bool | bSet | ) |
Definition at line 441 of file childwin.cxx.
References pImpl.
Referenced by SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl().
|
inlineprotected |
Definition at line 111 of file childwin.hxx.
References p.
Referenced by DevelopmentToolChildWindow::DevelopmentToolChildWindow(), SfxDockingWrapper::SfxDockingWrapper(), SfxInfoBarContainerChild::SfxInfoBarContainerChild(), SfxPartChildWnd_Impl::SfxPartChildWnd_Impl(), and sfx2::sidebar::SidebarChildWindow::SidebarChildWindow().
void SfxChildWindow::SetWorkWindow_Impl | ( | SfxWorkWindow * | pWin | ) |
Definition at line 546 of file childwin.cxx.
References pImpl, pWindow, and xController.
Referenced by SfxWorkWindow::CreateChildWin_Impl().
|
virtual |
Definition at line 519 of file childwin.cxx.
References nCloseResponseToJustHide, pWindow, weld::DialogController::runAsync(), and xController.
Referenced by SfxWorkWindow::HidePopups_Impl(), and SfxWorkWindow::ShowChildWindow_Impl().
bool SfxChildWindow::WantsFocus | ( | ) | const |
Definition at line 446 of file childwin.cxx.
References pImpl.
Referenced by SfxWorkWindow::CreateChildWin_Impl(), and SfxWorkWindow::ShowChildWindow_Impl().
|
private |
Definition at line 105 of file childwin.hxx.
Referenced by SetAlignment().
|
private |
Definition at line 107 of file childwin.hxx.
|
private |
Definition at line 103 of file childwin.hxx.
Referenced by Activate_Impl(), ClearWorkwin(), GetFrame(), GetInfo(), GetPosition(), IsHideNotDelete(), IsVisible(), QueryClose(), SaveStatus(), SetFactory_Impl(), SetFrame(), SetHideNotDelete(), SetVisible_Impl(), SetWantsFocus(), SetWorkWindow_Impl(), SfxChildWindow(), and WantsFocus().
|
private |
Definition at line 101 of file childwin.hxx.
Referenced by CreateChildWindow().
|
private |
Definition at line 102 of file childwin.hxx.
Referenced by Activate_Impl(), ClearWorkwin(), sfx2::sidebar::SidebarChildWindow::GetDefaultWidth(), GetInfo(), Hide(), SetWorkWindow_Impl(), Show(), and ~SfxChildWindow().
|
private |
Definition at line 104 of file childwin.hxx.
Referenced by GetInfo(), Hide(), SetWorkWindow_Impl(), Show(), and ~SfxChildWindow().