LibreOffice Module svx (master) 1
|
#include <pszctrl.hxx>
Public Member Functions | |
SFX_DECL_STATUSBAR_CONTROL () | |
SvxPosSizeStatusBarControl (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb) | |
virtual | ~SvxPosSizeStatusBarControl () override |
virtual void | StateChangedAtStatusBarControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override |
virtual void | Paint (const UserDrawEvent &rEvt) override |
virtual void | Command (const CommandEvent &rCEvt) 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 Member Functions | |
SVX_DLLPRIVATE OUString | GetMetricStr_Impl (tools::Long nVal) const |
void | ImplUpdateItemText () |
Private Attributes | |
std::unique_ptr< SvxPosSizeStatusBarControl_Impl > | pImpl |
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 28 of file pszctrl.hxx.
SvxPosSizeStatusBarControl::SvxPosSizeStatusBarControl | ( | sal_uInt16 | nSlotId, |
sal_uInt16 | nId, | ||
StatusBar & | rStb | ||
) |
Definition at line 224 of file pszctrl.cxx.
References ImplUpdateItemText(), pImpl, STR_FUNC, STR_POSITION, and STR_TABLECELL.
|
overridevirtual |
Definition at line 251 of file pszctrl.cxx.
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 394 of file pszctrl.cxx.
References a, SfxStatusBarControl::Command(), CommandEvent::GetCommand(), CommandEvent::GetMousePosPixel(), weld::GetPopupParent(), SfxStatusBarControl::GetStatusBar(), comphelper::makePropertyValue(), pImpl, PSZ_FUNC_NONE, and CntUInt32Item::QueryValue().
|
private |
Definition at line 66 of file pszctrl.cxx.
References vcl::ConvertValue(), AllSettings::GetLocaleDataWrapper(), SfxModule::GetModuleFieldUnit(), LocaleDataWrapper::getNumDecimalSep(), and Application::GetSettings().
Referenced by ImplUpdateItemText(), and Paint().
|
private |
Definition at line 509 of file pszctrl.cxx.
References SfxStatusBarControl::GetId(), GetMetricStr_Impl(), SfxStatusBarControl::GetStatusBar(), pImpl, and StatusBar::SetItemText().
Referenced by StateChangedAtStatusBarControl(), and SvxPosSizeStatusBarControl().
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 433 of file pszctrl.cxx.
References Point::AdjustX(), Point::AdjustY(), aStr, tools::Rectangle::Bottom(), tools::Rectangle::BottomRight(), OutputDevice::DrawImage(), OutputDevice::DrawRect(), OutputDevice::DrawText(), OutputDevice::GetBackground(), OutputDevice::GetClipRegion(), Wallpaper::GetColor(), OutputDevice::GetFillColor(), tools::Rectangle::GetHeight(), SfxStatusBarControl::GetId(), StatusBar::GetItemTextPos(), OutputDevice::GetLineColor(), GetMetricStr_Impl(), UserDrawEvent::GetRect(), UserDrawEvent::GetRenderContext(), SfxStatusBarControl::GetStatusBar(), OutputDevice::GetTextWidth(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), PAINT_OFFSET, pImpl, OutputDevice::SetClipRegion(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), Point::setX(), tools::Rectangle::TopLeft(), and Point::Y().
SvxPosSizeStatusBarControl::SFX_DECL_STATUSBAR_CONTROL | ( | ) |
|
overridevirtual |
Reimplemented from SfxStatusBarControl.
Definition at line 271 of file pszctrl.cxx.
References Formula, SfxStatusBarControl::GetId(), SfxStatusBarControl::GetSlotId(), SfxStatusBarControl::GetStatusBar(), ImplUpdateItemText(), ListStyle, NONE, Numbering, pImpl, RowColumn, SAL_WARN, Section, StatusBar::SetHelpId(), StatusBar::SetHelpText(), StatusBar::SetItemData(), StatusBar::SetQuickHelpText(), STR_FUNC, STR_POSITION, STR_TABLECELL, SvxResId(), TableCell, and TableOfContents.
|
private |
Definition at line 31 of file pszctrl.hxx.
Referenced by Command(), ImplUpdateItemText(), Paint(), StateChangedAtStatusBarControl(), and SvxPosSizeStatusBarControl().