LibreOffice Module sfx2 (master) 1
|
#include <workwin.hxx>
Private Member Functions | |
void | CreateChildWin_Impl (SfxChildWin_Impl *, bool) |
void | RemoveChildWin_Impl (SfxChildWin_Impl *) |
void | Sort_Impl () |
SfxChild_Impl * | FindChild_Impl (const vcl::Window *rWindow) const |
bool | RequestTopToolSpacePixel_Impl (SvBorder aBorder) |
tools::Rectangle | GetTopRect_Impl () const |
SvBorder | Arrange_Impl () |
void | SaveStatus_Impl (SfxChildWindow *, const SfxChildWinInfo &) |
void | FlushPendingChildSizes () |
Static Private Member Functions | |
static bool | IsPluginMode (SfxObjectShell const *pObjShell) |
Private Attributes | |
std::vector< sal_uInt16 > | aSortedList |
SfxStatBar_Impl | aStatBar |
std::vector< SfxObjectBar_Impl > | aObjBarList |
tools::Rectangle | aClientArea |
tools::Rectangle | aUpperClientArea |
VclPtr< SfxSplitWindow > | pSplit [SFX_SPLITWINDOWS_MAX] |
std::vector< std::unique_ptr< SfxChild_Impl > > | aChildren |
std::vector< std::unique_ptr< SfxChildWin_Impl > > | aChildWins |
SfxBindings * | pBindings |
VclPtr< vcl::Window > | pWorkWin |
VclPtr< vcl::Window > | pActiveChild |
SfxVisibilityFlags | nUpdateMode |
sal_uInt16 | nChildren |
SfxVisibilityFlags | nOrigMode |
bool | bSorted: 1 |
bool | bDockingAllowed: 1 |
bool | bInternalDockingAllowed: 1 |
bool | bAllChildrenVisible: 1 |
bool | bIsFullScreen: 1 |
bool | bShowStatusBar: 1 |
sal_Int32 | m_nLock |
css::uno::Reference< css::lang::XComponent > | m_xLayoutManagerListener |
SfxFrame * | pMasterFrame |
SfxFrame * | pFrame |
Friends | |
class | LayoutManagerListener |
Definition at line 184 of file workwin.hxx.
SfxWorkWindow::SfxWorkWindow | ( | vcl::Window * | pWin, |
SfxFrame * | pFrm, | ||
SfxFrame * | pMaster | ||
) |
Definition at line 445 of file workwin.cxx.
References aChildren, bDockingAllowed, bInternalDockingAllowed, BOTTOM, bShowStatusBar, VclPtr< class reference_type >::Create(), DBG_ASSERT, GetBindings(), SfxFrame::GetCurrentViewFrame(), GetFrameInterface(), SfxShell::GetObjectShell(), i, Invisible, SfxObjectShell::IsInPlaceActive(), LayoutManagerListener, LEFT, m_xLayoutManagerListener, n, nOrigMode, nUpdateMode, pBindings, pSplit, pWorkWin, RIGHT, sal_False, SfxBindings::SetWorkWindow_Impl(), SFX_OBJECTBAR_MAX, SFX_SPLITWINDOWS_LEFT, SFX_SPLITWINDOWS_MAX, SFX_SPLITWINDOWS_RIGHT, SFX_SPLITWINDOWS_TOP, Standard, TOP, and xFrame.
SfxWorkWindow::~SfxWorkWindow | ( | ) |
Definition at line 515 of file workwin.cxx.
References aChildren, DBG_ASSERT, m_xLayoutManagerListener, p, pSplit, and ReleaseChild_Impl().
|
private |
Definition at line 704 of file workwin.cxx.
References aChildren, aClientArea, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Point::AdjustX(), Point::AdjustY(), SfxChild_Impl::aSize, aSortedList, aUpperClientArea, SvBorder::Bottom(), tools::Rectangle::Bottom(), BOTTOM, tools::Rectangle::BottomLeft(), SfxChild_Impl::bResize, bSorted, SfxChild_Impl::eAlign, FIRSTLEFT, FIRSTRIGHT, FITS_IN, FlushPendingChildSizes(), VclPtr< class reference_type >::get(), tools::Rectangle::GetHeight(), GetTopRect_Impl(), tools::Rectangle::GetWidth(), Size::Height(), HIGHESTBOTTOM, HIGHESTTOP, IsDockingAllowed(), LASTLEFT, LASTRIGHT, SvBorder::Left(), tools::Rectangle::Left(), LEFT, LOWESTBOTTOM, LOWESTTOP, n, nChildren, SfxChild_Impl::nVisible, SfxChild_Impl::pWin, RequestTopToolSpacePixel_Impl(), SvBorder::Right(), tools::Rectangle::Right(), RIGHT, tools::Rectangle::SetBottom(), Size::setHeight(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Size::setWidth(), Sort_Impl(), TOOLBOXBOTTOM, TOOLBOXLEFT, TOOLBOXRIGHT, TOOLBOXTOP, SvBorder::Top(), tools::Rectangle::Top(), TOP, tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), VISIBLE, and Size::Width().
Referenced by ArrangeChildren_Impl().
void SfxWorkWindow::ArrangeAutoHideWindows | ( | SfxSplitWindow * | pSplit | ) |
Definition at line 2265 of file workwin.cxx.
References Point::AdjustX(), Point::AdjustY(), aUpperClientArea, tools::Rectangle::GetHeight(), vcl::Window::GetPosPixel(), vcl::Window::GetSizePixel(), tools::Rectangle::GetWidth(), Size::Height(), vcl::Window::IsVisible(), tools::Rectangle::IsWidthEmpty(), tools::Rectangle::Left(), m_nLock, n, pSplit, pWorkWin, tools::Rectangle::Right(), Size::setHeight(), tools::Rectangle::SetLeft(), vcl::Window::SetPosSizePixel(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Size::setWidth(), Point::setX(), Point::setY(), SFX_SPLITWINDOWS_MAX, tools::Rectangle::Top(), Size::Width(), Point::X(), and Point::Y().
Referenced by ArrangeChildren_Impl(), IMPL_LINK(), SfxSplitWindow::RemoveWindow(), SfxSplitWindow::SetFadeIn_Impl(), and SfxSplitWindow::SplitResize().
void SfxWorkWindow::ArrangeChildren_Impl | ( | bool | bForce = true | ) |
Definition at line 654 of file workwin.cxx.
References aClientArea, Arrange_Impl(), ArrangeAutoHideWindows(), SfxFrame::GetCurrentViewFrame(), SfxViewShell::GetIPClient(), GetTopRect_Impl(), SfxShell::GetViewShell(), SfxFrame::IsClosing_Impl(), tools::Rectangle::IsEmpty(), IsVisible_Impl(), m_nLock, nChildren, pFrame, pMasterFrame, and SfxFrame::SetToolSpaceBorderPixel_Impl().
Referenced by ConfigChild_Impl(), DataChanged_Impl(), SfxSplitWindow::InsertWindow_Impl(), LayoutManagerListener::layoutEvent(), Lock_Impl(), SfxFrame::Resize(), SfxSplitWindow::SetFadeIn_Impl(), ShowChildWindow_Impl(), SfxSplitWindow::SplitResize(), ToggleChildWindow_Impl(), and UpdateObjectBars_Impl().
void SfxWorkWindow::ConfigChild_Impl | ( | SfxChildIdentifier | eChild, |
SfxDockingConfig | eConfig, | ||
sal_uInt16 | nId | ||
) |
Definition at line 1533 of file workwin.cxx.
References aChildren, aChildWins, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), SfxChildWin_Impl::aInfo, ALIGNDOCKINGWINDOW, ArrangeChildren_Impl(), SfxChild_Impl::aSize, aSortedList, BOTTOM, SfxChild_Impl::bResize, bSorted, DBG_ASSERT, DOCKINGWINDOW, SfxChild_Impl::eAlign, FIRSTLEFT, FIRSTRIGHT, get(), SfxDockingWindow::GetAlignment(), SfxChildWindow::GetInfo(), DockingWindow::GetSizePixel(), SfxSplitWindow::GetSplitWindow(), GetSplitWindow_Impl(), GetTopRect_Impl(), SfxChildWindow::GetType(), SfxChildWindow::GetWindow(), SfxSplitWindow::GetWindowCount(), Size::Height(), HIGHESTBOTTOM, HIGHESTTOP, i, LASTLEFT, LASTRIGHT, LEFT, LOWESTBOTTOM, LOWESTTOP, n, SfxChildWinInfo::nFlags, nId, NOALIGNMENT, nPos, SfxChild_Impl::nVisible, SfxChildWin_Impl::pCli, SfxChild_Impl::pWin, SfxChildWin_Impl::pWin, pWorkWin, RegisterChild_Impl(), ReleaseChild_Impl(), RIGHT, SaveStatus_Impl(), SfxDockingWindow::SetDockingRects(), SETDOCKINGRECTS, tools::Rectangle::SetPos(), Show, ShowChildren_Impl(), Sort_Impl(), SPLITWINDOW, TOGGLEFLOATMODE, TOP, tools::Rectangle::TopLeft(), VISIBLE, and Size::Width().
Referenced by SfxModelessDialogController::ChildWinDispose(), IMPL_LINK_NOARG(), SfxDockingWindow::SetItemSize_Impl(), SfxDockingWindow::StartDocking(), and SfxDockingWindow::ToggleFloatingMode().
|
private |
Definition at line 1346 of file workwin.cxx.
References aChildren, ACTIVE, SfxChildWinInfo::aExtraString, SfxChildWin_Impl::aInfo, bIsFullScreen, SfxChild_Impl::bSetFocus, SfxChildWinInfo::bVisible, CHILDWIN_NOPOS, SfxChildWindow::CreateChildWindow(), DBG_ASSERT, SfxChildWindow::GetAlignment(), GetBindings(), SfxChildWindow::GetController(), SfxChildWindow::GetInfo(), vcl::Window::GetParent(), SfxChildWindow::GetPosition(), SfxChildWindow::GetWindow(), SfxBindings::Invalidate(), SfxChildWinInfo::nFlags, SfxChildWin_Impl::nId, NOALIGNMENT, NOT_HIDDEN, nPos, SfxChild_Impl::nVisible, SfxChildWin_Impl::pCli, SfxChildWin_Impl::pWin, pWorkWin, RegisterChild_Impl(), SaveStatus_Impl(), SfxChildWindow::SetWorkWindow_Impl(), SFX_OBJECTBAR_MAX, TbxMatch(), VISIBLE, and SfxChildWindow::WantsFocus().
Referenced by ToggleChildWindow_Impl(), and UpdateChildWindows_Impl().
void SfxWorkWindow::DataChanged_Impl | ( | ) |
Definition at line 2429 of file workwin.cxx.
References ArrangeChildren_Impl().
Referenced by SfxFrameWindow_Impl::DataChanged().
void SfxWorkWindow::DeleteControllers_Impl | ( | ) |
Definition at line 556 of file workwin.cxx.
References aChildren, aChildWins, Any, aObjBarList, bSorted, SfxChildWindow::Destroy(), Exception, g_aLayoutManagerPropName, SfxChildWindow::GetController(), GetFrameInterface(), SfxChildWindow::GetWindow(), SfxChildWindow::Hide(), i, comphelper::LibreOfficeKit::isActive(), n, nChildren, None, p, pSplit, pWorkWin, ReleaseChild_Impl(), vcl::Window::ReleaseLOKNotifier(), ResetStatusBar_Impl(), SFX_SPLITWINDOWS_MAX, and xFrame.
void SfxWorkWindow::EndAutoShow_Impl | ( | Point | aPos | ) |
Definition at line 2251 of file workwin.cxx.
References tools::Rectangle::Contains(), p, and pSplit.
Referenced by SfxFrameWindow_Impl::PreNotify().
|
private |
Definition at line 947 of file workwin.cxx.
References aChildren, nCount, nPos, and SfxChild_Impl::pWin.
Referenced by HidePopups_Impl(), and RegisterChild_Impl().
|
private |
Definition at line 689 of file workwin.cxx.
References aChildren, i, and SfxChild_Impl::pWin.
Referenced by Arrange_Impl().
|
inline |
Definition at line 289 of file workwin.hxx.
References pActiveChild.
|
inline |
Definition at line 230 of file workwin.hxx.
References pBindings.
Referenced by CreateChildWin_Impl(), GetFrameInterface(), RemoveChildWin_Impl(), SfxDispatcher::Update_Impl(), SfxDispatcher::Update_Impl_(), and UpdateObjectBars_Impl2().
SfxChildWindow * SfxWorkWindow::GetChildWindow_Impl | ( | sal_uInt16 | nId | ) |
Definition at line 2075 of file workwin.cxx.
References aChildWins, n, nCount, and nId.
Referenced by SfxDispatcher::DoDeactivate_Impl(), SfxViewFrame::GetChildWindow(), IsDockingWindowVisible(), and SfxDockingWindowFactory().
css::uno::Reference< css::frame::XFrame > SfxWorkWindow::GetFrameInterface | ( | ) |
Definition at line 1148 of file workwin.cxx.
References GetBindings(), GetDispatcher(), SfxDispatcher::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), and xFrame.
Referenced by DeleteControllers_Impl(), GetStatusIndicator(), SfxWorkWindow(), UpdateObjectBars_Impl2(), and UpdateStatusBar_Impl().
tools::Rectangle SfxWorkWindow::GetFreeArea | ( | bool | bAutoHide | ) | const |
Definition at line 2390 of file workwin.cxx.
References aClientArea, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::Height(), n, pSplit, SFX_SPLITWINDOWS_MAX, and Size::Width().
Referenced by SfxSplitWindow::StartSplit().
SfxSplitWindow * SfxWorkWindow::GetSplitWindow_Impl | ( | SfxChildAlignment | eAlign | ) |
Definition at line 2193 of file workwin.cxx.
References BOTTOM, LEFT, pSplit, RIGHT, and TOP.
Referenced by SfxDockingWindow::CalcAlignment(), ConfigChild_Impl(), SfxDockingWindow::EndDocking(), SfxDockingWindow::Initialize(), and SfxDockingWindow::ToggleFloatingMode().
Reference< css::task::XStatusIndicator > SfxWorkWindow::GetStatusIndicator | ( | ) |
Definition at line 1107 of file workwin.cxx.
References Any, g_aLayoutManagerPropName, g_aProgressBarResName(), and GetFrameInterface().
|
private |
Definition at line 2101 of file workwin.cxx.
References SfxFrame::GetTopOuterRectPixel_Impl(), and pMasterFrame.
Referenced by Arrange_Impl(), ArrangeChildren_Impl(), and ConfigChild_Impl().
|
inline |
Definition at line 232 of file workwin.hxx.
References pWorkWin.
Referenced by SfxDockingWindow::CalcAlignment(), and SfxApplication::GetTopWindow().
bool SfxWorkWindow::HasChildWindow_Impl | ( | sal_uInt16 | nId | ) |
Definition at line 1883 of file workwin.cxx.
References aChildWins, SfxChildWin_Impl::bCreate, n, nCount, nId, and SfxChildWin_Impl::pWin.
Referenced by SfxViewFrame::HasChildWindow().
void SfxWorkWindow::HideChildren_Impl | ( | ) |
Definition at line 1031 of file workwin.cxx.
References aChildren, nPos, SfxChild_Impl::pWin, RET_CLOSE, and SfxChild_Impl::xController.
Referenced by LayoutManagerListener::layoutEvent().
void SfxWorkWindow::HidePopups_Impl | ( | bool | bHide, |
sal_uInt16 | nId = 0 |
||
) |
Definition at line 1499 of file workwin.cxx.
References aChildWins, ACTIVE, FindChild_Impl(), SfxChildWindow::GetAlignment(), SfxChildWindow::GetType(), SfxChildWindow::GetWindow(), SfxChildWindow::Hide(), i, comphelper::LibreOfficeKit::isActive(), nId, NOALIGNMENT, SfxChild_Impl::nVisible, SAL_WARN, SfxChildWindow::Show(), and VISIBLE.
Referenced by SfxViewFrame::Exec_Impl().
void SfxWorkWindow::InitializeChild_Impl | ( | SfxChildWin_Impl * | pCW | ) |
Definition at line 2124 of file workwin.cxx.
References SfxChildWinFactory::aInfo, SfxChildWin_Impl::aInfo, ALWAYSAVAILABLE, SfxChildWinInfo::aModule, SfxChildWin_Impl::bCreate, SfxChildWinInfo::bVisible, CANTGETFOCUS, SvtModuleOptions::ClassifyFactoryByServiceName(), FORCEDOCK, SfxModule::GetActiveModule(), SfxApplication::GetChildWinFactoryById(), SfxModule::GetChildWinFactoryById(), SfxBindings::GetDispatcher_Impl(), SvtModuleOptions::GetFactoryShortName(), SfxDispatcher::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxChildWindow::InitializeChildWinFactory_Impl(), SfxChildWinInfo::nFlags, SfxChildWin_Impl::nSaveId, pBindings, SfxGetpApp(), and TASK.
Referenced by IsFloating(), SetChildWindow_Impl(), and SetChildWindowVisible_Impl().
bool SfxWorkWindow::IsAutoHideMode | ( | const SfxSplitWindow * | pSplit | ) |
Definition at line 2240 of file workwin.cxx.
References SfxSplitWindow::IsAutoHide(), and pSplit.
Referenced by IMPL_LINK().
|
inline |
Definition at line 239 of file workwin.hxx.
References bDockingAllowed.
Referenced by Arrange_Impl(), SfxDockingWindow::CalcAlignment(), SfxDockingWindow::Initialize(), MakeChildrenVisible_Impl(), SfxDockingWindow::PrepareToggleFloatingMode(), RequestTopToolSpacePixel_Impl(), SaveStatus_Impl(), UpdateChildWindows_Impl(), UpdateObjectBars_Impl2(), and UpdateStatusBar_Impl().
bool SfxWorkWindow::IsFloating | ( | sal_uInt16 | nId | ) |
Definition at line 1901 of file workwin.cxx.
References aChildWins, SfxChildWin_Impl::aInfo, SfxChildWin_Impl::bEnable, SfxChildWinInfo::GetExtraData_Impl(), InitializeChild_Impl(), Invisible, n, nCount, nId, SfxChildWin_Impl::nId, NOALIGNMENT, and SfxChildWin_Impl::nVisibility.
Referenced by SfxDispatcher::Update_Impl_().
|
inline |
Definition at line 241 of file workwin.hxx.
References bInternalDockingAllowed.
Referenced by SfxDockingWindow::Docking(), SfxDockingWindow::Initialize(), and SfxDockingWindow::PrepareToggleFloatingMode().
|
staticprivate |
Definition at line 1135 of file workwin.cxx.
References SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxObjectShell::GetMedium(), and SfxBoolItem::GetValue().
Referenced by UpdateObjectBars_Impl2().
bool SfxWorkWindow::IsVisible_Impl | ( | ) | const |
Definition at line 1493 of file workwin.cxx.
References Invisible, and nOrigMode.
Referenced by ArrangeChildren_Impl(), SfxObjectShell::IsUIActive(), KnowsChildWindow_Impl(), SetStatusBar_Impl(), ShowChildren_Impl(), SfxDispatcher::Update_Impl_(), and UpdateChildWindows_Impl().
bool SfxWorkWindow::IsVisible_Impl | ( | SfxVisibilityFlags | nMode | ) | const |
Definition at line 1074 of file workwin.cxx.
References Client, Invisible, nOrigMode, nUpdateMode, Server, and Standard.
bool SfxWorkWindow::KnowsChildWindow_Impl | ( | sal_uInt16 | nId | ) |
Definition at line 1937 of file workwin.cxx.
References aChildWins, SfxChildWin_Impl::aInfo, ALWAYSAVAILABLE, SfxChildWin_Impl::bEnable, IsVisible_Impl(), n, nCount, SfxChildWinInfo::nFlags, nId, SfxChildWin_Impl::nSaveId, and SfxChildWin_Impl::nVisibility.
Referenced by SfxViewFrame::KnowsChildWindow().
void SfxWorkWindow::Lock_Impl | ( | bool | bLock | ) |
Definition at line 533 of file workwin.cxx.
References ArrangeChildren_Impl(), and m_nLock.
Referenced by SfxBaseModel::createViewController(), and LayoutManagerListener::layoutEvent().
void SfxWorkWindow::MakeChildrenVisible_Impl | ( | bool | bVis | ) |
Definition at line 2214 of file workwin.cxx.
References aChildren, ACTIVE, aSortedList, bAllChildrenVisible, bInternalDockingAllowed, bSorted, SfxChild_Impl::eAlign, IsDockingAllowed(), n, NOALIGNMENT, SfxChild_Impl::nVisible, and Sort_Impl().
Referenced by SfxViewFrame::Exec_Impl().
void SfxWorkWindow::MakeVisible_Impl | ( | bool | bVis | ) |
Definition at line 1482 of file workwin.cxx.
References Invisible, nOrigMode, nUpdateMode, and Standard.
Referenced by SfxBaseModel::createViewController(), and LayoutManagerListener::layoutEvent().
bool SfxWorkWindow::PrepareClose_Impl | ( | ) |
Definition at line 863 of file workwin.cxx.
References aChildWins, and SfxChildWindow::QueryClose().
SfxChild_Impl * SfxWorkWindow::RegisterChild_Impl | ( | std::shared_ptr< SfxDialogController > & | rController, |
SfxChildAlignment | eAlign | ||
) |
Definition at line 895 of file workwin.cxx.
References aChildren, bSorted, DBG_ASSERT, nChildren, and SfxChildAlignValid().
SfxChild_Impl * SfxWorkWindow::RegisterChild_Impl | ( | vcl::Window & | rWindow, |
SfxChildAlignment | eAlign | ||
) |
Definition at line 875 of file workwin.cxx.
References aChildren, bSorted, DBG_ASSERT, FindChild_Impl(), vcl::Window::GetParent(), vcl::Window::GetSizePixel(), vcl::Window::IsVisible(), nChildren, pWorkWin, vcl::Window::SetParent(), and SfxChildAlignValid().
Referenced by ConfigChild_Impl(), CreateChildWin_Impl(), SfxSplitWindow::InsertWindow_Impl(), SfxSplitWindow::SetFadeIn_Impl(), and SfxSplitWindow::SetPinned_Impl().
void SfxWorkWindow::ReleaseChild_Impl | ( | const SfxDialogController & | rController | ) |
Definition at line 928 of file workwin.cxx.
References aChildren, bSorted, nChildren, nPos, and SfxChild_Impl::xController.
void SfxWorkWindow::ReleaseChild_Impl | ( | vcl::Window & | rWindow | ) |
Definition at line 909 of file workwin.cxx.
References aChildren, bSorted, nChildren, nPos, and SfxChild_Impl::pWin.
Referenced by ConfigChild_Impl(), DeleteControllers_Impl(), RemoveChildWin_Impl(), SfxSplitWindow::RemoveWindow(), SfxSplitWindow::SetFadeIn_Impl(), SfxSplitWindow::SetPinned_Impl(), and ~SfxWorkWindow().
|
private |
Definition at line 1408 of file workwin.cxx.
References SfxChildWin_Impl::aInfo, SfxChildWindow::Destroy(), GetBindings(), SfxChildWindow::GetController(), SfxChildWindow::GetInfo(), SfxChildWindow::GetWindow(), SfxChildWindow::Hide(), SfxBindings::Invalidate(), SfxChildWinInfo::nFlags, nId, SfxChildWin_Impl::nSaveId, SfxChildWin_Impl::pCli, SfxChildWin_Impl::pWin, pWorkWin, ReleaseChild_Impl(), and SaveStatus_Impl().
Referenced by ToggleChildWindow_Impl(), and UpdateChildWindows_Impl().
|
private |
Definition at line 2110 of file workwin.cxx.
References aClientArea, SvBorder::Bottom(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), IsDockingAllowed(), SvBorder::Left(), SvBorder::Right(), and SvBorder::Top().
Referenced by Arrange_Impl().
void SfxWorkWindow::ResetChildWindows_Impl | ( | ) |
Definition at line 2089 of file workwin.cxx.
References aChildWins.
Referenced by SfxDispatcher::Update_Impl().
void SfxWorkWindow::ResetObjectBars_Impl | ( | ) |
Definition at line 1045 of file workwin.cxx.
References aChildWins, aObjBarList, and n.
Referenced by SfxDispatcher::Update_Impl().
void SfxWorkWindow::ResetStatusBar_Impl | ( | ) |
Definition at line 1444 of file workwin.cxx.
References aStatBar, SfxStatBar_Impl::eId, and None.
Referenced by DeleteControllers_Impl(), and SfxDispatcher::Update_Impl().
|
private |
Definition at line 2117 of file workwin.cxx.
References bInternalDockingAllowed, IsDockingAllowed(), and SfxChildWindow::SaveStatus().
Referenced by ConfigChild_Impl(), CreateChildWin_Impl(), RemoveChildWin_Impl(), and ShowChildWindow_Impl().
void SfxWorkWindow::SetActiveChild_Impl | ( | vcl::Window * | pChild | ) |
Definition at line 2424 of file workwin.cxx.
References pActiveChild.
Referenced by SfxSplitWindow::SetActiveWindow_Impl().
void SfxWorkWindow::SetChildWindow_Impl | ( | sal_uInt16 | nId, |
bool | bOn, | ||
bool | bSetFocus | ||
) |
Definition at line 1960 of file workwin.cxx.
References aChildWins, SfxChildWin_Impl::aInfo, SfxChildWin_Impl::bCreate, InitializeChild_Impl(), n, nCount, SfxChildWinInfo::nFlags, nId, TASK, and ToggleChildWindow_Impl().
Referenced by SfxViewFrame::SetChildWindow(), SfxDockingWindowFactory(), and ShowChildWindow_Impl().
void SfxWorkWindow::SetChildWindowVisible_Impl | ( | sal_uInt32 | lId, |
bool | bEnabled, | ||
SfxVisibilityFlags | nMode | ||
) |
Definition at line 1752 of file workwin.cxx.
References aChildWins, SfxChildWin_Impl::bEnable, InitializeChild_Impl(), n, nCount, nId, SfxChildWin_Impl::nId, and SfxChildWin_Impl::nVisibility.
Referenced by SfxDispatcher::Update_Impl_().
|
inline |
Definition at line 235 of file workwin.hxx.
References bDockingAllowed.
Referenced by SfxFrame::SetPresentationMode().
|
inline |
Definition at line 262 of file workwin.hxx.
References bIsFullScreen.
Referenced by SfxViewFrame::MiscExec_Impl().
|
inline |
Definition at line 237 of file workwin.hxx.
References bInternalDockingAllowed.
Referenced by SfxBaseController::ConnectSfxFrame_Impl().
void SfxWorkWindow::SetObjectBar_Impl | ( | sal_uInt16 | nPos, |
SfxVisibilityFlags | nFlags, | ||
ToolbarId | eId | ||
) |
Definition at line 1054 of file workwin.cxx.
References aObjBarList, DBG_ASSERT, SfxObjectBar_Impl::eId, SfxObjectBar_Impl::nMode, nPos, and SFX_OBJECTBAR_MAX.
Referenced by SfxDispatcher::Update_Impl_().
void SfxWorkWindow::SetStatusBar_Impl | ( | StatusBarId | eResId | ) |
Definition at line 1449 of file workwin.cxx.
References aStatBar, bShowStatusBar, SfxStatBar_Impl::eId, IsVisible_Impl(), and None.
void SfxWorkWindow::ShowChildren_Impl | ( | ) |
Definition at line 961 of file workwin.cxx.
References aChildren, aChildWins, SfxChildWin_Impl::aInfo, bVisible, IsVisible_Impl(), nCloseResponseToJustHide, NEVERHIDE, SfxChildWinInfo::nFlags, pWorkWin, RET_CLOSE, weld::DialogController::runAsync(), VISIBLE, and xController.
Referenced by ConfigChild_Impl(), SfxSplitWindow::InsertWindow_Impl(), LayoutManagerListener::layoutEvent(), SfxFrame::Resize(), SfxSplitWindow::SetFadeIn_Impl(), ShowChildWindow_Impl(), SfxSplitWindow::SplitResize(), SfxFrameWindow_Impl::StateChanged(), ToggleChildWindow_Impl(), and UpdateObjectBars_Impl().
void SfxWorkWindow::ShowChildWindow_Impl | ( | sal_uInt16 | nId, |
bool | bVisible, | ||
bool | bSetFocus | ||
) |
Definition at line 1994 of file workwin.cxx.
References aChildWins, SfxChildWin_Impl::aInfo, ArrangeChildren_Impl(), SfxChildWin_Impl::bCreate, SfxChild_Impl::bSetFocus, bVisible, SfxChildWindow::GetInfo(), SfxChildWindow::GetWindow(), SfxChildWindow::Hide(), n, nCount, SfxChildWinInfo::nFlags, nId, SfxChildWin_Impl::nId, NOT_HIDDEN, SfxChild_Impl::nVisible, SfxChildWin_Impl::pCli, SfxChildWin_Impl::pWin, SaveStatus_Impl(), SetChildWindow_Impl(), SfxChildWindow::SetVisible_Impl(), SfxChildWindow::Show(), ShowChildren_Impl(), VISIBLE, and SfxChildWindow::WantsFocus().
Referenced by SfxViewFrame::ShowChildWindow(), and ToggleChildWindow_Impl().
|
private |
Definition at line 419 of file workwin.cxx.
References aChildren, aSortedList, bSorted, ChildAlignValue(), SfxChild_Impl::eAlign, and i.
Referenced by Arrange_Impl(), ConfigChild_Impl(), and MakeChildrenVisible_Impl().
void SfxWorkWindow::ToggleChildWindow_Impl | ( | sal_uInt16 | nId, |
bool | bSetFocus | ||
) |
Definition at line 1788 of file workwin.cxx.
References aChildWins, SfxChildWin_Impl::aInfo, ArrangeChildren_Impl(), SfxDockingWindow::AutoShow_Impl(), SfxChildWin_Impl::bCreate, bInternalDockingAllowed, CreateChildWin_Impl(), FORCEDOCK, SfxChildWindow::GetWindow(), SfxDockingWindow::IsAutoHide_Impl(), n, nCount, SfxChildWinInfo::nFlags, nId, SfxChildWin_Impl::pCli, SfxChildWin_Impl::pWin, SfxChildWindow::QueryClose(), RemoveChildWin_Impl(), SfxChildWindow::SetVisible_Impl(), ShowChildren_Impl(), and ShowChildWindow_Impl().
Referenced by SetChildWindow_Impl(), and SfxViewFrame::ToggleChildWindow().
void SfxWorkWindow::UpdateChildWindows_Impl | ( | ) |
Definition at line 1258 of file workwin.cxx.
References aChildWins, ACTIVE, SfxChildWin_Impl::aInfo, ALWAYSAVAILABLE, bAllChildrenVisible, SfxChildWin_Impl::bCreate, bInternalDockingAllowed, bIsFullScreen, CreateChildWin_Impl(), SfxChild_Impl::eAlign, FORCEDOCK, SfxChildWindow::GetAlignment(), SfxChildWinInfo::GetExtraData_Impl(), SfxChildWindow::GetWindow(), IsDockingAllowed(), SfxChildWindow::IsHideNotDelete(), Application::IsUICaptured(), IsVisible_Impl(), n, NEVERCLONE, SfxChildWinInfo::nFlags, SfxChildWin_Impl::nId, NOALIGNMENT, NOT_HIDDEN, SfxChildWin_Impl::nVisibility, SfxChild_Impl::nVisible, SfxChildWin_Impl::pCli, SfxChildWin_Impl::pWin, SfxChildWindow::QueryClose(), and RemoveChildWin_Impl().
Referenced by UpdateObjectBars_Impl2().
void SfxWorkWindow::UpdateObjectBars_Impl | ( | ) |
Definition at line 1091 of file workwin.cxx.
References ArrangeChildren_Impl(), SfxFrame::IsClosing_Impl(), pFrame, ShowChildren_Impl(), and UpdateObjectBars_Impl2().
Referenced by RefreshToolbars(), and SfxDispatcher::Update_Impl().
void SfxWorkWindow::UpdateObjectBars_Impl2 | ( | ) |
Definition at line 1164 of file workwin.cxx.
References Any, aObjBarList, bIsFullScreen, FullScreen, g_aLayoutManagerPropName, g_aTbxTypeName(), GetBindings(), GetDispatcher(), SfxDispatcher::GetFrame(), GetFrameInterface(), SfxViewFrame::GetObjectShell(), GetResourceURLFromToolbarId(), Invisible, sfx2::SfxNotebookBar::IsActive(), IsDockingAllowed(), utl::ConfigManager::IsFuzzing(), IsPluginMode(), n, None, nUpdateMode, p, pSplit, SFX_SPLITWINDOWS_MAX, UpdateChildWindows_Impl(), UpdateStatusBar_Impl(), and Viewer.
Referenced by UpdateObjectBars_Impl().
void SfxWorkWindow::UpdateStatusBar_Impl | ( | ) |
Definition at line 1455 of file workwin.cxx.
References Any, aStatBar, bInternalDockingAllowed, bIsFullScreen, bShowStatusBar, SfxStatBar_Impl::eId, g_aLayoutManagerPropName, g_aStatusBarResName(), GetFrameInterface(), IsDockingAllowed(), and None.
Referenced by UpdateObjectBars_Impl2().
|
friend |
Definition at line 186 of file workwin.hxx.
Referenced by SfxWorkWindow().
|
private |
Definition at line 195 of file workwin.hxx.
Referenced by Arrange_Impl(), ConfigChild_Impl(), CreateChildWin_Impl(), DeleteControllers_Impl(), FindChild_Impl(), FlushPendingChildSizes(), HideChildren_Impl(), MakeChildrenVisible_Impl(), RegisterChild_Impl(), ReleaseChild_Impl(), SfxWorkWindow(), ShowChildren_Impl(), Sort_Impl(), and ~SfxWorkWindow().
|
private |
Definition at line 197 of file workwin.hxx.
Referenced by ConfigChild_Impl(), DeleteControllers_Impl(), GetChildWindow_Impl(), HasChildWindow_Impl(), HidePopups_Impl(), IsFloating(), KnowsChildWindow_Impl(), PrepareClose_Impl(), ResetChildWindows_Impl(), ResetObjectBars_Impl(), SetChildWindow_Impl(), SetChildWindowVisible_Impl(), ShowChildren_Impl(), ShowChildWindow_Impl(), ToggleChildWindow_Impl(), and UpdateChildWindows_Impl().
|
private |
Definition at line 191 of file workwin.hxx.
Referenced by Arrange_Impl(), ArrangeChildren_Impl(), GetFreeArea(), and RequestTopToolSpacePixel_Impl().
|
private |
Definition at line 190 of file workwin.hxx.
Referenced by DeleteControllers_Impl(), ResetObjectBars_Impl(), SetObjectBar_Impl(), and UpdateObjectBars_Impl2().
|
private |
Definition at line 188 of file workwin.hxx.
Referenced by Arrange_Impl(), ConfigChild_Impl(), MakeChildrenVisible_Impl(), and Sort_Impl().
|
private |
Definition at line 189 of file workwin.hxx.
Referenced by ResetStatusBar_Impl(), SetStatusBar_Impl(), and UpdateStatusBar_Impl().
|
private |
Definition at line 192 of file workwin.hxx.
Referenced by Arrange_Impl(), and ArrangeAutoHideWindows().
|
private |
Definition at line 207 of file workwin.hxx.
Referenced by MakeChildrenVisible_Impl(), and UpdateChildWindows_Impl().
|
private |
Definition at line 205 of file workwin.hxx.
Referenced by IsDockingAllowed(), SetDockingAllowed(), and SfxWorkWindow().
|
private |
Definition at line 206 of file workwin.hxx.
Referenced by IsInternalDockingAllowed(), MakeChildrenVisible_Impl(), SaveStatus_Impl(), SetInternalDockingAllowed(), SfxWorkWindow(), ToggleChildWindow_Impl(), UpdateChildWindows_Impl(), and UpdateStatusBar_Impl().
|
private |
Definition at line 208 of file workwin.hxx.
Referenced by CreateChildWin_Impl(), SetFullScreen_Impl(), UpdateChildWindows_Impl(), UpdateObjectBars_Impl2(), and UpdateStatusBar_Impl().
|
private |
Definition at line 209 of file workwin.hxx.
Referenced by SetStatusBar_Impl(), SfxWorkWindow(), and UpdateStatusBar_Impl().
|
private |
Definition at line 204 of file workwin.hxx.
Referenced by Arrange_Impl(), ConfigChild_Impl(), DeleteControllers_Impl(), MakeChildrenVisible_Impl(), RegisterChild_Impl(), ReleaseChild_Impl(), and Sort_Impl().
|
private |
Definition at line 210 of file workwin.hxx.
Referenced by ArrangeAutoHideWindows(), ArrangeChildren_Impl(), Lock_Impl(), and LayoutManagerListener::setFrame().
|
private |
Definition at line 211 of file workwin.hxx.
Referenced by SfxWorkWindow(), and ~SfxWorkWindow().
|
private |
Definition at line 202 of file workwin.hxx.
Referenced by Arrange_Impl(), ArrangeChildren_Impl(), DeleteControllers_Impl(), RegisterChild_Impl(), and ReleaseChild_Impl().
|
private |
Definition at line 203 of file workwin.hxx.
Referenced by IsVisible_Impl(), MakeVisible_Impl(), and SfxWorkWindow().
|
private |
Definition at line 201 of file workwin.hxx.
Referenced by IsVisible_Impl(), MakeVisible_Impl(), SfxWorkWindow(), and UpdateObjectBars_Impl2().
|
private |
Definition at line 200 of file workwin.hxx.
Referenced by GetActiveChild_Impl(), and SetActiveChild_Impl().
|
private |
Definition at line 198 of file workwin.hxx.
Referenced by GetBindings(), InitializeChild_Impl(), and SfxWorkWindow().
|
private |
Definition at line 213 of file workwin.hxx.
Referenced by ArrangeChildren_Impl(), and UpdateObjectBars_Impl().
|
private |
Definition at line 212 of file workwin.hxx.
Referenced by ArrangeChildren_Impl(), and GetTopRect_Impl().
|
private |
Definition at line 193 of file workwin.hxx.
Referenced by ArrangeAutoHideWindows(), DeleteControllers_Impl(), EndAutoShow_Impl(), GetFreeArea(), GetSplitWindow_Impl(), IsAutoHideMode(), SfxWorkWindow(), UpdateObjectBars_Impl2(), and ~SfxWorkWindow().
|
private |
Definition at line 199 of file workwin.hxx.
Referenced by ArrangeAutoHideWindows(), ConfigChild_Impl(), CreateChildWin_Impl(), DeleteControllers_Impl(), GetWindow(), RegisterChild_Impl(), RemoveChildWin_Impl(), SfxWorkWindow(), and ShowChildren_Impl().