LibreOffice Module sw (master) 1
|
#include <viewlayoutctrl.hxx>
Classes | |
struct | SwViewLayoutControl_Impl |
Public Member Functions | |
SFX_DECL_STATUSBAR_CONTROL () | |
SwViewLayoutControl (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb) | |
virtual | ~SwViewLayoutControl () override |
virtual void | StateChangedAtStatusBarControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override |
virtual void | Paint (const UserDrawEvent &rEvt) override |
virtual bool | MouseButtonDown (const MouseEvent &) override |
virtual bool | MouseMove (const MouseEvent &) override |
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 Attributes | |
std::unique_ptr< SwViewLayoutControl_Impl > | mpImpl |
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 25 of file viewlayoutctrl.hxx.
SwViewLayoutControl::SwViewLayoutControl | ( | sal_uInt16 | nSlotId, |
sal_uInt16 | nId, | ||
StatusBar & | rStb | ||
) |
Definition at line 46 of file viewlayoutctrl.cxx.
References mpImpl.
|
overridevirtual |
Definition at line 60 of file viewlayoutctrl.cxx.
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 134 of file viewlayoutctrl.cxx.
References a, MouseEvent::GetPosPixel(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), comphelper::makePropertyValue(), mpImpl, SvxViewLayoutItem::QueryValue(), and Point::X().
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 182 of file viewlayoutctrl.cxx.
References SfxStatusBarControl::GetId(), MouseEvent::GetPosPixel(), SfxStatusBarControl::GetStatusBar(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), mpImpl, StatusBar::SetQuickHelpText(), SwResId(), and Point::X().
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 93 of file viewlayoutctrl.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustTop(), OutputDevice::DrawImage(), OutputDevice::DrawRect(), tools::Rectangle::GetHeight(), UserDrawEvent::GetRect(), UserDrawEvent::GetRenderContext(), tools::Rectangle::GetWidth(), mpImpl, and tools::Rectangle::TopLeft().
SwViewLayoutControl::SFX_DECL_STATUSBAR_CONTROL | ( | ) |
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 64 of file viewlayoutctrl.cxx.
References SfxStatusBarControl::GetId(), SfxStatusBarControl::GetStatusBar(), GetValue, SfxPoolItem::IsVoidItem(), mpImpl, StatusBar::SetItemData(), and StatusBar::SetItemText().
|
private |
Definition at line 30 of file viewlayoutctrl.hxx.
Referenced by MouseButtonDown(), MouseMove(), Paint(), StateChangedAtStatusBarControl(), and SwViewLayoutControl().