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

Pane used by the presenter screen. More...

#include <PresenterPane.hxx>

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

Public Member Functions

 PresenterPane (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const ::rtl::Reference< PresenterController > &rpPresenterController)
 
virtual ~PresenterPane () override
 
css::uno::Reference< css::awt::XWindow > SAL_CALL getWindow () override
 
css::uno::Reference< css::rendering::XCanvas > SAL_CALL getCanvas () 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 windowPaint (const css::awt::PaintEvent &rEvent) override
 
- Public Member Functions inherited from sdext::presenter::PresenterPaneBase
 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
 

Private Member Functions

virtual void CreateCanvases (const css::uno::Reference< css::rendering::XSpriteCanvas > &rxParentCanvas) override
 
void Invalidate (const css::awt::Rectangle &rRepaintBox)
 
void UpdateBoundingBox ()
 

Private Attributes

css::awt::Rectangle maBoundingBox
 Store the bounding box so that when the window is resized or moved we still know the old position and size. More...
 

Additional Inherited Members

- Protected Member Functions inherited from sdext::presenter::PresenterPaneBase
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 inherited from sdext::presenter::PresenterPaneBase
::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

Pane 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 36 of file PresenterPane.hxx.

Constructor & Destructor Documentation

◆ PresenterPane()

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

◆ ~PresenterPane()

sdext::presenter::PresenterPane::~PresenterPane ( )
overridevirtual

Definition at line 47 of file PresenterPane.cxx.

Member Function Documentation

◆ CreateCanvases()

void sdext::presenter::PresenterPane::CreateCanvases ( const css::uno::Reference< css::rendering::XSpriteCanvas > &  rxParentCanvas)
overrideprivatevirtual

◆ getCanvas()

Reference< rendering::XCanvas > SAL_CALL sdext::presenter::PresenterPane::getCanvas ( )
override

◆ getWindow()

Reference< awt::XWindow > SAL_CALL sdext::presenter::PresenterPane::getWindow ( )
override

◆ Invalidate()

void sdext::presenter::PresenterPane::Invalidate ( const css::awt::Rectangle &  rRepaintBox)
private

◆ UpdateBoundingBox()

void sdext::presenter::PresenterPane::UpdateBoundingBox ( )
private

◆ windowHidden()

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

◆ windowMoved()

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

◆ windowPaint()

void SAL_CALL sdext::presenter::PresenterPane::windowPaint ( const css::awt::PaintEvent &  rEvent)
overridevirtual

◆ windowResized()

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

◆ windowShown()

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

Member Data Documentation

◆ maBoundingBox

css::awt::Rectangle sdext::presenter::PresenterPane::maBoundingBox
private

Store the bounding box so that when the window is resized or moved we still know the old position and size.

Definition at line 67 of file PresenterPane.hxx.

Referenced by UpdateBoundingBox(), windowMoved(), windowResized(), and windowShown().


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