LibreOffice Module framework (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
framework::LayoutManager Class Referencefinal

#include <layoutmanager.hxx>

Inheritance diagram for framework::LayoutManager:
[legend]
Collaboration diagram for framework::LayoutManager:
[legend]

Public Member Functions

 LayoutManager (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~LayoutManager () override
 
virtual OUString SAL_CALL getImplementationName () override
 declaration of XInterface, XTypeProvider, XServiceInfo More...
 
virtual sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL attachFrame (const css::uno::Reference< css::frame::XFrame > &Frame) override
 
virtual void SAL_CALL reset () override
 
virtual css::awt::Rectangle SAL_CALL getCurrentDockingArea () override
 
virtual css::uno::Reference< css::ui::XDockingAreaAcceptor > SAL_CALL getDockingAreaAcceptor () override
 
virtual void SAL_CALL setDockingAreaAcceptor (const css::uno::Reference< css::ui::XDockingAreaAcceptor > &xDockingAreaAcceptor) final override
 
virtual void SAL_CALL createElement (const OUString &aName) override
 
virtual void SAL_CALL destroyElement (const OUString &aName) override
 
virtual sal_Bool SAL_CALL requestElement (const OUString &ResourceURL) override
 
virtual css::uno::Reference< css::ui::XUIElement > SAL_CALL getElement (const OUString &aName) override
 
virtual css::uno::Sequence< css::uno::Reference< css::ui::XUIElement > > SAL_CALL getElements () override
 
virtual sal_Bool SAL_CALL showElement (const OUString &aName) override
 
virtual sal_Bool SAL_CALL hideElement (const OUString &aName) override
 
virtual sal_Bool SAL_CALL dockWindow (const OUString &aName, css::ui::DockingArea DockingArea, const css::awt::Point &Pos) override
 
virtual sal_Bool SAL_CALL dockAllWindows (::sal_Int16 nElementType) override
 
virtual sal_Bool SAL_CALL floatWindow (const OUString &aName) override
 
virtual sal_Bool SAL_CALL lockWindow (const OUString &ResourceURL) override
 
virtual sal_Bool SAL_CALL unlockWindow (const OUString &ResourceURL) override
 
virtual void SAL_CALL setElementSize (const OUString &aName, const css::awt::Size &aSize) override
 
virtual void SAL_CALL setElementPos (const OUString &aName, const css::awt::Point &aPos) override
 
virtual void SAL_CALL setElementPosSize (const OUString &aName, const css::awt::Point &aPos, const css::awt::Size &aSize) override
 
virtual sal_Bool SAL_CALL isElementVisible (const OUString &aName) override
 
virtual sal_Bool SAL_CALL isElementFloating (const OUString &aName) override
 
virtual sal_Bool SAL_CALL isElementDocked (const OUString &aName) override
 
virtual sal_Bool SAL_CALL isElementLocked (const OUString &ResourceURL) override
 
virtual css::awt::Size SAL_CALL getElementSize (const OUString &aName) override
 
virtual css::awt::Point SAL_CALL getElementPos (const OUString &aName) override
 
virtual void SAL_CALL lock () override
 
virtual void SAL_CALL unlock () override
 
virtual void SAL_CALL doLayout () override
 
virtual void SAL_CALL setVisible (sal_Bool bVisible) override
 
virtual sal_Bool SAL_CALL isVisible () override
 
virtual sal_Bool SAL_CALL setMergedMenuBar (const css::uno::Reference< css::container::XIndexAccess > &xMergedMenuBar) override
 
virtual void SAL_CALL removeMergedMenuBar () override
 
virtual void SAL_CALL windowResized (const css::awt::WindowEvent &aEvent) override
 
virtual void SAL_CALL windowMoved (const css::awt::WindowEvent &aEvent) override
 
virtual void SAL_CALL windowShown (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL windowHidden (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL frameAction (const css::frame::FrameActionEvent &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL elementInserted (const css::ui::ConfigurationEvent &Event) override
 
virtual void SAL_CALL elementRemoved (const css::ui::ConfigurationEvent &Event) override
 
virtual void SAL_CALL elementReplaced (const css::ui::ConfigurationEvent &Event) override
 
virtual void SAL_CALL addLayoutManagerEventListener (const css::uno::Reference< css::frame::XLayoutManagerListener > &aLayoutManagerListener) override
 
virtual void SAL_CALL removeLayoutManagerEventListener (const css::uno::Reference< css::frame::XLayoutManagerListener > &aLayoutManagerListener) override
 
 DECL_LINK (MenuBarClose, void *, void)
 
 DECL_LINK (WindowEventListener, VclWindowEvent &, void)
 
void requestLayout ()
 
- Public Member Functions inherited from cppu::OBroadcastHelperVar< class container, class keyType >
 OBroadcastHelperVar (::osl::Mutex &rMutex_)
 
void addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
void removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
OInterfaceContainerHelper *SAL_CALL getContainer (const keyType &key) const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 

Static Public Member Functions

static bool readWindowStateData (const OUString &rName, UIElement &rElementData, const css::uno::Reference< css::container::XNameAccess > &rPersistentWindowState, std::unique_ptr< GlobalSettings > &rGlobalSettings, bool &bInGlobalSettings, const css::uno::Reference< css::uno::XComponentContext > &rComponentContext)
 Reading of settings - shared with ToolbarLayoutManager. More...
 

Private Member Functions

 DECL_LINK (AsyncLayoutHdl, Timer *, void)
 
void implts_createMenuBar (const OUString &rMenuBarName)
 
void impl_clearUpMenuBar ()
 
void implts_reset (bool bAttach)
 
void implts_updateMenuBarClose ()
 
bool implts_resetMenuBar ()
 
void implts_createMSCompatibleMenuBar (const OUString &rName)
 
void implts_lock ()
 
bool implts_unlock ()
 
css::uno::Reference< css::ui::XUIElement > implts_findElement (std::u16string_view aName)
 
bool implts_readWindowStateData (const OUString &rName, UIElement &rElementData)
 
void implts_writeWindowStateData (const OUString &rName, const UIElement &rElementData)
 
void implts_destroyElements ()
 
void implts_toggleFloatingUIElementsVisibility (bool bActive)
 
void implts_reparentChildWindows ()
 
css::uno::Reference< css::ui::XUIElement > implts_createDockingWindow (const OUString &aElementName)
 
bool implts_isEmbeddedLayoutManager () const
 
css::uno::Reference< css::ui::XUIElement > implts_createElement (const OUString &aName)
 
bool implts_resizeContainerWindow (const css::awt::Size &rContainerSize, const css::awt::Point &rComponentPos)
 
::Size implts_getContainerWindowOutputSize ()
 
void implts_setDockingAreaWindowSizes ()
 
css::awt::Rectangle implts_calcDockingAreaSizes ()
 
bool implts_doLayout (bool bForceRequestBorderSpace, bool bOuterResize)
 
void implts_doLayout_notify (bool bOuterResize)
 
::Size implts_getStatusBarSize ()
 
void implts_destroyStatusBar ()
 
void implts_createStatusBar (const OUString &rStatusBarName)
 
void implts_createProgressBar ()
 
void implts_destroyProgressBar ()
 
void implts_setStatusBarPosSize (const ::Point &rPos, const ::Size &rSize)
 
bool implts_showStatusBar (bool bStoreState=false)
 
bool implts_hideStatusBar (bool bStoreState=false)
 
void implts_readStatusBarState (const OUString &rStatusBarName)
 
bool implts_showProgressBar ()
 
bool implts_hideProgressBar ()
 
void implts_backupProgressBarWrapper ()
 
void implts_setOffset (const sal_Int32 nBottomOffset)
 
void implts_setInplaceMenuBar (const css::uno::Reference< css::container::XIndexAccess > &xMergedMenuBar)
 
void implts_resetInplaceMenuBar ()
 
void implts_setVisibleState (bool bShow)
 
void implts_updateUIElementsVisibleState (bool bShow)
 
void implts_setCurrentUIVisibility (bool bShow)
 
void implts_notifyListeners (short nEvent, const css::uno::Any &rInfoParam)
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &aValue) override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::util::XURLTransformer > m_xURLTransformer
 reference to factory, which has created this instance. More...
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::ui::XUIConfigurationManager > m_xModuleCfgMgr
 
css::uno::Reference< css::ui::XUIConfigurationManager > m_xDocCfgMgr
 
css::uno::Reference< css::awt::XWindow > m_xContainerWindow
 
css::uno::Reference< css::awt::XTopWindow2 > m_xContainerTopWindow
 
sal_Int32 m_nLockCount
 
bool m_bInplaceMenuSet
 
bool m_bMenuVisible
 
bool m_bVisible
 
bool m_bParentWindowVisible
 
bool m_bMustDoLayout
 
bool m_bAutomaticToolbars
 
bool m_bHideCurrentUI
 
bool m_bGlobalSettings
 
bool m_bPreserveContentSize
 
bool m_bMenuBarCloseButton
 
css::awt::Rectangle m_aDockingArea
 
css::uno::Reference< css::ui::XDockingAreaAcceptor > m_xDockingAreaAcceptor
 
rtl::Reference< MenuBarManagerm_xInplaceMenuBar
 
css::uno::Reference< css::ui::XUIElement > m_xMenuBar
 
UIElement m_aStatusBarElement
 
UIElement m_aProgressBarElement
 
css::uno::Reference< css::ui::XUIElement > m_xProgressBarBackup
 
css::uno::Reference< css::frame::XModuleManager2 > m_xModuleManager
 
css::uno::Reference< css::ui::XUIElementFactoryManager > m_xUIElementFactoryManager
 
css::uno::Reference< css::container::XNameAccess > m_xPersistentWindowState
 
css::uno::Reference< css::container::XNameAccess > m_xPersistentWindowStateSupplier
 
std::unique_ptr< GlobalSettingsm_pGlobalSettings
 
OUString m_aModuleIdentifier
 
Timer m_aAsyncLayoutTimer
 
comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenerContainer
 
rtl::Reference< ToolbarLayoutManagerm_xToolbarManager
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Friends

class detail::InfoHelperBuilder
 

Additional Inherited Members

- Public Attributes inherited from cppu::OBroadcastHelperVar< class container, class keyType >
::osl::Mutex & rMutex
 
container aLC
 
sal_Bool bDisposed
 
sal_Bool bInDispose
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 

Detailed Description

Definition at line 59 of file layoutmanager.hxx.

Constructor & Destructor Documentation

◆ LayoutManager()

framework::LayoutManager::LayoutManager ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)

◆ ~LayoutManager()

framework::LayoutManager::~LayoutManager ( )
overridevirtual

Member Function Documentation

◆ addLayoutManagerEventListener()

void SAL_CALL framework::LayoutManager::addLayoutManagerEventListener ( const css::uno::Reference< css::frame::XLayoutManagerListener > &  aLayoutManagerListener)
overridevirtual

◆ attachFrame()

void SAL_CALL framework::LayoutManager::attachFrame ( const css::uno::Reference< css::frame::XFrame > &  Frame)
overridevirtual

Definition at line 1213 of file layoutmanager.cxx.

References m_xFrame, and xFrame.

◆ createElement()

void SAL_CALL framework::LayoutManager::createElement ( const OUString &  aName)
overridevirtual

◆ DECL_LINK() [1/3]

framework::LayoutManager::DECL_LINK ( AsyncLayoutHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [2/3]

framework::LayoutManager::DECL_LINK ( MenuBarClose  ,
void *  ,
void   
)

◆ DECL_LINK() [3/3]

framework::LayoutManager::DECL_LINK ( WindowEventListener  ,
VclWindowEvent ,
void   
)

◆ destroyElement()

void SAL_CALL framework::LayoutManager::destroyElement ( const OUString &  aName)
overridevirtual

◆ disposing()

void SAL_CALL framework::LayoutManager::disposing ( const css::lang::EventObject &  aEvent)
overridevirtual

◆ dockAllWindows()

sal_Bool SAL_CALL framework::LayoutManager::dockAllWindows ( ::sal_Int16  nElementType)
overridevirtual

◆ dockWindow()

sal_Bool SAL_CALL framework::LayoutManager::dockWindow ( const OUString &  aName,
css::ui::DockingArea  DockingArea,
const css::awt::Point &  Pos 
)
overridevirtual

◆ doLayout()

void SAL_CALL framework::LayoutManager::doLayout ( )
overridevirtual

◆ elementInserted()

void SAL_CALL framework::LayoutManager::elementInserted ( const css::ui::ConfigurationEvent &  Event)
overridevirtual

◆ elementRemoved()

void SAL_CALL framework::LayoutManager::elementRemoved ( const css::ui::ConfigurationEvent &  Event)
overridevirtual

◆ elementReplaced()

void SAL_CALL framework::LayoutManager::elementReplaced ( const css::ui::ConfigurationEvent &  Event)
overridevirtual

◆ floatWindow()

sal_Bool SAL_CALL framework::LayoutManager::floatWindow ( const OUString &  aName)
overridevirtual

◆ frameAction()

void SAL_CALL framework::LayoutManager::frameAction ( const css::frame::FrameActionEvent &  aEvent)
overridevirtual

◆ getCurrentDockingArea()

awt::Rectangle SAL_CALL framework::LayoutManager::getCurrentDockingArea ( )
overridevirtual

Definition at line 1241 of file layoutmanager.cxx.

References m_aDockingArea.

◆ getDockingAreaAcceptor()

Reference< XDockingAreaAcceptor > SAL_CALL framework::LayoutManager::getDockingAreaAcceptor ( )
overridevirtual

Definition at line 1247 of file layoutmanager.cxx.

References m_xDockingAreaAcceptor.

◆ getElement()

Reference< XUIElement > SAL_CALL framework::LayoutManager::getElement ( const OUString &  aName)
overridevirtual

◆ getElementPos()

awt::Point SAL_CALL framework::LayoutManager::getElementPos ( const OUString &  aName)
overridevirtual

◆ getElements()

Sequence< Reference< ui::XUIElement > > SAL_CALL framework::LayoutManager::getElements ( )
overridevirtual

◆ getElementSize()

awt::Size SAL_CALL framework::LayoutManager::getElementSize ( const OUString &  aName)
overridevirtual

◆ getImplementationName()

virtual OUString SAL_CALL framework::LayoutManager::getImplementationName ( )
inlineoverridevirtual

declaration of XInterface, XTypeProvider, XServiceInfo

Definition at line 71 of file layoutmanager.hxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL framework::LayoutManager::getInfoHelper ( )
overrideprivate

Definition at line 3063 of file layoutmanager.cxx.

References INFO.

Referenced by getPropertySetInfo().

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL framework::LayoutManager::getPropertySetInfo ( )
overrideprivatevirtual

Definition at line 3069 of file layoutmanager.cxx.

References getInfoHelper().

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL framework::LayoutManager::getSupportedServiceNames ( )
inlineoverridevirtual

Definition at line 81 of file layoutmanager.hxx.

References aSeq.

◆ hideElement()

sal_Bool SAL_CALL framework::LayoutManager::hideElement ( const OUString &  aName)
overridevirtual

◆ impl_clearUpMenuBar()

void framework::LayoutManager::impl_clearUpMenuBar ( )
private

◆ implts_backupProgressBarWrapper()

void framework::LayoutManager::implts_backupProgressBarWrapper ( )
private

◆ implts_calcDockingAreaSizes()

awt::Rectangle framework::LayoutManager::implts_calcDockingAreaSizes ( )
private

Definition at line 2397 of file layoutmanager.cxx.

References m_xContainerWindow, m_xDockingAreaAcceptor, and m_xToolbarManager.

Referenced by implts_doLayout().

◆ implts_createDockingWindow()

uno::Reference< ui::XUIElement > framework::LayoutManager::implts_createDockingWindow ( const OUString &  aElementName)
private

Definition at line 1380 of file layoutmanager.cxx.

References implts_createElement().

Referenced by createElement().

◆ implts_createElement()

Reference< XUIElement > framework::LayoutManager::implts_createElement ( const OUString &  aName)
private

◆ implts_createMenuBar()

void framework::LayoutManager::implts_createMenuBar ( const OUString &  rMenuBarName)
private

◆ implts_createMSCompatibleMenuBar()

void framework::LayoutManager::implts_createMSCompatibleMenuBar ( const OUString &  rName)
private

◆ implts_createProgressBar()

void framework::LayoutManager::implts_createProgressBar ( )
private

◆ implts_createStatusBar()

void framework::LayoutManager::implts_createStatusBar ( const OUString &  rStatusBarName)
private

◆ implts_destroyElements()

void framework::LayoutManager::implts_destroyElements ( )
private

◆ implts_destroyProgressBar()

void framework::LayoutManager::implts_destroyProgressBar ( )
private

Definition at line 955 of file layoutmanager.cxx.

References implts_backupProgressBarWrapper().

Referenced by implts_destroyStatusBar().

◆ implts_destroyStatusBar()

void framework::LayoutManager::implts_destroyStatusBar ( )
private

◆ implts_doLayout()

bool framework::LayoutManager::implts_doLayout ( bool  bForceRequestBorderSpace,
bool  bOuterResize 
)
private

◆ implts_doLayout_notify()

void framework::LayoutManager::implts_doLayout_notify ( bool  bOuterResize)
private

◆ implts_findElement()

uno::Reference< ui::XUIElement > framework::LayoutManager::implts_findElement ( std::u16string_view  aName)
private

◆ implts_getContainerWindowOutputSize()

Size framework::LayoutManager::implts_getContainerWindowOutputSize ( )
private

◆ implts_getStatusBarSize()

Size framework::LayoutManager::implts_getStatusBarSize ( )
private

◆ implts_hideProgressBar()

bool framework::LayoutManager::implts_hideProgressBar ( )
private

◆ implts_hideStatusBar()

bool framework::LayoutManager::implts_hideStatusBar ( bool  bStoreState = false)
private

◆ implts_isEmbeddedLayoutManager()

bool framework::LayoutManager::implts_isEmbeddedLayoutManager ( ) const
private

Definition at line 450 of file layoutmanager.cxx.

References m_xContainerWindow, m_xFrame, and xFrame.

Referenced by createElement().

◆ implts_lock()

void framework::LayoutManager::implts_lock ( )
private

Definition at line 262 of file layoutmanager.cxx.

References m_nLockCount.

Referenced by impl_clearUpMenuBar(), implts_reset(), and lock().

◆ implts_notifyListeners()

void framework::LayoutManager::implts_notifyListeners ( short  nEvent,
const css::uno::Any &  rInfoParam 
)
private

◆ implts_readStatusBarState()

void framework::LayoutManager::implts_readStatusBarState ( const OUString &  rStatusBarName)
private

◆ implts_readWindowStateData()

bool framework::LayoutManager::implts_readWindowStateData ( const OUString &  rName,
UIElement rElementData 
)
private

◆ implts_reparentChildWindows()

void framework::LayoutManager::implts_reparentChildWindows ( )
private

◆ implts_reset()

void framework::LayoutManager::implts_reset ( bool  bAttach)
private

◆ implts_resetInplaceMenuBar()

void framework::LayoutManager::implts_resetInplaceMenuBar ( )
private

◆ implts_resetMenuBar()

bool framework::LayoutManager::implts_resetMenuBar ( )
private

◆ implts_resizeContainerWindow()

bool framework::LayoutManager::implts_resizeContainerWindow ( const css::awt::Size &  rContainerSize,
const css::awt::Point &  rComponentPos 
)
private

◆ implts_setCurrentUIVisibility()

void framework::LayoutManager::implts_setCurrentUIVisibility ( bool  bShow)
private

◆ implts_setDockingAreaWindowSizes()

void framework::LayoutManager::implts_setDockingAreaWindowSizes ( )
private

◆ implts_setInplaceMenuBar()

void framework::LayoutManager::implts_setInplaceMenuBar ( const css::uno::Reference< css::container::XIndexAccess > &  xMergedMenuBar)
private

◆ implts_setOffset()

void framework::LayoutManager::implts_setOffset ( const sal_Int32  nBottomOffset)
private

◆ implts_setStatusBarPosSize()

void framework::LayoutManager::implts_setStatusBarPosSize ( const ::Point rPos,
const ::Size rSize 
)
private

◆ implts_setVisibleState()

void framework::LayoutManager::implts_setVisibleState ( bool  bShow)
private

◆ implts_showProgressBar()

bool framework::LayoutManager::implts_showProgressBar ( )
private

◆ implts_showStatusBar()

bool framework::LayoutManager::implts_showStatusBar ( bool  bStoreState = false)
private

◆ implts_toggleFloatingUIElementsVisibility()

void framework::LayoutManager::implts_toggleFloatingUIElementsVisibility ( bool  bActive)
private

◆ implts_unlock()

bool framework::LayoutManager::implts_unlock ( )
private

Definition at line 268 of file layoutmanager.cxx.

References m_nLockCount.

Referenced by impl_clearUpMenuBar(), implts_reset(), and unlock().

◆ implts_updateMenuBarClose()

void framework::LayoutManager::implts_updateMenuBarClose ( )
private

◆ implts_updateUIElementsVisibleState()

void framework::LayoutManager::implts_updateUIElementsVisibleState ( bool  bShow)
private

◆ implts_writeWindowStateData()

void framework::LayoutManager::implts_writeWindowStateData ( const OUString &  rName,
const UIElement rElementData 
)
private

◆ isElementDocked()

sal_Bool SAL_CALL framework::LayoutManager::isElementDocked ( const OUString &  aName)
overridevirtual

◆ isElementFloating()

sal_Bool SAL_CALL framework::LayoutManager::isElementFloating ( const OUString &  aName)
overridevirtual

◆ isElementLocked()

sal_Bool SAL_CALL framework::LayoutManager::isElementLocked ( const OUString &  ResourceURL)
overridevirtual

◆ isElementVisible()

sal_Bool SAL_CALL framework::LayoutManager::isElementVisible ( const OUString &  aName)
overridevirtual

◆ isVisible()

sal_Bool SAL_CALL framework::LayoutManager::isVisible ( )
overridevirtual

Definition at line 2362 of file layoutmanager.cxx.

References m_bVisible.

◆ lock()

void SAL_CALL framework::LayoutManager::lock ( )
overridevirtual

Definition at line 2139 of file layoutmanager.cxx.

References a, Any, implts_lock(), implts_notifyListeners(), m_nLockCount, and SAL_INFO.

Referenced by setDockingAreaAcceptor().

◆ lockWindow()

sal_Bool SAL_CALL framework::LayoutManager::lockWindow ( const OUString &  ResourceURL)
overridevirtual

◆ readWindowStateData()

bool framework::LayoutManager::readWindowStateData ( const OUString &  rName,
UIElement rElementData,
const css::uno::Reference< css::container::XNameAccess > &  rPersistentWindowState,
std::unique_ptr< GlobalSettings > &  rGlobalSettings,
bool &  bInGlobalSettings,
const css::uno::Reference< css::uno::XComponentContext > &  rComponentContext 
)
static

◆ removeLayoutManagerEventListener()

void SAL_CALL framework::LayoutManager::removeLayoutManagerEventListener ( const css::uno::Reference< css::frame::XLayoutManagerListener > &  aLayoutManagerListener)
overridevirtual

◆ removeMergedMenuBar()

void SAL_CALL framework::LayoutManager::removeMergedMenuBar ( )
overridevirtual

Definition at line 1236 of file layoutmanager.cxx.

References implts_resetInplaceMenuBar().

◆ requestElement()

sal_Bool SAL_CALL framework::LayoutManager::requestElement ( const OUString &  ResourceURL)
overridevirtual

◆ requestLayout()

void framework::LayoutManager::requestLayout ( )

◆ reset()

void SAL_CALL framework::LayoutManager::reset ( )
overridevirtual

Definition at line 1219 of file layoutmanager.cxx.

References implts_reset().

◆ setDockingAreaAcceptor()

void SAL_CALL framework::LayoutManager::setDockingAreaAcceptor ( const css::uno::Reference< css::ui::XDockingAreaAcceptor > &  xDockingAreaAcceptor)
finaloverridevirtual

◆ setElementPos()

void SAL_CALL framework::LayoutManager::setElementPos ( const OUString &  aName,
const css::awt::Point &  aPos 
)
overridevirtual

◆ setElementPosSize()

void SAL_CALL framework::LayoutManager::setElementPosSize ( const OUString &  aName,
const css::awt::Point &  aPos,
const css::awt::Size &  aSize 
)
overridevirtual

◆ setElementSize()

void SAL_CALL framework::LayoutManager::setElementSize ( const OUString &  aName,
const css::awt::Size &  aSize 
)
overridevirtual

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL framework::LayoutManager::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overrideprivatevirtual

◆ setMergedMenuBar()

sal_Bool SAL_CALL framework::LayoutManager::setMergedMenuBar ( const css::uno::Reference< css::container::XIndexAccess > &  xMergedMenuBar)
overridevirtual

◆ setVisible()

void SAL_CALL framework::LayoutManager::setVisible ( sal_Bool  bVisible)
overridevirtual

Definition at line 2351 of file layoutmanager.cxx.

References bVisible, implts_setVisibleState(), and m_bVisible.

◆ showElement()

sal_Bool SAL_CALL framework::LayoutManager::showElement ( const OUString &  aName)
overridevirtual

◆ supportsService()

virtual sal_Bool SAL_CALL framework::LayoutManager::supportsService ( OUString const &  ServiceName)
inlineoverridevirtual

Definition at line 76 of file layoutmanager.hxx.

References ServiceName, and cppu::supportsService().

◆ unlock()

void SAL_CALL framework::LayoutManager::unlock ( )
overridevirtual

◆ unlockWindow()

sal_Bool SAL_CALL framework::LayoutManager::unlockWindow ( const OUString &  ResourceURL)
overridevirtual

◆ windowHidden()

void SAL_CALL framework::LayoutManager::windowHidden ( const css::lang::EventObject &  aEvent)
overridevirtual

◆ windowMoved()

void SAL_CALL framework::LayoutManager::windowMoved ( const css::awt::WindowEvent &  aEvent)
overridevirtual

Definition at line 2633 of file layoutmanager.cxx.

◆ windowResized()

void SAL_CALL framework::LayoutManager::windowResized ( const css::awt::WindowEvent &  aEvent)
overridevirtual

◆ windowShown()

void SAL_CALL framework::LayoutManager::windowShown ( const css::lang::EventObject &  aEvent)
overridevirtual

Friends And Related Function Documentation

◆ detail::InfoHelperBuilder

friend class detail::InfoHelperBuilder
friend

Definition at line 267 of file layoutmanager.hxx.

Member Data Documentation

◆ m_aAsyncLayoutTimer

Timer framework::LayoutManager::m_aAsyncLayoutTimer
private

Definition at line 263 of file layoutmanager.hxx.

Referenced by setDockingAreaAcceptor(), unlock(), windowResized(), and ~LayoutManager().

◆ m_aDockingArea

css::awt::Rectangle framework::LayoutManager::m_aDockingArea
private

◆ m_aListenerContainer

comphelper::OMultiTypeInterfaceContainerHelper2 framework::LayoutManager::m_aListenerContainer
private

◆ m_aModuleIdentifier

OUString framework::LayoutManager::m_aModuleIdentifier
private

Definition at line 262 of file layoutmanager.hxx.

Referenced by implts_createMenuBar(), implts_reset(), and requestElement().

◆ m_aProgressBarElement

UIElement framework::LayoutManager::m_aProgressBarElement
private

◆ m_aStatusBarElement

UIElement framework::LayoutManager::m_aStatusBarElement
private

◆ m_bAutomaticToolbars

bool framework::LayoutManager::m_bAutomaticToolbars
private

◆ m_bGlobalSettings

bool framework::LayoutManager::m_bGlobalSettings
private

Definition at line 247 of file layoutmanager.hxx.

Referenced by implts_readWindowStateData().

◆ m_bHideCurrentUI

bool framework::LayoutManager::m_bHideCurrentUI
private

Definition at line 246 of file layoutmanager.hxx.

Referenced by setFastPropertyValue_NoBroadcast().

◆ m_bInplaceMenuSet

bool framework::LayoutManager::m_bInplaceMenuSet
private

◆ m_bMenuBarCloseButton

bool framework::LayoutManager::m_bMenuBarCloseButton
private

Definition at line 249 of file layoutmanager.hxx.

Referenced by implts_updateMenuBarClose().

◆ m_bMenuVisible

bool framework::LayoutManager::m_bMenuVisible
private

◆ m_bMustDoLayout

bool framework::LayoutManager::m_bMustDoLayout
private

Definition at line 244 of file layoutmanager.hxx.

Referenced by frameAction(), implts_doLayout(), and windowResized().

◆ m_bParentWindowVisible

bool framework::LayoutManager::m_bParentWindowVisible
private

◆ m_bPreserveContentSize

bool framework::LayoutManager::m_bPreserveContentSize
private

Definition at line 248 of file layoutmanager.hxx.

Referenced by implts_doLayout().

◆ m_bVisible

bool framework::LayoutManager::m_bVisible
private

◆ m_nLockCount

sal_Int32 framework::LayoutManager::m_nLockCount
private

◆ m_pGlobalSettings

std::unique_ptr<GlobalSettings> framework::LayoutManager::m_pGlobalSettings
private

Definition at line 261 of file layoutmanager.hxx.

Referenced by disposing(), implts_readWindowStateData(), and ~LayoutManager().

◆ m_xContainerTopWindow

css::uno::Reference< css::awt::XTopWindow2 > framework::LayoutManager::m_xContainerTopWindow
private

◆ m_xContainerWindow

css::uno::Reference< css::awt::XWindow > framework::LayoutManager::m_xContainerWindow
private

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > framework::LayoutManager::m_xContext
private

◆ m_xDocCfgMgr

css::uno::Reference< css::ui::XUIConfigurationManager > framework::LayoutManager::m_xDocCfgMgr
private

Definition at line 236 of file layoutmanager.hxx.

Referenced by disposing(), elementInserted(), elementRemoved(), and implts_reset().

◆ m_xDockingAreaAcceptor

css::uno::Reference< css::ui::XDockingAreaAcceptor > framework::LayoutManager::m_xDockingAreaAcceptor
private

◆ m_xFrame

css::uno::Reference< css::frame::XFrame > framework::LayoutManager::m_xFrame
private

◆ m_xInplaceMenuBar

rtl::Reference< MenuBarManager > framework::LayoutManager::m_xInplaceMenuBar
private

◆ m_xMenuBar

css::uno::Reference< css::ui::XUIElement > framework::LayoutManager::m_xMenuBar
private

◆ m_xModuleCfgMgr

css::uno::Reference< css::ui::XUIConfigurationManager > framework::LayoutManager::m_xModuleCfgMgr
private

Definition at line 235 of file layoutmanager.hxx.

Referenced by disposing(), elementRemoved(), and implts_reset().

◆ m_xModuleManager

css::uno::Reference< css::frame::XModuleManager2 > framework::LayoutManager::m_xModuleManager
private

Definition at line 257 of file layoutmanager.hxx.

Referenced by implts_reset().

◆ m_xPersistentWindowState

css::uno::Reference< css::container::XNameAccess > framework::LayoutManager::m_xPersistentWindowState
private

◆ m_xPersistentWindowStateSupplier

css::uno::Reference< css::container::XNameAccess > framework::LayoutManager::m_xPersistentWindowStateSupplier
private

Definition at line 260 of file layoutmanager.hxx.

Referenced by implts_reset().

◆ m_xProgressBarBackup

css::uno::Reference< css::ui::XUIElement > framework::LayoutManager::m_xProgressBarBackup
private

Definition at line 256 of file layoutmanager.hxx.

Referenced by implts_backupProgressBarWrapper(), and implts_createProgressBar().

◆ m_xToolbarManager

rtl::Reference< ToolbarLayoutManager > framework::LayoutManager::m_xToolbarManager
private

◆ m_xUIElementFactoryManager

css::uno::Reference< css::ui::XUIElementFactoryManager > framework::LayoutManager::m_xUIElementFactoryManager
private

Definition at line 258 of file layoutmanager.hxx.

Referenced by implts_createElement().

◆ m_xURLTransformer

css::uno::Reference< css::util::XURLTransformer > framework::LayoutManager::m_xURLTransformer
private

reference to factory, which has created this instance.

Definition at line 233 of file layoutmanager.hxx.

Referenced by implts_setInplaceMenuBar().


The documentation for this class was generated from the following files: