19#ifndef INCLUDED_SFX2_SOURCE_INC_WORKWIN_HXX
20#define INCLUDED_SFX2_SOURCE_INC_WORKWIN_HXX
24#include <com/sun/star/frame/XFrame.hpp>
25#include <com/sun/star/task/XStatusIndicator.hpp>
26#include <com/sun/star/frame/XLayoutManagerListener.hpp>
121 nSaveId(static_cast<sal_uInt16>(nID & 0xFFFF) ),
145#define SFX_SPLITWINDOWS_LEFT 0
146#define SFX_SPLITWINDOWS_TOP 2
147#define SFX_SPLITWINDOWS_RIGHT 1
148#define SFX_SPLITWINDOWS_MAX 4
152 css::frame::XLayoutManagerListener,
153 css::lang::XComponent >
159 void setFrame(
const css::uno::Reference< css::frame::XFrame >& rFrame );
164 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener >& xListener )
override;
165 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& aListener )
override;
166 virtual void SAL_CALL
dispose()
override;
171 virtual void SAL_CALL
disposing(
const css::lang::EventObject&
aEvent )
override;
176 virtual void SAL_CALL
layoutEvent(
const css::lang::EventObject& aSource, ::sal_Int16 eLayoutEvent,
const css::uno::Any& aInfo )
override;
181 css::uno::WeakReference< css::frame::XFrame >
m_xFrame;
194 std::vector<std::unique_ptr<SfxChild_Impl>>
196 std::vector<std::unique_ptr<SfxChildWin_Impl>>
SfxWorkWindow * m_pWrkWin
void setFrame(const css::uno::Reference< css::frame::XFrame > &rFrame)
virtual void SAL_CALL layoutEvent(const css::lang::EventObject &aSource, ::sal_Int16 eLayoutEvent, const css::uno::Any &aInfo) override
virtual void SAL_CALL dispose() override
virtual void SAL_CALL disposing(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual ~LayoutManagerListener() override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
LayoutManagerListener(SfxWorkWindow *pWrkWin)
css::uno::WeakReference< css::frame::XFrame > m_xFrame
std::vector< SfxObjectBar_Impl > aObjBarList
std::vector< std::unique_ptr< SfxChildWin_Impl > > aChildWins
tools::Rectangle aUpperClientArea
SfxWorkWindow(vcl::Window *pWin, SfxFrame *pFrm, SfxFrame *pMaster)
void ArrangeChildren_Impl(bool bForce=true)
void MakeVisible_Impl(bool)
void UpdateObjectBars_Impl()
vcl::Window * GetWindow() const
void ResetObjectBars_Impl()
SfxSplitWindow * GetSplitWindow_Impl(SfxChildAlignment)
void UpdateObjectBars_Impl2()
void SetActiveChild_Impl(vcl::Window *pChild)
void HidePopups_Impl(bool bHide, sal_uInt16 nId=0)
bool IsFloating(sal_uInt16 nId)
void ReleaseChild_Impl(vcl::Window &rWindow)
void ConfigChild_Impl(SfxChildIdentifier, SfxDockingConfig, sal_uInt16)
bool HasChildWindow_Impl(sal_uInt16)
bool IsDockingAllowed() const
void EndAutoShow_Impl(Point aPos)
void SetStatusBar_Impl(StatusBarId eResId)
SfxBindings & GetBindings()
void MakeChildrenVisible_Impl(bool bVis)
SfxChild_Impl * RegisterChild_Impl(vcl::Window &rWindow, SfxChildAlignment eAlign)
bool IsVisible_Impl() const
void CreateChildWin_Impl(SfxChildWin_Impl *, bool)
VclPtr< vcl::Window > pWorkWin
void RemoveChildWin_Impl(SfxChildWin_Impl *)
const VclPtr< vcl::Window > & GetActiveChild_Impl() const
void ResetChildWindows_Impl()
bool KnowsChildWindow_Impl(sal_uInt16)
std::vector< sal_uInt16 > aSortedList
void SetObjectBar_Impl(sal_uInt16 nPos, SfxVisibilityFlags nFlags, ToolbarId eId)
void SetChildWindow_Impl(sal_uInt16, bool bOn, bool bSetFocus)
css::uno::Reference< css::task::XStatusIndicator > GetStatusIndicator()
SfxChild_Impl * FindChild_Impl(const vcl::Window *rWindow) const
bool bInternalDockingAllowed
void SetChildWindowVisible_Impl(sal_uInt32, bool, SfxVisibilityFlags)
css::uno::Reference< css::frame::XFrame > GetFrameInterface()
VclPtr< vcl::Window > pActiveChild
void SaveStatus_Impl(SfxChildWindow *, const SfxChildWinInfo &)
tools::Rectangle GetTopRect_Impl() const
bool IsAutoHideMode(const SfxSplitWindow *pSplit)
tools::Rectangle GetFreeArea(bool bAutoHide) const
SfxVisibilityFlags nUpdateMode
css::uno::Reference< css::lang::XComponent > m_xLayoutManagerListener
void InitializeChild_Impl(SfxChildWin_Impl *)
tools::Rectangle aClientArea
void ShowChildWindow_Impl(sal_uInt16, bool bVisible, bool bSetFocus)
bool RequestTopToolSpacePixel_Impl(SvBorder aBorder)
VclPtr< SfxSplitWindow > pSplit[SFX_SPLITWINDOWS_MAX]
bool IsInternalDockingAllowed() const
void ResetStatusBar_Impl()
void UpdateStatusBar_Impl()
void SetDockingAllowed(bool bSet)
void UpdateChildWindows_Impl()
std::vector< std::unique_ptr< SfxChild_Impl > > aChildren
void DeleteControllers_Impl()
SfxChildWindow * GetChildWindow_Impl(sal_uInt16)
void ArrangeAutoHideWindows(SfxSplitWindow *pSplit)
void SetFullScreen_Impl(bool bSet)
static bool IsPluginMode(SfxObjectShell const *pObjShell)
void SetInternalDockingAllowed(bool bSet)
void ToggleChildWindow_Impl(sal_uInt16, bool)
SfxVisibilityFlags nOrigMode
void FlushPendingChildSizes()
SfxVisibilityFlags nVisibility
SfxChildWin_Impl(sal_uInt32 nID)
SfxChild_Impl(std::shared_ptr< SfxDialogController > xChild, SfxChildAlignment eAlignment)
std::shared_ptr< SfxDialogController > xController
SfxChild_Impl(vcl::Window &rChild, const Size &rSize, SfxChildAlignment eAlignment, bool bIsVisible)
VclPtr< vcl::Window > pWin
SfxChildVisibility nVisible
#define SFX_SPLITWINDOWS_MAX