LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sdext::presenter::PresenterPaneBase Class Referenceabstract

Base class of the panes used by the presenter screen. More...

#include <PresenterPaneBase.hxx>

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

Public Member Functions

 PresenterPaneBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext, ::rtl::Reference< PresenterController > xPresenterController)
 
virtual ~PresenterPaneBase () override
 
 PresenterPaneBase (const PresenterPaneBase &)=delete
 
PresenterPaneBaseoperator= (const PresenterPaneBase &)=delete
 
virtual void SAL_CALL disposing () override
 
const css::uno::Reference< css::awt::XWindow > & GetBorderWindow () const
 
void SetTitle (const OUString &rsTitle)
 
const OUString & GetTitle () const
 
const css::uno::Reference< css::drawing::framework::XPaneBorderPainter > & GetPaneBorderPainter () const
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override
 
virtual css::uno::Reference< css::drawing::framework::XResourceId > SAL_CALL getResourceId () override
 
virtual sal_Bool SAL_CALL isAnchorOnly () override
 
virtual void SAL_CALL windowResized (const css::awt::WindowEvent &rEvent) override
 
virtual void SAL_CALL windowMoved (const css::awt::WindowEvent &rEvent) override
 
virtual void SAL_CALL windowShown (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL windowHidden (const css::lang::EventObject &rEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEvent) override
 

Protected Member Functions

virtual void CreateCanvases (const css::uno::Reference< css::rendering::XSpriteCanvas > &rxParentCanvas)=0
 
void CreateWindows (const bool bIsWindowVisibleOnCreation)
 
void PaintBorder (const css::awt::Rectangle &rUpdateRectangle)
 
void ToTop ()
 
void LayoutContextWindow ()
 
bool IsVisible () const
 
void ThrowIfDisposed ()
 

Protected Attributes

::rtl::Reference< PresenterControllermpPresenterController
 
css::uno::Reference< css::awt::XWindow > mxParentWindow
 
css::uno::Reference< css::awt::XWindow > mxBorderWindow
 
css::uno::Reference< css::rendering::XCanvas > mxBorderCanvas
 
css::uno::Reference< css::awt::XWindow > mxContentWindow
 
css::uno::Reference< css::rendering::XCanvas > mxContentCanvas
 
css::uno::Reference< css::drawing::framework::XResourceId > mxPaneId
 
css::uno::Reference< css::drawing::framework::XPaneBorderPainter > mxBorderPainter
 
css::uno::Reference< css::drawing::XPresenterHelper > mxPresenterHelper
 
OUString msTitle
 
css::uno::Reference< css::uno::XComponentContext > mxComponentContext
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Base class of the panes used by the presenter screen.

Pane objects are stored in the PresenterPaneContainer. Sizes and positions are controlled by the PresenterWindowManager. Interactive positioning and resizing is managed by the PresenterPaneBorderManager. Borders around panes are painted by the PresenterPaneBorderPainter.

Definition at line 52 of file PresenterPaneBase.hxx.

Constructor & Destructor Documentation

◆ PresenterPaneBase() [1/2]

sdext::presenter::PresenterPaneBase::PresenterPaneBase ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
::rtl::Reference< PresenterController xPresenterController 
)

◆ ~PresenterPaneBase()

sdext::presenter::PresenterPaneBase::~PresenterPaneBase ( )
overridevirtual

Definition at line 46 of file PresenterPaneBase.cxx.

◆ PresenterPaneBase() [2/2]

sdext::presenter::PresenterPaneBase::PresenterPaneBase ( const PresenterPaneBase )
delete

Member Function Documentation

◆ CreateCanvases()

virtual void sdext::presenter::PresenterPaneBase::CreateCanvases ( const css::uno::Reference< css::rendering::XSpriteCanvas > &  rxParentCanvas)
protectedpure virtual

◆ CreateWindows()

void sdext::presenter::PresenterPaneBase::CreateWindows ( const bool  bIsWindowVisibleOnCreation)
protected

Definition at line 250 of file PresenterPaneBase.cxx.

References mxPresenterHelper.

◆ disposing() [1/2]

void sdext::presenter::PresenterPaneBase::disposing ( )
overridevirtual

◆ disposing() [2/2]

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

Reimplemented in sdext::presenter::PresenterSpritePane.

Definition at line 241 of file PresenterPaneBase.cxx.

◆ GetBorderWindow()

const Reference< awt::XWindow > & sdext::presenter::PresenterPaneBase::GetBorderWindow ( ) const

Definition at line 270 of file PresenterPaneBase.cxx.

◆ GetPaneBorderPainter()

const Reference< drawing::framework::XPaneBorderPainter > & sdext::presenter::PresenterPaneBase::GetPaneBorderPainter ( ) const

Definition at line 105 of file PresenterPaneBase.cxx.

◆ getResourceId()

Reference< XResourceId > SAL_CALL sdext::presenter::PresenterPaneBase::getResourceId ( )
overridevirtual

Definition at line 206 of file PresenterPaneBase.cxx.

◆ GetTitle()

const OUString & sdext::presenter::PresenterPaneBase::GetTitle ( ) const

Definition at line 99 of file PresenterPaneBase.cxx.

◆ initialize()

void SAL_CALL sdext::presenter::PresenterPaneBase::initialize ( const css::uno::Sequence< css::uno::Any > &  rArguments)
overridevirtual

Definition at line 112 of file PresenterPaneBase.cxx.

References Exception, mxComponentContext, and ToTop.

◆ isAnchorOnly()

sal_Bool SAL_CALL sdext::presenter::PresenterPaneBase::isAnchorOnly ( )
overridevirtual

Definition at line 212 of file PresenterPaneBase.cxx.

◆ IsVisible()

bool sdext::presenter::PresenterPaneBase::IsVisible ( ) const
protected

◆ LayoutContextWindow()

void sdext::presenter::PresenterPaneBase::LayoutContextWindow ( )
protected

◆ operator=()

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

◆ PaintBorder()

void sdext::presenter::PresenterPaneBase::PaintBorder ( const css::awt::Rectangle &  rUpdateRectangle)
protected

◆ SetTitle()

void sdext::presenter::PresenterPaneBase::SetTitle ( const OUString &  rsTitle)

Definition at line 89 of file PresenterPaneBase.cxx.

◆ ThrowIfDisposed()

void sdext::presenter::PresenterPaneBase::ThrowIfDisposed ( )
protected

◆ ToTop()

void sdext::presenter::PresenterPaneBase::ToTop ( )
protected

◆ windowHidden()

void SAL_CALL sdext::presenter::PresenterPaneBase::windowHidden ( const css::lang::EventObject &  rEvent)
overridevirtual

◆ windowMoved()

void SAL_CALL sdext::presenter::PresenterPaneBase::windowMoved ( const css::awt::WindowEvent &  rEvent)
overridevirtual

◆ windowResized()

void SAL_CALL sdext::presenter::PresenterPaneBase::windowResized ( const css::awt::WindowEvent &  rEvent)
overridevirtual

◆ windowShown()

void SAL_CALL sdext::presenter::PresenterPaneBase::windowShown ( const css::lang::EventObject &  rEvent)
overridevirtual

Member Data Documentation

◆ mpPresenterController

::rtl::Reference<PresenterController> sdext::presenter::PresenterPaneBase::mpPresenterController
protected

Definition at line 96 of file PresenterPaneBase.hxx.

Referenced by sdext::presenter::PresenterPane::Invalidate().

◆ msTitle

OUString sdext::presenter::PresenterPaneBase::msTitle
protected

Definition at line 105 of file PresenterPaneBase.hxx.

◆ mxBorderCanvas

css::uno::Reference<css::rendering::XCanvas> sdext::presenter::PresenterPaneBase::mxBorderCanvas
protected

◆ mxBorderPainter

css::uno::Reference<css::drawing::framework::XPaneBorderPainter> sdext::presenter::PresenterPaneBase::mxBorderPainter
protected

Definition at line 103 of file PresenterPaneBase.hxx.

◆ mxBorderWindow

css::uno::Reference<css::awt::XWindow> sdext::presenter::PresenterPaneBase::mxBorderWindow
protected

◆ mxComponentContext

css::uno::Reference<css::uno::XComponentContext> sdext::presenter::PresenterPaneBase::mxComponentContext
protected

◆ mxContentCanvas

css::uno::Reference<css::rendering::XCanvas> sdext::presenter::PresenterPaneBase::mxContentCanvas
protected

◆ mxContentWindow

css::uno::Reference<css::awt::XWindow> sdext::presenter::PresenterPaneBase::mxContentWindow
protected

◆ mxPaneId

css::uno::Reference<css::drawing::framework::XResourceId> sdext::presenter::PresenterPaneBase::mxPaneId
protected

Definition at line 102 of file PresenterPaneBase.hxx.

◆ mxParentWindow

css::uno::Reference<css::awt::XWindow> sdext::presenter::PresenterPaneBase::mxParentWindow
protected

◆ mxPresenterHelper

css::uno::Reference<css::drawing::XPresenterHelper> sdext::presenter::PresenterPaneBase::mxPresenterHelper
protected

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