LibreOffice Module sw (master)  1
Public Member Functions | List of all members
SwWordCountStatusBarControl Class Reference

Word count status bar control for Writer. More...

#include <wordcountctrl.hxx>

Inheritance diagram for SwWordCountStatusBarControl:
Collaboration diagram for SwWordCountStatusBarControl:

Public Member Functions

 SwWordCountStatusBarControl (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)
virtual ~SwWordCountStatusBarControl () override
virtual void StateChanged (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
- Public Member Functions inherited from SfxStatusBarControl
 SfxStatusBarControl (sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar &rBar)
virtual ~SfxStatusBarControl () override
sal_uInt16 GetSlotId () const
sal_uInt16 GetId () const
StatusBarGetStatusBar () const

Additional Inherited Members

- Static Public Member Functions inherited from SfxStatusBarControl
static SfxStatusBarControlCreateControl (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 acquire () override
virtual void SAL_CALL release () 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
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)

Detailed Description

Word count status bar control for Writer.

This is a simple status bar control of type SfxStringItem, and it has no custom logic whatsoever. The actual updating of the word count string happens in SwView::StateStatusLine (see sw/source/ui/uiview/view2.cxx).

Definition at line 22 of file wordcountctrl.hxx.

Constructor & Destructor Documentation

SwWordCountStatusBarControl::SwWordCountStatusBarControl ( sal_uInt16  nSlotId,
sal_uInt16  nId,
StatusBar rStb 

Definition at line 18 of file wordcountctrl.cxx.

SwWordCountStatusBarControl::~SwWordCountStatusBarControl ( )

Definition at line 26 of file wordcountctrl.cxx.

Member Function Documentation

SwWordCountStatusBarControl::SFX_DECL_STATUSBAR_CONTROL ( )
void SwWordCountStatusBarControl::StateChanged ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 

The documentation for this class was generated from the following files: