24#include <com/sun/star/lang/XEventListener.hpp>
31namespace sd {
class ViewShellBase; }
37typedef ::cppu::ImplInheritanceHelper <
39 css::lang::XEventListener
51 const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId,
52 sal_uInt16 nChildWindowId,
54 ::std::unique_ptr<SfxShell> && pShell);
61 virtual void SAL_CALL
disposing()
override;
75 virtual css::uno::Reference<css::awt::XWindow>
84 const css::lang::EventObject& rEvent) override;
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
The ChildWindowPane listens to the child window and disposes itself when the child window becomes ina...
bool mbHasBeenActivated
This flag is set when the pane shell has been activated at least once.
sal_uInt16 mnChildWindowId
ViewShellBase & mrViewShellBase
virtual vcl::Window * GetWindow() override
This returns the content window when the child window is already visible.
ChildWindowPane(const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, sal_uInt16 nChildWindowId, ViewShellBase &rViewShellBase, ::std::unique_ptr< SfxShell > &&pShell)
void Hide()
Hide the pane.
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getWindow() override
The local getWindow() first calls GetWindow() to provide a valid window pointer before forwarding the...
virtual ~ChildWindowPane() override
::std::unique_ptr< SfxShell > mpShell
virtual void SAL_CALL disposing() override
A pane is a wrapper for a window and possibly for a tab bar (for view switching).
::cppu::ImplInheritanceHelper< ::sd::framework::Pane, css::lang::XEventListener > ChildWindowPaneInterfaceBase
#define DECLARE_XTYPEPROVIDER()
#define DECLARE_XINTERFACE()