19 template <sal_Int16 WindowID>
30 OSL_ENSURE(pViewShell,
"Missing view shell!");
43 return std::make_unique<ChildControllerWrapper>(
pParent, nId, pBindings, pInfo);
47 bool bVisible =
false,
52 pFactory->aInfo.nFlags |= nFlags;
std::shared_ptr< SfxDialogController > & GetController()
SfxViewFrame * GetViewFrame() const
static void RegisterChildWindow(bool bVisible=false, SfxModule *pModule=nullptr, SfxChildWindowFlags nFlags=SfxChildWindowFlags::NONE)
weld::Window * GetFrameWeld() const
static std::unique_ptr< SfxChildWindow > CreateImpl(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
static SfxViewShell * Current()
static void RegisterChildWindow(SfxModule *, std::unique_ptr< SfxChildWinFactory >)
VclPtr< vcl::Window > pParent
ChildControllerWrapper(vcl::Window *pParentP, sal_uInt16 nId, SfxBindings *pBindings, const SfxChildWinInfo *pInfo)
SfxViewShell * GetViewShell() const
static ScTabViewShell * getTabViewShell(const SfxBindings *pBindings)
std::shared_ptr< SfxModelessDialogController > CreateRefDialogController(SfxBindings *pB, SfxChildWindow *pCW, const SfxChildWinInfo *pInfo, weld::Window *pParent, sal_uInt16 nSlotId)
SfxViewFrame * GetFrame() const
void SetController(std::shared_ptr< SfxDialogController > controller)
void SetChildWindow(sal_uInt16 nId, bool bVisible, bool bSetFocus=true)
SfxDispatcher * GetDispatcher() const
static sal_uInt16 GetChildWindowId()