19#ifndef INCLUDED_SFX2_DOCKWIN_HXX
20#define INCLUDED_SFX2_DOCKWIN_HXX
27#include <com/sun/star/uno/Reference.hxx>
37void SfxDockingWindowFactory(
const css::uno::Reference< css::frame::XFrame >& rFrame, std::u16string_view rDockingWindowName );
38bool IsDockingWindowVisible(
const css::uno::Reference< css::frame::XFrame >& rFrame, std::u16string_view rDockingWindowName );
52 std::unique_ptr< SfxDockingWindow_Impl >
pImpl;
63 virtual void Resize()
override;
71 virtual bool Close()
override;
72 virtual void Move()
override;
84 const OUString& rID,
const OUString& rUIXMLDescription );
86 virtual void dispose()
override;
93 { aInnerRect = rInner; aOuterRect = rOuter; }
108 SAL_DLLPRIVATE
void Initialize_Impl();
109 SAL_DLLPRIVATE
void SetItemSize_Impl(
const Size& rSize );
110 SAL_DLLPRIVATE
void Disappear_Impl();
111 SAL_DLLPRIVATE
void Reappear_Impl();
112 SAL_DLLPRIVATE
bool IsAutoHide_Impl()
const;
113 SAL_DLLPRIVATE
void AutoShow_Impl();
114 SAL_DLLPRIVATE
void ReleaseChildWindow_Impl();
virtual bool PrepareToggleFloatingMode()
void SetMinOutputSizePixel(const Size &rSize)
virtual void Resizing(Size &rSize)
virtual void StateChanged(StateChangedType nType) override
virtual void StartDocking()
virtual bool EventNotify(NotifyEvent &rNEvt) override
const Size & GetMinOutputSizePixel() const
virtual void EndDocking(const tools::Rectangle &rRect, bool bFloatMode)
virtual bool Docking(const Point &rPos, tools::Rectangle &rRect)
DockingWindow & operator=(const DockingWindow &)=delete
virtual void ToggleFloatingMode()
virtual void dispose() override
sal_uInt16 GetType() const
void SetAlignment(SfxChildAlignment eAlign)
SfxChildAlignment GetAlignment() const
VclPtr< vcl::Window > pParent
std::unique_ptr< weld::Box > m_xContainer
SfxDockingWindow(SfxDockingWindow const &)=delete
tools::Rectangle aInnerRect
tools::Rectangle aOuterRect
SfxBindings & GetBindings() const
std::unique_ptr< weld::Builder > m_xBuilder
const tools::Rectangle & GetOuterRect() const
SfxChildAlignment GetAlignment() const
void SetAlignment(SfxChildAlignment eAlign)
void SetFloatingSize(const Size &rSize)
void SetDockingRects(const tools::Rectangle &rOuter, const tools::Rectangle &rInner)
const Size & GetFloatingSize() const
SAL_DLLPRIVATE SfxChildWindow * GetChildWindow_Impl()
std::unique_ptr< SfxDockingWindow_Impl > pImpl
sal_uInt16 GetType() const
const tools::Rectangle & GetInnerRect() const
DECL_DLLPRIVATE_LINK(TimerHdl, Timer *, void)
SFX_DECL_CHILDWINDOW(SfxDockingWrapper)
SfxDockingWrapper(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
bool IsDockingWindowVisible(const css::uno::Reference< css::frame::XFrame > &rFrame, std::u16string_view rDockingWindowName)
void SfxDockingWindowFactory(const css::uno::Reference< css::frame::XFrame > &rFrame, std::u16string_view rDockingWindowName)