LibreOffice Module sdext (master) 1
Classes | Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
sdext::presenter::PresenterPaneContainer Class Reference

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>

Inheritance diagram for sdext::presenter::PresenterPaneContainer:
[legend]
Collaboration diagram for sdext::presenter::PresenterPaneContainer:
[legend]

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< PaneDescriptorSharedPaneDescriptor
 
typedef ::std::vector< SharedPaneDescriptorPaneList
 

Public Member Functions

 PresenterPaneContainer (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~PresenterPaneContainer () override
 
 PresenterPaneContainer (const PresenterPaneContainer &)=delete
 
PresenterPaneContaineroperator= (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
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

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.

Member Typedef Documentation

◆ PaneList

Definition at line 94 of file PresenterPaneContainer.hxx.

◆ SharedPaneDescriptor

Definition at line 93 of file PresenterPaneContainer.hxx.

◆ ViewInitializationFunction

typedef ::std::function<void (const css::uno::Reference<css::drawing::framework::XView>&)> sdext::presenter::PresenterPaneContainer::ViewInitializationFunction

Definition at line 64 of file PresenterPaneContainer.hxx.

Constructor & Destructor Documentation

◆ PresenterPaneContainer() [1/2]

sdext::presenter::PresenterPaneContainer::PresenterPaneContainer ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
explicit

◆ ~PresenterPaneContainer()

sdext::presenter::PresenterPaneContainer::~PresenterPaneContainer ( )
overridevirtual

Definition at line 44 of file PresenterPaneContainer.cxx.

◆ PresenterPaneContainer() [2/2]

sdext::presenter::PresenterPaneContainer::PresenterPaneContainer ( const PresenterPaneContainer )
delete

Member Function Documentation

◆ disposing() [1/2]

void SAL_CALL sdext::presenter::PresenterPaneContainer::disposing ( )
overridevirtual

Definition at line 87 of file PresenterPaneContainer.cxx.

◆ disposing() [2/2]

void SAL_CALL sdext::presenter::PresenterPaneContainer::disposing ( const css::lang::EventObject &  rEvent)
overridevirtual

Definition at line 311 of file PresenterPaneContainer.cxx.

◆ FindBorderWindow()

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.

◆ FindContentWindow()

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.

◆ FindPaneId()

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.

◆ FindPaneURL()

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.

◆ FindViewURL()

PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::FindViewURL ( const OUString &  rsViewURL)

Definition at line 270 of file PresenterPaneContainer.cxx.

◆ GetPaneURLForViewURL()

OUString sdext::presenter::PresenterPaneContainer::GetPaneURLForViewURL ( const OUString &  rsViewURL)

Definition at line 280 of file PresenterPaneContainer.cxx.

◆ operator=()

PresenterPaneContainer & sdext::presenter::PresenterPaneContainer::operator= ( const PresenterPaneContainer )
delete

◆ PreparePane()

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.

◆ RemovePane()

PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::RemovePane ( const css::uno::Reference< css::drawing::framework::XResourceId > &  rxPaneId)

Definition at line 185 of file PresenterPaneContainer.cxx.

◆ RemoveView()

PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::RemoveView ( const css::uno::Reference< css::drawing::framework::XView > &  rxView)

Definition at line 202 of file PresenterPaneContainer.cxx.

◆ StoreBorderWindow()

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.

◆ StorePane()

PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::StorePane ( const rtl::Reference< PresenterPaneBase > &  rxPane)

Definition at line 95 of file PresenterPaneContainer.cxx.

◆ StoreView()

PresenterPaneContainer::SharedPaneDescriptor sdext::presenter::PresenterPaneContainer::StoreView ( const css::uno::Reference< css::drawing::framework::XView > &  rxView)

Definition at line 149 of file PresenterPaneContainer.cxx.

◆ ToTop()

void sdext::presenter::PresenterPaneContainer::ToTop ( const SharedPaneDescriptor rpDescriptor)

Definition at line 289 of file PresenterPaneContainer.cxx.

References mxPresenterHelper.

Member Data Documentation

◆ maPanes

PaneList sdext::presenter::PresenterPaneContainer::maPanes

Definition at line 95 of file PresenterPaneContainer.hxx.

◆ mxPresenterHelper

css::uno::Reference<css::drawing::XPresenterHelper> sdext::presenter::PresenterPaneContainer::mxPresenterHelper
private

Definition at line 154 of file PresenterPaneContainer.hxx.


The documentation for this class was generated from the following files: