LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::framework::PresentationFactory Class Referencefinal

This factory creates a marker view whose existence in a configuration indicates that a slideshow is running (in another but associated application window). More...

#include <PresentationFactory.hxx>

Inheritance diagram for sd::framework::PresentationFactory:
[legend]
Collaboration diagram for sd::framework::PresentationFactory:
[legend]

Public Member Functions

 PresentationFactory (const rtl::Reference<::sd::DrawController > &rxController)
 
virtual ~PresentationFactory () override
 
virtual css::uno::Reference< css::drawing::framework::XResource > SAL_CALL createResource (const css::uno::Reference< css::drawing::framework::XResourceId > &rxViewId) override
 
virtual void SAL_CALL releaseResource (const css::uno::Reference< css::drawing::framework::XResource > &xView) override
 
virtual void SAL_CALL notifyConfigurationChange (const css::drawing::framework::ConfigurationChangeEvent &rEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEventObject) override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
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
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
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 > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Static Public Member Functions

static void install (const rtl::Reference<::sd::DrawController > &rxController)
 

Private Member Functions

void ThrowIfDisposed () const
 

Private Attributes

rtl::Reference<::sd::DrawControllermxController
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

This factory creates a marker view whose existence in a configuration indicates that a slideshow is running (in another but associated application window).

Definition at line 41 of file PresentationFactory.hxx.

Constructor & Destructor Documentation

◆ PresentationFactory()

sd::framework::PresentationFactory::PresentationFactory ( const rtl::Reference<::sd::DrawController > &  rxController)

Definition at line 73 of file PresentationFactory.cxx.

Referenced by install().

◆ ~PresentationFactory()

sd::framework::PresentationFactory::~PresentationFactory ( )
overridevirtual

Definition at line 79 of file PresentationFactory.cxx.

Member Function Documentation

◆ createResource()

Reference< XResource > SAL_CALL sd::framework::PresentationFactory::createResource ( const css::uno::Reference< css::drawing::framework::XResourceId > &  rxViewId)
overridevirtual

◆ disposing()

void SAL_CALL sd::framework::PresentationFactory::disposing ( const css::lang::EventObject &  rEventObject)
overridevirtual

Definition at line 118 of file PresentationFactory.cxx.

◆ install()

void sd::framework::PresentationFactory::install ( const rtl::Reference<::sd::DrawController > &  rxController)
static

◆ notifyConfigurationChange()

void SAL_CALL sd::framework::PresentationFactory::notifyConfigurationChange ( const css::drawing::framework::ConfigurationChangeEvent &  rEvent)
overridevirtual

Definition at line 112 of file PresentationFactory.cxx.

◆ releaseResource()

void SAL_CALL sd::framework::PresentationFactory::releaseResource ( const css::uno::Reference< css::drawing::framework::XResource > &  xView)
overridevirtual

Definition at line 97 of file PresentationFactory.cxx.

References mxController, sd::SlideShow::Stop(), and ThrowIfDisposed().

◆ ThrowIfDisposed()

void sd::framework::PresentationFactory::ThrowIfDisposed ( ) const
private
Exceptions
css::lang::DisposedException

Definition at line 122 of file PresentationFactory.cxx.

References comphelper::UnoImplBase::m_bDisposed.

Referenced by createResource(), and releaseResource().

Member Data Documentation

◆ mxController

rtl::Reference<::sd::DrawController> sd::framework::PresentationFactory::mxController
private

Definition at line 73 of file PresentationFactory.hxx.

Referenced by releaseResource().


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