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

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,
const ::rtl::Reference< PresenterController > &  rpPresenterController 
)
explicit
sdext::presenter::PresenterHelpView::~PresenterHelpView ( )
overridevirtual

Definition at line 184 of file PresenterHelpView.cxx.

Member Function Documentation

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

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

Definition at line 376 of file PresenterHelpView.cxx.

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

Referenced by Resize().

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

Definition at line 188 of file PresenterHelpView.cxx.

References mpCloseButton, mxViewId, mxWindow, and xComponent.

virtual void SAL_CALL sdext::presenter::PresenterHelpView::disposing ( const css::lang::EventObject &  rEventObject)
overridevirtual
Reference< XResourceId > SAL_CALL sdext::presenter::PresenterHelpView::getResourceId ( )
overridevirtual

Definition at line 437 of file PresenterHelpView.cxx.

References mxViewId, and ThrowIfDisposed().

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

Definition at line 443 of file PresenterHelpView.cxx.

void sdext::presenter::PresenterHelpView::Paint ( const css::awt::Rectangle &  rRedrawArea)
private
void sdext::presenter::PresenterHelpView::ProcessString ( const css::uno::Reference< css::beans::XPropertySet > &  rsProperties)
private
void sdext::presenter::PresenterHelpView::ProvideCanvas ( )
private

Definition at line 449 of file PresenterHelpView.cxx.

References mpCloseButton, mxCanvas, mxPane, mxWindow, and xComponent.

Referenced by Paint(), and PresenterHelpView().

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

Definition at line 484 of file PresenterHelpView.cxx.

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

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

Definition at line 242 of file PresenterHelpView.cxx.

References ThrowIfDisposed().

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

Definition at line 231 of file PresenterHelpView.cxx.

References ThrowIfDisposed().

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

Definition at line 249 of file PresenterHelpView.cxx.

References Paint().

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

Definition at line 225 of file PresenterHelpView.cxx.

References Resize(), and ThrowIfDisposed().

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

Definition at line 236 of file PresenterHelpView.cxx.

References Resize(), and ThrowIfDisposed().

Member Data Documentation

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

Definition at line 97 of file PresenterHelpView.hxx.

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

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

Definition at line 96 of file PresenterHelpView.hxx.

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

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

Definition at line 95 of file PresenterHelpView.hxx.

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

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

Definition at line 93 of file PresenterHelpView.hxx.

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

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

Definition at line 92 of file PresenterHelpView.hxx.

Referenced by Paint(), and PresenterHelpView().

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

Definition at line 94 of file PresenterHelpView.hxx.

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

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().

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

Definition at line 85 of file PresenterHelpView.hxx.

Referenced by PresenterHelpView(), and ReadHelpStrings().

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().

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().

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: