SfxViewShell descendant that the stacked Draw/Impress shells are based on.
Use this class to safely lock updates of the view shell stack.
UpdateLock(std::shared_ptr< ViewShellManager > pManager)
std::shared_ptr< ViewShellManager > mpManager
~UpdateLock() COVERITY_NOEXCEPT_FALSE
The ViewShellManager has the responsibility to manage the view shells and sub shells on the SFX shell...
std::shared_ptr< ShellFactory< SfxShell > > SharedShellFactory
void ActivateShell(SfxShell *pShell)
Activate the given shell which is not a view shell.
std::unique_ptr< ViewShellManager::Implementation, o3tl::default_delete< ViewShellManager::Implementation > > mpImpl
void DeactivateSubShell(const ViewShell &rParentShell, ShellId nId)
Deactivate the specified sub shell.
void AddSubShellFactory(ViewShell const *pViewShell, const SharedShellFactory &rpFactory)
Set the factory for sub shells of the specified view shell.
SfxShell * GetShell(ShellId nId) const
Return the first, i.e.
void DeactivateViewShell(const ViewShell *pShell)
Deactivate the specified shell, i.e.
~ViewShellManager()
Before the destructor is called the method Shutdown() has to have been called.
ViewShellManager(ViewShellBase &rBase)
SfxShell * GetTopViewShell() const
Return the top-most active view shell on the internal shell stack.
void InvalidateAllSubShells(ViewShell const *pViewShell)
Send all sub shells of the specified view shell an Invalidate() call.
void DeactivateShell(const SfxShell *pShell)
Deactivate the specified shell.
void Shutdown()
Tell a ViewShellManager object to prepare to be deleted, i.e.
void ActivateViewShell(ViewShell *pViewShell)
Activate the given view shell.
void RemoveSubShellFactory(ViewShell const *pViewShell, const SharedShellFactory &rpFactory)
void ActivateSubShell(const ViewShell &rParentShell, ShellId nId)
Activate the specified shell as sub shell for the given view shell.
void MoveToTop(const ViewShell &rShell)
Move the specified view shell to the top most position on the stack of view shells in relation to the...
void SetFormShell(const ViewShell *pParentShell, FmFormShell *pFormShell, bool bAbove)
Associate the form shell with a view shell and their relative position.
SfxShell * GetTopShell() const
Return the top-most shell on the SFX shell stack regardless of whether that is a view shell or a sub ...
Base class of the stacked shell hierarchy.