LibreOffice Module sd (master) 1
|
Show help text that describes the defined keys. More...
#include <PresenterHelpView.hxx>
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 rtl::Reference<::sd::DrawController > &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< PresenterController > | mpPresenterController |
PresenterTheme::SharedFontDescriptor | mpFont |
std::unique_ptr< TextContainer > | mpTextContainer |
::rtl::Reference< PresenterButton > | mpCloseButton |
sal_Int32 | mnSeparatorY |
sal_Int32 | mnMaximalWidth |
![]() | |
mutable::osl::Mutex | m_aMutex |
Show help text that describes the defined keys.
Definition at line 45 of file PresenterHelpView.hxx.
|
explicit |
Definition at line 121 of file PresenterHelpView.cxx.
References sdext::presenter::PresenterButton::Create(), m_aMutex, mpCloseButton, mpFont, mpPresenterController, mxCanvas, mxComponentContext, mxPane, mxViewId, mxWindow, ProvideCanvas(), ReadHelpStrings(), and Resize().
|
overridevirtual |
Definition at line 179 of file PresenterHelpView.cxx.
|
private |
Find a font size, so that all text can be displayed at the same time.
Definition at line 370 of file PresenterHelpView.cxx.
References sdext::presenter::gnVerticalBorder(), mnMaximalWidth, mnSeparatorY, mnSize, mpFont, mpTextContainer, and mxCanvas.
Referenced by Resize().
|
overridevirtual |
Definition at line 183 of file PresenterHelpView.cxx.
References mpCloseButton, mxViewId, and mxWindow.
|
overridevirtual |
|
overridevirtual |
Definition at line 431 of file PresenterHelpView.cxx.
References mxViewId, and ThrowIfDisposed().
|
overridevirtual |
Definition at line 437 of file PresenterHelpView.cxx.
|
private |
Definition at line 248 of file PresenterHelpView.cxx.
References sdext::presenter::PresenterGeometryHelper::CreatePolygon(), AllSettings::GetLayoutRTL(), sdext::presenter::gnVerticalBorder(), mnSeparatorY, mpFont, mpPresenterController, mpTextContainer, mxCanvas, mxViewId, mxWindow, ProvideCanvas(), and sdext::presenter::PresenterCanvasHelper::SetDeviceColor().
Referenced by windowPaint().
|
private |
Definition at line 355 of file PresenterHelpView.cxx.
References sdext::presenter::PresenterConfigurationAccess::GetProperty(), mnMaximalWidth, mpFont, and mpTextContainer.
Referenced by ReadHelpStrings().
|
private |
Definition at line 443 of file PresenterHelpView.cxx.
References mpCloseButton, mxCanvas, mxPane, and mxWindow.
Referenced by Paint(), and PresenterHelpView().
|
private |
Definition at line 337 of file PresenterHelpView.cxx.
References sdext::presenter::PresenterConfigurationAccess::ForAll(), sdext::presenter::PresenterConfigurationAccess::GetConfigurationNode(), mpTextContainer, mxComponentContext, ProcessString(), and sdext::presenter::PresenterConfigurationAccess::READ_ONLY.
Referenced by PresenterHelpView().
|
private |
Definition at line 459 of file PresenterHelpView.cxx.
References CheckFontSize(), mnMaximalWidth, mnSeparatorY, mpCloseButton, and mxWindow.
Referenced by PresenterHelpView(), windowResized(), and windowShown().
|
private |
css::lang::DisposedException | when the object has already been disposed. |
Definition at line 478 of file PresenterHelpView.cxx.
Referenced by getResourceId(), windowHidden(), windowMoved(), windowResized(), and windowShown().
|
overridevirtual |
Definition at line 236 of file PresenterHelpView.cxx.
References ThrowIfDisposed().
|
overridevirtual |
Definition at line 225 of file PresenterHelpView.cxx.
References ThrowIfDisposed().
|
overridevirtual |
Definition at line 243 of file PresenterHelpView.cxx.
References Paint().
|
overridevirtual |
Definition at line 219 of file PresenterHelpView.cxx.
References Resize(), and ThrowIfDisposed().
|
overridevirtual |
Definition at line 230 of file PresenterHelpView.cxx.
References Resize(), and ThrowIfDisposed().
|
private |
Definition at line 97 of file PresenterHelpView.hxx.
Referenced by CheckFontSize(), ProcessString(), and Resize().
|
private |
Definition at line 96 of file PresenterHelpView.hxx.
Referenced by CheckFontSize(), Paint(), and Resize().
|
private |
Definition at line 95 of file PresenterHelpView.hxx.
Referenced by disposing(), PresenterHelpView(), ProvideCanvas(), and Resize().
|
private |
Definition at line 93 of file PresenterHelpView.hxx.
Referenced by CheckFontSize(), Paint(), PresenterHelpView(), and ProcessString().
|
private |
Definition at line 92 of file PresenterHelpView.hxx.
Referenced by Paint(), and PresenterHelpView().
|
private |
Definition at line 94 of file PresenterHelpView.hxx.
Referenced by CheckFontSize(), Paint(), ProcessString(), and ReadHelpStrings().
|
private |
Definition at line 91 of file PresenterHelpView.hxx.
Referenced by CheckFontSize(), Paint(), PresenterHelpView(), and ProvideCanvas().
|
private |
Definition at line 87 of file PresenterHelpView.hxx.
Referenced by PresenterHelpView(), and ReadHelpStrings().
|
private |
Definition at line 89 of file PresenterHelpView.hxx.
Referenced by PresenterHelpView(), and ProvideCanvas().
|
private |
Definition at line 88 of file PresenterHelpView.hxx.
Referenced by disposing(), getResourceId(), Paint(), and PresenterHelpView().
|
private |
Definition at line 90 of file PresenterHelpView.hxx.
Referenced by disposing(), Paint(), PresenterHelpView(), ProvideCanvas(), and Resize().