LibreOffice Module sd (master) 1
|
This class could also be called PresenterPaneAndViewContainer because it stores not only references to all panes that belong to the presenter screen but stores the views displayed in these panes as well. More...
#include <PresenterPaneContainer.hxx>
Classes | |
class | PaneDescriptor |
Each pane descriptor holds references to one pane and the view displayed in this pane as well as the other information that is used to manage the pane window like an XWindow reference, the title, and the coordinates. More... | |
Public Types | |
typedef ::std::function< void(const css::uno::Reference< css::drawing::framework::XView > &)> | ViewInitializationFunction |
typedef std::shared_ptr< PaneDescriptor > | SharedPaneDescriptor |
typedef ::std::vector< SharedPaneDescriptor > | PaneList |
Public Member Functions | |
PresenterPaneContainer (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~PresenterPaneContainer () override |
PresenterPaneContainer (const PresenterPaneContainer &)=delete | |
PresenterPaneContainer & | operator= (const PresenterPaneContainer &)=delete |
virtual void SAL_CALL | disposing () override |
void | PreparePane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, const OUString &rsViewURL, const OUString &rsTitle, const OUString &rsAccessibleTitle, const bool bIsOpaque, const ViewInitializationFunction &rViewInitialization) |
SharedPaneDescriptor | StorePane (const rtl::Reference< PresenterPaneBase > &rxPane) |
SharedPaneDescriptor | StoreBorderWindow (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId, const css::uno::Reference< css::awt::XWindow > &rxBorderWindow) |
SharedPaneDescriptor | StoreView (const css::uno::Reference< css::drawing::framework::XView > &rxView) |
SharedPaneDescriptor | RemovePane (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId) |
SharedPaneDescriptor | RemoveView (const css::uno::Reference< css::drawing::framework::XView > &rxView) |
SharedPaneDescriptor | FindBorderWindow (const css::uno::Reference< css::awt::XWindow > &rxBorderWindow) |
Find the pane whose border window is identical to the given border window. More... | |
SharedPaneDescriptor | FindContentWindow (const css::uno::Reference< css::awt::XWindow > &rxBorderWindow) |
Find the pane whose border window is identical to the given content window. More... | |
SharedPaneDescriptor | FindPaneURL (const OUString &rsPaneURL) |
Find the pane whose pane URL is identical to the given URL string. More... | |
SharedPaneDescriptor | FindPaneId (const css::uno::Reference< css::drawing::framework::XResourceId > &rxPaneId) |
Find the pane whose resource id is identical to the given one. More... | |
SharedPaneDescriptor | FindViewURL (const OUString &rsViewURL) |
OUString | GetPaneURLForViewURL (const OUString &rsViewURL) |
void | ToTop (const SharedPaneDescriptor &rpDescriptor) |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEvent) override |
Public Attributes | |
PaneList | maPanes |
Private Attributes | |
css::uno::Reference< css::drawing::XPresenterHelper > | mxPresenterHelper |
![]() | |
mutable::osl::Mutex | m_aMutex |
This class could also be called PresenterPaneAndViewContainer because it stores not only references to all panes that belong to the presenter screen but stores the views displayed in these panes as well.
Definition at line 50 of file PresenterPaneContainer.hxx.
typedef ::std::vector<SharedPaneDescriptor> sdext::presenter::PresenterPaneContainer::PaneList |
Definition at line 94 of file PresenterPaneContainer.hxx.
typedef std::shared_ptr<PaneDescriptor> sdext::presenter::PresenterPaneContainer::SharedPaneDescriptor |
Definition at line 93 of file PresenterPaneContainer.hxx.
typedef ::std::function<void (const css::uno::Reference<css::drawing::framework::XView>&)> sdext::presenter::PresenterPaneContainer::ViewInitializationFunction |
Definition at line 64 of file PresenterPaneContainer.hxx.
|
explicit |
|
overridevirtual |
Definition at line 44 of file PresenterPaneContainer.cxx.
|
delete |
|
overridevirtual |
Definition at line 87 of file PresenterPaneContainer.cxx.
|
overridevirtual |
Definition at line 311 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::FindBorderWindow | ( | const css::uno::Reference< css::awt::XWindow > & | rxBorderWindow | ) |
Find the pane whose border window is identical to the given border window.
Definition at line 227 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::FindContentWindow | ( | const css::uno::Reference< css::awt::XWindow > & | rxBorderWindow | ) |
Find the pane whose border window is identical to the given content window.
Definition at line 237 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::FindPaneId | ( | const css::uno::Reference< css::drawing::framework::XResourceId > & | rxPaneId | ) |
Find the pane whose resource id is identical to the given one.
Definition at line 257 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::FindPaneURL | ( | const OUString & | rsPaneURL | ) |
Find the pane whose pane URL is identical to the given URL string.
Definition at line 247 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::FindViewURL | ( | const OUString & | rsViewURL | ) |
Definition at line 270 of file PresenterPaneContainer.cxx.
OUString sdext::presenter::PresenterPaneContainer::GetPaneURLForViewURL | ( | const OUString & | rsViewURL | ) |
Definition at line 280 of file PresenterPaneContainer.cxx.
|
delete |
void sdext::presenter::PresenterPaneContainer::PreparePane | ( | const css::uno::Reference< css::drawing::framework::XResourceId > & | rxPaneId, |
const OUString & | rsViewURL, | ||
const OUString & | rsTitle, | ||
const OUString & | rsAccessibleTitle, | ||
const bool | bIsOpaque, | ||
const ViewInitializationFunction & | rViewInitialization | ||
) |
Definition at line 48 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::RemovePane | ( | const css::uno::Reference< css::drawing::framework::XResourceId > & | rxPaneId | ) |
Definition at line 185 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::RemoveView | ( | const css::uno::Reference< css::drawing::framework::XView > & | rxView | ) |
Definition at line 202 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::StoreBorderWindow | ( | const css::uno::Reference< css::drawing::framework::XResourceId > & | rxPaneId, |
const css::uno::Reference< css::awt::XWindow > & | rxBorderWindow | ||
) |
Definition at line 128 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::StorePane | ( | const rtl::Reference< PresenterPaneBase > & | rxPane | ) |
Definition at line 95 of file PresenterPaneContainer.cxx.
PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::StoreView | ( | const css::uno::Reference< css::drawing::framework::XView > & | rxView | ) |
Definition at line 149 of file PresenterPaneContainer.cxx.
void sdext::presenter::PresenterPaneContainer::ToTop | ( | const SharedPaneDescriptor & | rpDescriptor | ) |
Definition at line 289 of file PresenterPaneContainer.cxx.
References mxPresenterHelper.
PaneList sdext::presenter::PresenterPaneContainer::maPanes |
Definition at line 95 of file PresenterPaneContainer.hxx.
|
private |
Definition at line 154 of file PresenterPaneContainer.hxx.