LibreOffice Module svx (master) 1
|
#include <modctrl.hxx>
Classes | |
struct | ImplData |
Public Member Functions | |
virtual void | StateChangedAtStatusBarControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override |
virtual void | Paint (const UserDrawEvent &rUsrEvt) override |
virtual void | Click () override |
SFX_DECL_STATUSBAR_CONTROL () | |
SvxModifyControl (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb) | |
Public Member Functions inherited from SfxStatusBarControl | |
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 |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (OnTimer, Timer *, void) | |
void | _repaint () |
Private Attributes | |
std::shared_ptr< ImplData > | mxImpl |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxStatusBarControl | |
static rtl::Reference< SfxStatusBarControl > | CreateControl (sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar *pBar, SfxModule const *) |
static void | RegisterStatusBarControl (SfxModule *, const SfxStbCtrlFactory &) |
Protected Member Functions inherited from SfxStatusBarControl | |
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) |
Static Protected Member Functions inherited from SfxStatusBarControl | |
static sal_uInt16 | convertAwtToVCLMouseButtons (sal_Int16 nAwtMouseButtons) |
Definition at line 30 of file modctrl.hxx.
SvxModifyControl::SvxModifyControl | ( | sal_uInt16 | nSlotId, |
sal_uInt16 | nId, | ||
StatusBar & | rStb | ||
) |
Definition at line 67 of file modctrl.cxx.
References LINK, make_shared(), and mxImpl.
|
private |
Definition at line 112 of file modctrl.cxx.
References SfxStatusBarControl::GetId(), SfxStatusBarControl::GetStatusBar(), and StatusBar::SetItemData().
Referenced by StateChangedAtStatusBarControl().
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 148 of file modctrl.cxx.
References SvxModifyControl::ImplData::MODIFICATION_STATE_YES, and mxImpl.
|
private |
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 138 of file modctrl.cxx.
References centerImage(), OutputDevice::DrawImage(), UserDrawEvent::GetRect(), UserDrawEvent::GetRenderContext(), and mxImpl.
SvxModifyControl::SFX_DECL_STATUSBAR_CONTROL | ( | ) |
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 75 of file modctrl.cxx.
References _repaint(), DBG_ASSERT, SfxStatusBarControl::GetId(), SfxStatusBarControl::GetStatusBar(), SfxBoolItem::GetValue(), SvxModifyControl::ImplData::MODIFICATION_STATE_FEEDBACK, SvxModifyControl::ImplData::MODIFICATION_STATE_NO, SvxModifyControl::ImplData::MODIFICATION_STATE_YES, mxImpl, StatusBar::SetQuickHelpText(), start, and SvxResId().
|
private |
Definition at line 50 of file modctrl.hxx.
Referenced by Click(), Paint(), StateChangedAtStatusBarControl(), and SvxModifyControl().