LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScZoomSlider Class Referencefinal

#include <tbzoomsliderctrl.hxx>

Inheritance diagram for ScZoomSlider:
Collaboration diagram for ScZoomSlider:


struct  ScZoomSliderWnd_Impl

Public Member Functions

 ScZoomSlider (const css::uno::Reference< css::frame::XDispatchProvider > &rDispatchProvider, sal_uInt16 nCurrentZoom, vcl::Window *)
void UpdateFromItem (const SvxZoomSliderItem *pZoomSliderItem)
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
virtual bool MouseMove (const MouseEvent &rMEvt) override
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
- Public Member Functions inherited from weld::CustomWidgetController
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
virtual void Resize ()
virtual bool MouseButtonUp (const MouseEvent &)
virtual void GetFocus ()
virtual void LoseFocus ()
virtual void StyleUpdated ()
virtual bool Command (const CommandEvent &)
virtual bool KeyInput (const KeyEvent &)
virtual tools::Rectangle GetFocusRect ()
virtual FactoryFunction GetUITestFactory () const
virtual OUString RequestHelp (tools::Rectangle &)
virtual OUString GetHelpText () const
Size const & GetOutputSizePixel () const
void SetOutputSizePixel (const Size &rSize)
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea)
weld::DrawingAreaGetDrawingArea () const
void Invalidate ()
void Invalidate (const tools::Rectangle &rRect)
virtual void Show ()
virtual void Hide ()
void GrabFocus ()
bool HasFocus () const
bool IsVisible () const
bool IsReallyVisible () const
bool IsEnabled () const
void Enable () const
void Disable () const
bool IsActive () const
int GetTextHeight () const
OUString GetAccessibleName () const
OUString GetAccessibleDescription () const
void CaptureMouse ()
bool IsMouseCaptured () const
void EnableRTL (bool bEnable)
bool IsRTLEnabled () const
void ReleaseMouse ()
void SetPointer (PointerStyle ePointerStyle)
void SetHelpId (const OString &rHelpId)
void SetAccessibleName (const OUString &rName)
void SetDragDataTransferrable (rtl::Reference< TransferDataContainer > &rTransferrable, sal_uInt8 eDNDConstants)
virtual bool StartDrag ()
void set_size_request (int nWidth, int nHeight)
void queue_resize ()
 CustomWidgetController ()
virtual ~CustomWidgetController ()
 CustomWidgetController (CustomWidgetController const &)=default
 CustomWidgetController (CustomWidgetController &&)=default
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
CustomWidgetControlleroperator= (CustomWidgetController &&)=default

Private Member Functions

sal_uInt16 Offset2Zoom (long nOffset) const
long Zoom2Offset (sal_uInt16 nZoom) const
void DoPaint (vcl::RenderContext &rRenderContext)

Private Attributes

std::unique_ptr< ScZoomSliderWnd_ImplmpImpl
css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()

Detailed Description

Definition at line 43 of file tbzoomsliderctrl.hxx.

Constructor & Destructor Documentation

ScZoomSlider::ScZoomSlider ( const css::uno::Reference< css::frame::XDispatchProvider > &  rDispatchProvider,
sal_uInt16  nCurrentZoom,
vcl::Window parentWindow 

Definition at line 235 of file tbzoomsliderctrl.cxx.

References mpImpl.

Member Function Documentation

void ScZoomSlider::DoPaint ( vcl::RenderContext rRenderContext)
bool ScZoomSlider::MouseButtonDown ( const MouseEvent rMEvt)
bool ScZoomSlider::MouseMove ( const MouseEvent rMEvt)
sal_uInt16 ScZoomSlider::Offset2Zoom ( long  nOffset) const
void ScZoomSlider::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 

Implements weld::CustomWidgetController.

Definition at line 387 of file tbzoomsliderctrl.cxx.

References DoPaint().

void ScZoomSlider::UpdateFromItem ( const SvxZoomSliderItem pZoomSliderItem)
long ScZoomSlider::Zoom2Offset ( sal_uInt16  nZoom) const

Member Data Documentation

css::uno::Reference<css::frame::XDispatchProvider> ScZoomSlider::m_xDispatchProvider

Definition at line 48 of file tbzoomsliderctrl.hxx.

Referenced by MouseButtonDown(), and MouseMove().

std::unique_ptr<ScZoomSliderWnd_Impl> ScZoomSlider::mpImpl

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