LibreOffice Module sdext (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, const ::rtl::Reference< PresenterController > &rpPresenterController)
 
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

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

Definition at line 54 of file PresenterPaneBase.cxx.

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

Member Function Documentation

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

Definition at line 258 of file PresenterPaneBase.cxx.

References mxBorderWindow, mxContentWindow, mxParentWindow, and mxPresenterHelper.

Referenced by initialize().

void sdext::presenter::PresenterPaneBase::disposing ( )
overridevirtual
virtual void SAL_CALL sdext::presenter::PresenterPaneBase::disposing ( const css::lang::EventObject &  rEvent)
overridevirtual
const Reference< awt::XWindow > & sdext::presenter::PresenterPaneBase::GetBorderWindow ( ) const

Definition at line 278 of file PresenterPaneBase.cxx.

References mxBorderWindow.

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

Definition at line 113 of file PresenterPaneBase.cxx.

References mxBorderPainter.

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

Definition at line 214 of file PresenterPaneBase.cxx.

References mxPaneId, and ThrowIfDisposed().

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

Definition at line 107 of file PresenterPaneBase.cxx.

References msTitle.

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

Definition at line 220 of file PresenterPaneBase.cxx.

bool sdext::presenter::PresenterPaneBase::IsVisible ( ) const
protected
void sdext::presenter::PresenterPaneBase::LayoutContextWindow ( )
protected
PresenterPaneBase& sdext::presenter::PresenterPaneBase::operator= ( const PresenterPaneBase )
delete
void sdext::presenter::PresenterPaneBase::PaintBorder ( const css::awt::Rectangle &  rUpdateRectangle)
protected
void sdext::presenter::PresenterPaneBase::SetTitle ( const OUString &  rsTitle)

Definition at line 97 of file PresenterPaneBase.cxx.

References mpPresenterController, msTitle, and mxBorderWindow.

void sdext::presenter::PresenterPaneBase::ThrowIfDisposed ( )
protected
void sdext::presenter::PresenterPaneBase::ToTop ( )
protected
void SAL_CALL sdext::presenter::PresenterPaneBase::windowHidden ( const css::lang::EventObject &  rEvent)
overridevirtual
void SAL_CALL sdext::presenter::PresenterPaneBase::windowMoved ( const css::awt::WindowEvent &  rEvent)
overridevirtual
void SAL_CALL sdext::presenter::PresenterPaneBase::windowResized ( const css::awt::WindowEvent &  rEvent)
overridevirtual
void SAL_CALL sdext::presenter::PresenterPaneBase::windowShown ( const css::lang::EventObject &  rEvent)
overridevirtual

Member Data Documentation

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

Definition at line 96 of file PresenterPaneBase.hxx.

Referenced by sdext::presenter::PresenterPane::Invalidate(), and SetTitle().

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

Definition at line 105 of file PresenterPaneBase.hxx.

Referenced by GetTitle(), initialize(), PaintBorder(), and SetTitle().

css::uno::Reference<css::rendering::XCanvas> sdext::presenter::PresenterPaneBase::mxBorderCanvas
protected
css::uno::Reference<css::drawing::framework::XPaneBorderPainter> sdext::presenter::PresenterPaneBase::mxBorderPainter
protected
css::uno::Reference<css::awt::XWindow> sdext::presenter::PresenterPaneBase::mxBorderWindow
protected
css::uno::Reference<css::uno::XComponentContext> sdext::presenter::PresenterPaneBase::mxComponentContext
protected
css::uno::Reference<css::rendering::XCanvas> sdext::presenter::PresenterPaneBase::mxContentCanvas
protected
css::uno::Reference<css::awt::XWindow> sdext::presenter::PresenterPaneBase::mxContentWindow
protected
css::uno::Reference<css::drawing::framework::XResourceId> sdext::presenter::PresenterPaneBase::mxPaneId
protected

Definition at line 102 of file PresenterPaneBase.hxx.

Referenced by getResourceId(), initialize(), LayoutContextWindow(), and PaintBorder().

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

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