LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwZoomControl Class Referencefinal

#include <zoomctrl.hxx>

Inheritance diagram for SwZoomControl:
[legend]
Collaboration diagram for SwZoomControl:
[legend]

Public Member Functions

virtual void Command (const CommandEvent &rCEvt) override
 
virtual void StateChangedAtStatusBarControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void Paint (const UserDrawEvent &rEvt) override
 
 SFX_DECL_STATUSBAR_CONTROL ()
 
 SwZoomControl (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)
 
virtual ~SwZoomControl () override
 
- Public Member Functions inherited from SvxZoomStatusBarControl
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
 
 SFX_DECL_STATUSBAR_CONTROL ()
 
 SvxZoomStatusBarControl (sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar &rStb)
 

Private Attributes

OUString m_sPreviewZoom
 

Detailed Description

Definition at line 24 of file zoomctrl.hxx.

Constructor & Destructor Documentation

◆ SwZoomControl()

SwZoomControl::SwZoomControl ( sal_uInt16  nSlotId,
sal_uInt16  nId,
StatusBar rStb 
)

Definition at line 28 of file zoomctrl.cxx.

◆ ~SwZoomControl()

SwZoomControl::~SwZoomControl ( )
overridevirtual

Definition at line 35 of file zoomctrl.cxx.

Member Function Documentation

◆ Command()

void SwZoomControl::Command ( const CommandEvent rCEvt)
overridevirtual

Reimplemented from SvxZoomStatusBarControl.

Definition at line 59 of file zoomctrl.cxx.

References SvxZoomStatusBarControl::Command(), and m_sPreviewZoom.

◆ Paint()

void SwZoomControl::Paint ( const UserDrawEvent rEvt)
overridevirtual

Reimplemented from SvxZoomStatusBarControl.

Definition at line 55 of file zoomctrl.cxx.

◆ SFX_DECL_STATUSBAR_CONTROL()

SwZoomControl::SFX_DECL_STATUSBAR_CONTROL ( )

◆ StateChangedAtStatusBarControl()

void SwZoomControl::StateChangedAtStatusBarControl ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Member Data Documentation

◆ m_sPreviewZoom

OUString SwZoomControl::m_sPreviewZoom
private

Definition at line 27 of file zoomctrl.hxx.

Referenced by Command(), and StateChangedAtStatusBarControl().


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