20 #ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERHELPVIEW_HXX
21 #define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERHELPVIEW_HXX
26 #include <com/sun/star/awt/XPaintListener.hpp>
27 #include <com/sun/star/awt/XWindowListener.hpp>
28 #include <com/sun/star/drawing/framework/XView.hpp>
29 #include <com/sun/star/drawing/framework/XResourceId.hpp>
30 #include <com/sun/star/frame/XController.hpp>
37 typedef cppu::WeakComponentImplHelper<
38 css::drawing::framework::XView,
39 css::awt::XWindowListener,
40 css::awt::XPaintListener
47 public PresenterHelpViewInterfaceBase
51 const css::uno::Reference<css::uno::XComponentContext>& rxContext,
52 const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId,
53 const css::uno::Reference<css::frame::XController>& rxController,
54 const ::rtl::Reference<PresenterController>& rpPresenterController);
57 virtual void SAL_CALL
disposing()
override;
62 disposing (
const css::lang::EventObject& rEventObject)
override;
66 virtual void SAL_CALL
windowResized (
const css::awt::WindowEvent& rEvent)
override;
68 virtual void SAL_CALL
windowMoved (
const css::awt::WindowEvent& rEvent)
override;
70 virtual void SAL_CALL
windowShown (
const css::lang::EventObject& rEvent)
override;
72 virtual void SAL_CALL
windowHidden (
const css::lang::EventObject& rEvent)
override;
76 virtual void SAL_CALL
windowPaint (
const css::awt::PaintEvent& rEvent)
override;
80 virtual css::uno::Reference<css::drawing::framework::XResourceId> SAL_CALL
getResourceId()
override;
88 css::uno::Reference<css::drawing::framework::XResourceId>
mxViewId;
89 css::uno::Reference<css::drawing::framework::XPane>
mxPane;
90 css::uno::Reference<css::awt::XWindow>
mxWindow;
91 css::uno::Reference<css::rendering::XCanvas>
mxCanvas;
101 void Paint (
const css::awt::Rectangle& rRedrawArea);
104 const css::uno::Reference<css::beans::XPropertySet>& rsProperties);
virtual css::uno::Reference< css::drawing::framework::XResourceId > SAL_CALL getResourceId() override
std::shared_ptr< FontDescriptor > SharedFontDescriptor
css::uno::Reference< css::drawing::framework::XResourceId > mxViewId
cppu::WeakComponentImplHelper< css::drawing::framework::XView, css::awt::XWindowListener, css::awt::XPaintListener > PresenterHelpViewInterfaceBase
css::uno::Reference< css::awt::XWindow > mxWindow
css::uno::Reference< css::drawing::framework::XPane > mxPane
void Paint(const css::awt::Rectangle &rRedrawArea)
void CheckFontSize()
Find a font size, so that all text can be displayed at the same time.
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 void SAL_CALL windowShown(const css::lang::EventObject &rEvent) override
virtual ~PresenterHelpView() override
css::uno::Reference< css::rendering::XCanvas > mxCanvas
std::unique_ptr< TextContainer > mpTextContainer
virtual sal_Bool SAL_CALL isAnchorOnly() override
Show help text that describes the defined keys.
virtual void SAL_CALL windowPaint(const css::awt::PaintEvent &rEvent) override
void ProcessString(const css::uno::Reference< css::beans::XPropertySet > &rsProperties)
::rtl::Reference< PresenterButton > mpCloseButton
virtual void SAL_CALL disposing() override
virtual void SAL_CALL windowResized(const css::awt::WindowEvent &rEvent) override
PresenterTheme::SharedFontDescriptor mpFont
::rtl::Reference< PresenterController > mpPresenterController
virtual void SAL_CALL windowHidden(const css::lang::EventObject &rEvent) override
virtual void SAL_CALL windowMoved(const css::awt::WindowEvent &rEvent) override
css::uno::Reference< css::uno::XComponentContext > mxComponentContext