16#include <osl/diagnose.h>
20template <sal_Int16 WindowID>
31 OSL_ENSURE(pViewShell,
"Missing view shell!");
44 return std::make_unique<ChildControllerWrapper>(
pParent,
nId, pBindings, pInfo);
48 bool bVisible =
false,
static sal_uInt16 GetChildWindowId()
static ScTabViewShell * getTabViewShell(const SfxBindings *pBindings)
ChildControllerWrapper(vcl::Window *pParentP, sal_uInt16 nId, SfxBindings *pBindings, const SfxChildWinInfo *pInfo)
static void RegisterChildWindow(bool bVisible=false, SfxModule *pModule=nullptr, SfxChildWindowFlags nFlags=SfxChildWindowFlags::NONE)
static std::unique_ptr< SfxChildWindow > CreateImpl(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
std::shared_ptr< SfxModelessDialogController > CreateRefDialogController(SfxBindings *pB, SfxChildWindow *pCW, const SfxChildWinInfo *pInfo, weld::Window *pParent, sal_uInt16 nSlotId)
SfxDispatcher * GetDispatcher() const
void SetController(std::shared_ptr< SfxDialogController > controller)
static void RegisterChildWindow(SfxModule *, const SfxChildWinFactory &)
VclPtr< vcl::Window > pParent
std::shared_ptr< SfxDialogController > & GetController()
SfxViewFrame * GetFrame() const
SfxViewShell * GetViewShell() const
void SetChildWindow(sal_uInt16 nId, bool bVisible, bool bSetFocus=true)
SfxViewFrame & GetViewFrame() const
static SAL_WARN_UNUSED_RESULT SfxViewShell * Current()
weld::Window * GetFrameWeld() const
SfxChildWindowFlags nFlags