LibreOffice Module sdext (master)
1
|
The PresenterPaneFactory provides a fixed set of panes. More...
#include <PresenterPaneFactory.hxx>
Public Member Functions | |
virtual | ~PresenterPaneFactory () override |
virtual void SAL_CALL | disposing () 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 |
Static Public Member Functions | |
static css::uno::Reference< css::drawing::framework::XResourceFactory > | Create (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XController > &rxController, const ::rtl::Reference< PresenterController > &rpPresenterController) |
Create a new instance of this class and register it as resource factory in the drawing framework of the given controller. More... | |
Static Public Attributes | |
static const OUString | msCurrentSlidePreviewPaneURL |
static const OUString | msNextSlidePreviewPaneURL |
static const OUString | msNotesPaneURL |
static const OUString | msToolBarPaneURL |
static const OUString | msSlideSorterPaneURL |
static const OUString | msHelpPaneURL |
static const OUString | msOverlayPaneURL |
Private Types | |
typedef ::std::map< OUString, css::uno::Reference< css::drawing::framework::XResource > > | ResourceContainer |
Private Member Functions | |
PresenterPaneFactory (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const ::rtl::Reference< PresenterController > &rpPresenterController) | |
void | Register (const css::uno::Reference< css::frame::XController > &rxController) |
css::uno::Reference< css::drawing::framework::XResource > | CreatePane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId) |
css::uno::Reference< css::drawing::framework::XResource > | CreatePane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, const css::uno::Reference< css::drawing::framework::XPane > &rxParentPane, const bool bIsSpritePane) |
void | ThrowIfDisposed () const |
Private Attributes | |
css::uno::WeakReference< css::uno::XComponentContext > | mxComponentContextWeak |
css::uno::WeakReference< css::drawing::framework::XConfigurationController > | mxConfigurationControllerWeak |
::rtl::Reference< PresenterController > | mpPresenterController |
std::unique_ptr< ResourceContainer > | mpResourceCache |
Additional Inherited Members | |
![]() | |
mutable::osl::Mutex | m_aMutex |
The PresenterPaneFactory provides a fixed set of panes.
In order to make the presenter screen more easily extendable in the future the set of supported panes could be made extendable on demand.
Definition at line 47 of file PresenterPaneFactory.hxx.
|
private |
Definition at line 92 of file PresenterPaneFactory.hxx.
|
overridevirtual |
Definition at line 105 of file PresenterPaneFactory.cxx.
|
private |
Definition at line 66 of file PresenterPaneFactory.cxx.
References m_aMutex.
Referenced by Create().
|
static |
Create a new instance of this class and register it as resource factory in the drawing framework of the given controller.
This registration keeps it alive. When the drawing framework is shut down and releases its reference to the factory then the factory is destroyed.
Definition at line 54 of file PresenterPaneFactory.cxx.
References PresenterPaneFactory().
Referenced by sdext::presenter::PresenterScreen::SetupPaneFactory().
|
private |
Referenced by createResource().
|
private |
|
overridevirtual |
Definition at line 131 of file PresenterPaneFactory.cxx.
References CreatePane(), mpPresenterController, mpResourceCache, and ThrowIfDisposed().
|
overridevirtual |
Definition at line 109 of file PresenterPaneFactory.cxx.
References mpResourceCache, and mxConfigurationControllerWeak.
|
private |
Definition at line 77 of file PresenterPaneFactory.cxx.
References mxConfigurationControllerWeak.
|
overridevirtual |
Definition at line 171 of file PresenterPaneFactory.cxx.
References mpPresenterController, mpResourceCache, and ThrowIfDisposed().
|
private |
css::lang::DisposedException |
Definition at line 292 of file PresenterPaneFactory.cxx.
Referenced by createResource(), and releaseResource().
|
private |
Definition at line 90 of file PresenterPaneFactory.hxx.
Referenced by createResource(), and releaseResource().
|
private |
Definition at line 93 of file PresenterPaneFactory.hxx.
Referenced by createResource(), disposing(), and releaseResource().
|
static |
Definition at line 52 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterAccessible::GetPreviewPane(), sdext::presenter::PresenterWindowManager::LayoutNotesMode(), and sdext::presenter::PresenterWindowManager::LayoutStandardMode().
|
static |
Definition at line 57 of file PresenterPaneFactory.hxx.
|
static |
Definition at line 53 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterWindowManager::LayoutNotesMode(), and sdext::presenter::PresenterWindowManager::LayoutStandardMode().
|
static |
Definition at line 54 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterWindowManager::LayoutNotesMode(), and sdext::presenter::PresenterAccessible::UpdateAccessibilityHierarchy().
|
static |
Definition at line 58 of file PresenterPaneFactory.hxx.
|
static |
Definition at line 56 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterAccessible::GetPreviewPane().
|
static |
Definition at line 55 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterWindowManager::LayoutToolBar().
|
private |
Definition at line 87 of file PresenterPaneFactory.hxx.
|
private |
Definition at line 89 of file PresenterPaneFactory.hxx.
Referenced by disposing(), and Register().