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 constexpr OUStringLiteral | msCurrentSlidePreviewPaneURL = u"private:resource/pane/Presenter/Pane1" |
static constexpr OUStringLiteral | msNextSlidePreviewPaneURL = u"private:resource/pane/Presenter/Pane2" |
static constexpr OUStringLiteral | msNotesPaneURL = u"private:resource/pane/Presenter/Pane3" |
static constexpr OUStringLiteral | msToolBarPaneURL = u"private:resource/pane/Presenter/Pane4" |
static constexpr OUStringLiteral | msSlideSorterPaneURL = u"private:resource/pane/Presenter/Pane5" |
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 93 of file PresenterPaneFactory.hxx.
|
overridevirtual |
Definition at line 89 of file PresenterPaneFactory.cxx.
|
private |
Definition at line 50 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 38 of file PresenterPaneFactory.cxx.
References PresenterPaneFactory().
Referenced by sdext::presenter::PresenterScreen::SetupPaneFactory().
|
private |
Referenced by createResource().
|
private |
|
overridevirtual |
Definition at line 115 of file PresenterPaneFactory.cxx.
References CreatePane(), mpPresenterController, mpResourceCache, and ThrowIfDisposed().
|
overridevirtual |
Definition at line 93 of file PresenterPaneFactory.cxx.
References mpResourceCache, and mxConfigurationControllerWeak.
|
private |
Definition at line 61 of file PresenterPaneFactory.cxx.
References mxConfigurationControllerWeak.
|
overridevirtual |
Definition at line 155 of file PresenterPaneFactory.cxx.
References mpPresenterController, mpResourceCache, and ThrowIfDisposed().
|
private |
css::lang::DisposedException |
Definition at line 276 of file PresenterPaneFactory.cxx.
Referenced by createResource(), and releaseResource().
|
private |
Definition at line 91 of file PresenterPaneFactory.hxx.
Referenced by createResource(), and releaseResource().
|
private |
Definition at line 94 of file PresenterPaneFactory.hxx.
Referenced by createResource(), disposing(), and releaseResource().
|
static |
Definition at line 53 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterAccessible::GetPreviewPane(), sdext::presenter::PresenterWindowManager::LayoutNotesMode(), and sdext::presenter::PresenterWindowManager::LayoutStandardMode().
|
static |
Definition at line 55 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterWindowManager::LayoutNotesMode(), and sdext::presenter::PresenterWindowManager::LayoutStandardMode().
|
static |
Definition at line 56 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterWindowManager::LayoutNotesMode(), and sdext::presenter::PresenterAccessible::UpdateAccessibilityHierarchy().
|
static |
Definition at line 59 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterAccessible::GetPreviewPane().
|
static |
Definition at line 57 of file PresenterPaneFactory.hxx.
Referenced by sdext::presenter::PresenterWindowManager::LayoutToolBar().
|
private |
Definition at line 88 of file PresenterPaneFactory.hxx.
|
private |
Definition at line 90 of file PresenterPaneFactory.hxx.
Referenced by disposing(), and Register().