22#include <svx/svxids.hrc>
49 :
FuPoor(pViewSh, pWin, pView, pDoc, rReq),
93 mpWindow->SetPointer(PointerStyle::Hand);
94 else if (
nSlotId != SID_ZOOM_PANNING)
95 mpWindow->SetPointer(PointerStyle::Magnify);
116 if (aScroll.
X() != 0 || aScroll.
Y() != 0)
120 if (aWorkSize.
Width() != 0 && aWorkSize.
Height() != 0 &&
123 aScroll.
setX( aScroll.
X() / ( aWorkSize.
Width() / aPageSize.
Width()) );
202 if (
nSlotId == SID_ZOOM_PANNING)
204 mpWindow->SetPointer(PointerStyle::Hand);
208 mpWindow->SetPointer(PointerStyle::Magnify);
sal_uInt16 GetButtons() const
const Point & GetPosPixel() const
constexpr tools::Long Y() const
void setX(tools::Long nX)
void setY(tools::Long nY)
tools::Long AdjustY(tools::Long nVertMove)
tools::Long AdjustX(tools::Long nHorzMove)
constexpr tools::Long X() const
const tools::Rectangle & GetWorkArea() const
sal_Int32 GetDragThresholdPixels() const
SdrPage * GetPage() const
SdrPageView * GetSdrPageView() const
void Invalidate(sal_uInt16 nId)
SfxBindings & GetBindings()
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
Base class for all functions.
VclPtr< ::sd::Window > mpWindow
void SetMouseButtonCode(sal_uInt16 nNew)
void ForceScroll(const Point &aPixPos)
scroll when approached the border of the window; is called by MouseMove
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
static rtl::Reference< FuPoor > Create(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
virtual void Deactivate() override
deactivates the function
virtual void Activate() override
activates the function
FuZoom(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
::tools::Rectangle aZoomRect
virtual bool MouseMove(const MouseEvent &rMEvt) override
virtual ~FuZoom() override
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
Base class of the stacked shell hierarchy.
void DrawMarkRect(const ::tools::Rectangle &rRect) const
Draw a selection rectangle with the ?provided pen on all split windows.
void Scroll(::tools::Long nX, ::tools::Long nY)
virtual void SetZoomRect(const ::tools::Rectangle &rZoomRect)
Set zoom rectangle for active window.
SD_DLLPUBLIC SfxViewFrame * GetViewFrame() const
An SdWindow contains the actual working area of ViewShell.
void InsertZoomRect(const ::tools::Rectangle &rRect)
const sal_uInt16 SidArrayZoom[]