LibreOffice Module sd (master) 1
|
This factory provides the frequently used standard panes private:resource/pane/CenterPane private:resource/pane/FullScreenPane private:resource/pane/LeftImpressPane private:resource/pane/LeftDrawPane There are two left panes because this is (seems to be) the only way to show different titles for the left pane in Draw and Impress. More...
#include <BasicPaneFactory.hxx>
Classes | |
class | PaneContainer |
class | PaneDescriptor |
Store URL, XPane reference and (local) PaneId for every pane factory that is registered at the PaneController. More... | |
Public Member Functions | |
BasicPaneFactory (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const rtl::Reference<::sd::DrawController > &rxController) | |
virtual | ~BasicPaneFactory () override |
virtual void | disposing (std::unique_lock< std::mutex > &) override |
virtual css::uno::Reference< css::drawing::framework::XResource > SAL_CALL | createResource (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId) override |
virtual void SAL_CALL | releaseResource (const css::uno::Reference< css::drawing::framework::XResource > &rxPane) override |
virtual void SAL_CALL | notifyConfigurationChange (const css::drawing::framework::ConfigurationChangeEvent &rEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEventObject) override |
![]() | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
![]() | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
![]() | |
virtual | ~UnoImplBase () |
Private Member Functions | |
css::uno::Reference< css::drawing::framework::XResource > | CreateFrameWindowPane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId) |
Create a new instance of FrameWindowPane. More... | |
css::uno::Reference< css::drawing::framework::XResource > | CreateFullScreenPane (const css::uno::Reference< css::uno::XComponentContext > &rxComponentContext, const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId) |
Create a new pane that represents the center pane in full screen mode. More... | |
css::uno::Reference< css::drawing::framework::XResource > | CreateChildWindowPane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, const PaneDescriptor &rDescriptor) |
Create a new instance of ChildWindowPane. More... | |
void | ThrowIfDisposed () const |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | mxComponentContext |
css::uno::WeakReference< css::drawing::framework::XConfigurationController > | mxConfigurationControllerWeak |
ViewShellBase * | mpViewShellBase |
std::unique_ptr< PaneContainer > | mpPaneContainer |
Additional Inherited Members | |
![]() | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
![]() | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
![]() | |
std::mutex | m_aMutex |
bool | m_bDisposed |
This factory provides the frequently used standard panes private:resource/pane/CenterPane private:resource/pane/FullScreenPane private:resource/pane/LeftImpressPane private:resource/pane/LeftDrawPane There are two left panes because this is (seems to be) the only way to show different titles for the left pane in Draw and Impress.
Definition at line 54 of file BasicPaneFactory.hxx.
|
explicit |
Definition at line 86 of file BasicPaneFactory.cxx.
References Any, sd::framework::BasicPaneFactory::PaneDescriptor::mbIsReleased, sd::framework::BasicPaneFactory::PaneDescriptor::mePaneId, mpPaneContainer, mpViewShellBase, sd::framework::FrameworkHelper::msCenterPaneURL, sd::framework::FrameworkHelper::msConfigurationUpdateEndEvent, sd::framework::FrameworkHelper::msConfigurationUpdateStartEvent, sd::framework::FrameworkHelper::msFullScreenPaneURL, sd::framework::FrameworkHelper::msLeftDrawPaneURL, sd::framework::FrameworkHelper::msLeftImpressPaneURL, sd::framework::BasicPaneFactory::PaneDescriptor::msPaneURL, and mxConfigurationControllerWeak.
|
overridevirtual |
Definition at line 149 of file BasicPaneFactory.cxx.
|
private |
Create a new instance of ChildWindowPane.
rPaneId | The ResourceURL member defines which side pane to create. |
Definition at line 353 of file BasicPaneFactory.cxx.
References sd::framework::BasicPaneFactory::PaneDescriptor::mePaneId, and mpViewShellBase.
Referenced by createResource().
|
private |
Create a new instance of FrameWindowPane.
rPaneId | There is only one frame window so this id is just checked to have the correct value. |
Definition at line 327 of file BasicPaneFactory.cxx.
References sd::ViewShellBase::GetViewWindow(), and mpViewShellBase.
Referenced by createResource().
|
private |
Create a new pane that represents the center pane in full screen mode.
Definition at line 340 of file BasicPaneFactory.cxx.
References sd::ViewShellBase::GetViewWindow(), and mpViewShellBase.
Referenced by createResource().
|
overridevirtual |
Definition at line 179 of file BasicPaneFactory.cxx.
References CreateChildWindowPane(), CreateFrameWindowPane(), CreateFullScreenPane(), mpPaneContainer, mxComponentContext, and ThrowIfDisposed().
|
overridevirtual |
|
overridevirtual |
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 153 of file BasicPaneFactory.cxx.
References mpPaneContainer, and mxConfigurationControllerWeak.
|
overridevirtual |
Definition at line 295 of file BasicPaneFactory.cxx.
|
overridevirtual |
Definition at line 244 of file BasicPaneFactory.cxx.
References sd::framework::ChildWindowPane::Hide(), mpPaneContainer, and ThrowIfDisposed().
|
private |
css::lang::DisposedException |
Definition at line 395 of file BasicPaneFactory.cxx.
References comphelper::UnoImplBase::m_bDisposed.
Referenced by createResource(), and releaseResource().
|
private |
Definition at line 92 of file BasicPaneFactory.hxx.
Referenced by BasicPaneFactory(), createResource(), disposing(), and releaseResource().
|
private |
Definition at line 89 of file BasicPaneFactory.hxx.
Referenced by BasicPaneFactory(), CreateChildWindowPane(), CreateFrameWindowPane(), and CreateFullScreenPane().
|
private |
Definition at line 86 of file BasicPaneFactory.hxx.
Referenced by createResource().
|
private |
Definition at line 88 of file BasicPaneFactory.hxx.
Referenced by BasicPaneFactory(), and disposing().