LibreOffice Module framework (master) 1
|
#include <genericstatusbarcontroller.hxx>
Public Member Functions | |
GenericStatusbarController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &rFrame, const css::uno::Reference< css::ui::XStatusbarItem > &rxItem, AddonStatusbarItemData *pItemData) | |
virtual | ~GenericStatusbarController () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual void SAL_CALL | paint (const css::uno::Reference< css::awt::XGraphics > &xGraphics, const css::awt::Rectangle &rOutputRectangle, ::sal_Int32 nStyle) override |
Public Member Functions inherited from svt::StatusbarController | |
StatusbarController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, OUString aCommandURL, unsigned short nID) | |
StatusbarController () | |
virtual | ~StatusbarController () override |
css::uno::Reference< css::frame::XFrame > | getFrameInterface () const |
css::uno::Reference< css::util::XURLTransformer > | getURLTransformer () const |
::tools::Rectangle | getControlRect () const |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual void SAL_CALL | update () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual sal_Bool SAL_CALL | mouseButtonDown (const css::awt::MouseEvent &aMouseEvent) override |
virtual sal_Bool SAL_CALL | mouseMove (const css::awt::MouseEvent &aMouseEvent) override |
virtual sal_Bool SAL_CALL | mouseButtonUp (const css::awt::MouseEvent &aMouseEvent) override |
virtual void SAL_CALL | command (const css::awt::Point &aPos, ::sal_Int32 nCommand, sal_Bool bMouseEvent, const css::uno::Any &aData) override |
virtual void SAL_CALL | paint (const css::uno::Reference< css::awt::XGraphics > &xGraphics, const css::awt::Rectangle &rOutputRectangle, ::sal_Int32 nStyle) override |
virtual void SAL_CALL | click (const css::awt::Point &aPos) override |
virtual void SAL_CALL | doubleClick (const css::awt::Point &aPos) override |
Private Attributes | |
bool | m_bEnabled |
bool | m_bOwnerDraw |
AddonStatusbarItemData * | m_pItemData |
css::uno::Reference< css::graphic::XGraphic > | m_xGraphic |
Additional Inherited Members | |
Protected Types inherited from svt::StatusbarController | |
typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch > > | URLToDispatchMap |
Protected Member Functions inherited from svt::StatusbarController | |
void | addStatusListener (const OUString &aCommandURL) |
void | bindListener () |
void | execute (const css::uno::Sequence< css::beans::PropertyValue > &aArgs) |
void | execute (const OUString &aCommand, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) |
Protected Attributes inherited from svt::StatusbarController | |
bool | m_bInitialized |
bool | m_bDisposed |
unsigned short | m_nID |
css::uno::Reference< css::frame::XFrame > | m_xFrame |
css::uno::Reference< css::awt::XWindow > | m_xParentWindow |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
OUString | m_aCommandURL |
URLToDispatchMap | m_aListenerMap |
comphelper::OMultiTypeInterfaceContainerHelper2 | m_aListenerContainer |
css::uno::Reference< css::util::XURLTransformer > | m_xURLTransformer |
css::uno::Reference< css::ui::XStatusbarItem > | m_xStatusbarItem |
Definition at line 30 of file genericstatusbarcontroller.hxx.
framework::GenericStatusbarController::GenericStatusbarController | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
const css::uno::Reference< css::frame::XFrame > & | rFrame, | ||
const css::uno::Reference< css::ui::XStatusbarItem > & | rxItem, | ||
AddonStatusbarItemData * | pItemData | ||
) |
Definition at line 42 of file genericstatusbarcontroller.cxx.
References framework::AddonStatusbarItemData::aLabel, svt::StatusbarController::m_aCommandURL, m_bOwnerDraw, svt::StatusbarController::m_nID, m_pItemData, and svt::StatusbarController::m_xStatusbarItem.
|
overridevirtual |
Definition at line 64 of file genericstatusbarcontroller.cxx.
|
overridevirtual |
Reimplemented from svt::StatusbarController.
Definition at line 68 of file genericstatusbarcontroller.cxx.
References svt::StatusbarController::dispose(), m_pItemData, m_xGraphic, and svt::StatusbarController::m_xStatusbarItem.
|
overridevirtual |
Reimplemented from svt::StatusbarController.
Definition at line 117 of file genericstatusbarcontroller.cxx.
References m_bEnabled, m_xGraphic, and svt::StatusbarController::m_xStatusbarItem.
|
overridevirtual |
Reimplemented from svt::StatusbarController.
Definition at line 79 of file genericstatusbarcontroller.cxx.
References svt::StatusbarController::m_bDisposed, m_bEnabled, m_bOwnerDraw, m_xGraphic, and svt::StatusbarController::m_xStatusbarItem.
|
private |
Definition at line 49 of file genericstatusbarcontroller.hxx.
Referenced by paint(), and statusChanged().
|
private |
Definition at line 50 of file genericstatusbarcontroller.hxx.
Referenced by GenericStatusbarController(), and statusChanged().
|
private |
Definition at line 51 of file genericstatusbarcontroller.hxx.
Referenced by dispose(), and GenericStatusbarController().
|
private |
Definition at line 52 of file genericstatusbarcontroller.hxx.
Referenced by dispose(), paint(), and statusChanged().