LibreOffice Module sfx2 (master) 1
|
#include <stbitem.hxx>
Public Member Functions | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
SfxStatusBarControl (sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar &rBar) | |
virtual | ~SfxStatusBarControl () override |
sal_uInt16 | GetSlotId () const |
sal_uInt16 | GetId () const |
StatusBar & | GetStatusBar () const |
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 |
Static Public Member Functions | |
static rtl::Reference< SfxStatusBarControl > | CreateControl (sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar *pBar, SfxModule const *) |
static void | RegisterStatusBarControl (SfxModule *, const SfxStbCtrlFactory &) |
Protected Member Functions | |
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 |
virtual void | StateChangedAtStatusBarControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) |
virtual void | Click () |
virtual void | Command (const CommandEvent &rCEvt) |
virtual bool | MouseButtonDown (const MouseEvent &) |
virtual bool | MouseMove (const MouseEvent &) |
virtual bool | MouseButtonUp (const MouseEvent &) |
virtual void | Paint (const UserDrawEvent &rUDEvt) |
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) |
Static Protected Member Functions | |
static sal_uInt16 | convertAwtToVCLMouseButtons (sal_Int16 nAwtMouseButtons) |
Private Attributes | |
sal_uInt16 | nSlotId |
sal_uInt16 | nId |
VclPtr< StatusBar > | pBar |
Additional Inherited Members | |
Protected Types inherited from svt::StatusbarController | |
typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch > > | URLToDispatchMap |
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 58 of file stbitem.hxx.
SfxStatusBarControl::SfxStatusBarControl | ( | sal_uInt16 | nSlotID, |
sal_uInt16 | nId, | ||
StatusBar & | rBar | ||
) |
Definition at line 117 of file stbitem.cxx.
References nId.
|
overridevirtual |
Definition at line 148 of file stbitem.cxx.
|
overridevirtualnoexcept |
Reimplemented from svt::StatusbarController.
Definition at line 160 of file stbitem.cxx.
|
protectedvirtual |
Definition at line 477 of file stbitem.cxx.
References svt::StatusbarController::execute().
Referenced by click().
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 339 of file stbitem.cxx.
References Click().
|
protectedvirtual |
Definition at line 463 of file stbitem.cxx.
Referenced by command().
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 310 of file stbitem.cxx.
References Command().
|
staticprotected |
Definition at line 54 of file stbitem.cxx.
References MOUSE_LEFT, MOUSE_MIDDLE, and MOUSE_RIGHT.
Referenced by mouseButtonDown(), mouseButtonUp(), and mouseMove().
|
static |
Definition at line 510 of file stbitem.cxx.
References SfxModule::GetSlotPool(), SfxSlotPool::GetSlotPool(), SfxSlotPool::GetSlotType(), SfxApplication::GetStbCtrlFactory(), SfxModule::GetStbCtrlFactory(), pBar, SfxStbCtrlFactory::pCtor, and SfxGetpApp().
Referenced by SfxStatusBarControllerFactory().
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 345 of file stbitem.cxx.
|
inline |
Definition at line 111 of file stbitem.hxx.
References nId.
|
inline |
Definition at line 110 of file stbitem.hxx.
|
inline |
Definition at line 112 of file stbitem.hxx.
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 267 of file stbitem.cxx.
References convertAwtToVCLMouseButtons(), and MouseButtonDown().
|
protectedvirtual |
Definition at line 385 of file stbitem.cxx.
Referenced by mouseButtonDown().
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 296 of file stbitem.cxx.
References convertAwtToVCLMouseButtons(), and MouseButtonUp().
|
protectedvirtual |
Definition at line 437 of file stbitem.cxx.
Referenced by mouseButtonUp().
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 282 of file stbitem.cxx.
References convertAwtToVCLMouseButtons(), and MouseMove().
|
protectedvirtual |
Definition at line 411 of file stbitem.cxx.
Referenced by mouseMove().
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 323 of file stbitem.cxx.
References VCLUnoHelper::GetOutputDevice(), Paint(), pBar, and VCLRectangle().
|
protectedvirtual |
Definition at line 491 of file stbitem.cxx.
Referenced by paint().
|
static |
Definition at line 546 of file stbitem.cxx.
References SfxApplication::RegisterStatusBarControl_Impl(), and SfxGetpApp().
|
overridevirtualnoexcept |
Reimplemented from svt::StatusbarController.
Definition at line 165 of file stbitem.cxx.
|
protectedvirtual |
Definition at line 350 of file stbitem.cxx.
References DBG_ASSERT, CntUnencodedStringItem::GetValue(), SfxPoolItem::IsVoidItem(), and pBar.
Referenced by statusChanged().
|
overrideprotectedvirtual |
Reimplemented from svt::StatusbarController.
Definition at line 172 of file stbitem.cxx.
References SfxType::CreateItem(), SfxViewFrame::GetFrame(), SfxSlot::GetSlotId(), SfxSlotPool::GetSlotPool(), SfxSlot::GetType(), SfxSlotPool::GetUnoSlot(), svt::StatusbarController::m_xFrame, StateChangedAtStatusBarControl(), svt::StatusbarController::statusChanged(), and xController.
|
private |
Definition at line 61 of file stbitem.hxx.
|
private |
Definition at line 60 of file stbitem.hxx.
Definition at line 62 of file stbitem.hxx.
Referenced by CreateControl(), paint(), and StateChangedAtStatusBarControl().