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

Show help text that describes the defined keys. More...

#include <PresenterHelpView.hxx>

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

Classes

class  TextContainer
 

Public Member Functions

 PresenterHelpView (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::drawing::framework::XResourceId > &rxViewId, const css::uno::Reference< css::frame::XController > &rxController, ::rtl::Reference< PresenterController > xPresenterController)
 
virtual ~PresenterHelpView () override
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEventObject) 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
 
virtual css::uno::Reference< css::drawing::framework::XResourceId > SAL_CALL getResourceId () override
 
virtual sal_Bool SAL_CALL isAnchorOnly () override
 

Private Member Functions

void ProvideCanvas ()
 
void Resize ()
 
void Paint (const css::awt::Rectangle &rRedrawArea)
 
void ReadHelpStrings ()
 
void ProcessString (const css::uno::Reference< css::beans::XPropertySet > &rsProperties)
 
void CheckFontSize ()
 Find a font size, so that all text can be displayed at the same time. More...
 
void ThrowIfDisposed ()
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > mxComponentContext
 
css::uno::Reference< css::drawing::framework::XResourceId > mxViewId
 
css::uno::Reference< css::drawing::framework::XPane > mxPane
 
css::uno::Reference< css::awt::XWindow > mxWindow
 
css::uno::Reference< css::rendering::XCanvas > mxCanvas
 
::rtl::Reference< PresenterControllermpPresenterController
 
PresenterTheme::SharedFontDescriptor mpFont
 
std::unique_ptr< TextContainermpTextContainer
 
::rtl::Reference< PresenterButtonmpCloseButton
 
sal_Int32 mnSeparatorY
 
sal_Int32 mnMaximalWidth
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Show help text that describes the defined keys.

Definition at line 45 of file PresenterHelpView.hxx.

Constructor & Destructor Documentation

◆ PresenterHelpView()

sdext::presenter::PresenterHelpView::PresenterHelpView ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::drawing::framework::XResourceId > &  rxViewId,
const css::uno::Reference< css::frame::XController > &  rxController,
::rtl::Reference< PresenterController xPresenterController 
)
explicit

◆ ~PresenterHelpView()

sdext::presenter::PresenterHelpView::~PresenterHelpView ( )
overridevirtual

Definition at line 180 of file PresenterHelpView.cxx.

Member Function Documentation

◆ CheckFontSize()

void sdext::presenter::PresenterHelpView::CheckFontSize ( )
private

Find a font size, so that all text can be displayed at the same time.

Definition at line 371 of file PresenterHelpView.cxx.

References sdext::presenter::gnVerticalBorder(), mnMaximalWidth, mnSeparatorY, mnSize, mpFont, mpTextContainer, and mxCanvas.

Referenced by Resize().

◆ disposing() [1/2]

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

Definition at line 184 of file PresenterHelpView.cxx.

References mpCloseButton, mxViewId, and mxWindow.

◆ disposing() [2/2]

virtual void SAL_CALL sdext::presenter::PresenterHelpView::disposing ( const css::lang::EventObject &  rEventObject)
overridevirtual

◆ getResourceId()

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

Definition at line 432 of file PresenterHelpView.cxx.

References mxViewId, and ThrowIfDisposed().

◆ isAnchorOnly()

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

Definition at line 438 of file PresenterHelpView.cxx.

◆ Paint()

void sdext::presenter::PresenterHelpView::Paint ( const css::awt::Rectangle &  rRedrawArea)
private

◆ ProcessString()

void sdext::presenter::PresenterHelpView::ProcessString ( const css::uno::Reference< css::beans::XPropertySet > &  rsProperties)
private

◆ ProvideCanvas()

void sdext::presenter::PresenterHelpView::ProvideCanvas ( )
private

Definition at line 444 of file PresenterHelpView.cxx.

References mpCloseButton, mxCanvas, mxPane, and mxWindow.

Referenced by Paint(), and PresenterHelpView().

◆ ReadHelpStrings()

void sdext::presenter::PresenterHelpView::ReadHelpStrings ( )
private

◆ Resize()

void sdext::presenter::PresenterHelpView::Resize ( )
private

◆ ThrowIfDisposed()

void sdext::presenter::PresenterHelpView::ThrowIfDisposed ( )
private
Exceptions
css::lang::DisposedExceptionwhen the object has already been disposed.

Definition at line 479 of file PresenterHelpView.cxx.

Referenced by getResourceId(), windowHidden(), windowMoved(), windowResized(), and windowShown().

◆ windowHidden()

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

Definition at line 237 of file PresenterHelpView.cxx.

References ThrowIfDisposed().

◆ windowMoved()

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

Definition at line 226 of file PresenterHelpView.cxx.

References ThrowIfDisposed().

◆ windowPaint()

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

Definition at line 244 of file PresenterHelpView.cxx.

References Paint().

◆ windowResized()

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

Definition at line 220 of file PresenterHelpView.cxx.

References Resize(), and ThrowIfDisposed().

◆ windowShown()

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

Definition at line 231 of file PresenterHelpView.cxx.

References Resize(), and ThrowIfDisposed().

Member Data Documentation

◆ mnMaximalWidth

sal_Int32 sdext::presenter::PresenterHelpView::mnMaximalWidth
private

Definition at line 97 of file PresenterHelpView.hxx.

Referenced by CheckFontSize(), ProcessString(), and Resize().

◆ mnSeparatorY

sal_Int32 sdext::presenter::PresenterHelpView::mnSeparatorY
private

Definition at line 96 of file PresenterHelpView.hxx.

Referenced by CheckFontSize(), Paint(), and Resize().

◆ mpCloseButton

::rtl::Reference<PresenterButton> sdext::presenter::PresenterHelpView::mpCloseButton
private

Definition at line 95 of file PresenterHelpView.hxx.

Referenced by disposing(), PresenterHelpView(), ProvideCanvas(), and Resize().

◆ mpFont

PresenterTheme::SharedFontDescriptor sdext::presenter::PresenterHelpView::mpFont
private

Definition at line 93 of file PresenterHelpView.hxx.

Referenced by CheckFontSize(), Paint(), PresenterHelpView(), and ProcessString().

◆ mpPresenterController

::rtl::Reference<PresenterController> sdext::presenter::PresenterHelpView::mpPresenterController
private

Definition at line 92 of file PresenterHelpView.hxx.

Referenced by Paint(), and PresenterHelpView().

◆ mpTextContainer

std::unique_ptr<TextContainer> sdext::presenter::PresenterHelpView::mpTextContainer
private

Definition at line 94 of file PresenterHelpView.hxx.

Referenced by CheckFontSize(), Paint(), ProcessString(), and ReadHelpStrings().

◆ mxCanvas

css::uno::Reference<css::rendering::XCanvas> sdext::presenter::PresenterHelpView::mxCanvas
private

Definition at line 91 of file PresenterHelpView.hxx.

Referenced by CheckFontSize(), Paint(), PresenterHelpView(), and ProvideCanvas().

◆ mxComponentContext

css::uno::Reference<css::uno::XComponentContext> sdext::presenter::PresenterHelpView::mxComponentContext
private

Definition at line 87 of file PresenterHelpView.hxx.

Referenced by PresenterHelpView(), and ReadHelpStrings().

◆ mxPane

css::uno::Reference<css::drawing::framework::XPane> sdext::presenter::PresenterHelpView::mxPane
private

Definition at line 89 of file PresenterHelpView.hxx.

Referenced by PresenterHelpView(), and ProvideCanvas().

◆ mxViewId

css::uno::Reference<css::drawing::framework::XResourceId> sdext::presenter::PresenterHelpView::mxViewId
private

Definition at line 88 of file PresenterHelpView.hxx.

Referenced by disposing(), getResourceId(), Paint(), and PresenterHelpView().

◆ mxWindow

css::uno::Reference<css::awt::XWindow> sdext::presenter::PresenterHelpView::mxWindow
private

Definition at line 90 of file PresenterHelpView.hxx.

Referenced by disposing(), Paint(), PresenterHelpView(), ProvideCanvas(), and Resize().


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