|
LibreOffice Module sd (master) 1
|
#include <fuzoom.hxx>
Public Member Functions | |
| virtual bool | MouseMove (const MouseEvent &rMEvt) override |
| virtual bool | MouseButtonUp (const MouseEvent &rMEvt) override |
| virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
| virtual void | Activate () override |
| activates the function More... | |
| virtual void | Deactivate () override |
| deactivates the function More... | |
Public Member Functions inherited from sd::FuPoor | |
| virtual void | DoExecute (SfxRequest &rReq) |
| void | SetMouseButtonCode (sal_uInt16 nNew) |
| sal_uInt16 | GetMouseButtonCode () const |
| DrawDocShell * | GetDocSh () |
| virtual void | DoCut () |
| Cut object to clipboard. More... | |
| virtual void | DoCopy () |
| Copy object to clipboard. More... | |
| virtual void | DoPaste () |
| Paste object from clipboard. More... | |
| virtual void | DoPasteUnformatted () |
| Paste unformatted text from clipboard. More... | |
| virtual bool | KeyInput (const KeyEvent &rKEvt) |
| handle keyboard events More... | |
| virtual bool | MouseMove (const MouseEvent &) |
| virtual bool | MouseButtonUp (const MouseEvent &rMEvt) |
| virtual bool | MouseButtonDown (const MouseEvent &rMEvt) |
| virtual bool | Command (const CommandEvent &rCEvt) |
| virtual bool | RequestHelp (const HelpEvent &rHEvt) |
| virtual void | ReceiveRequest (SfxRequest &rReq) |
| virtual void | Activate () |
| activates the function More... | |
| virtual void | Deactivate () |
| deactivates the function More... | |
| void | SetWindow (::sd::Window *pWin) |
| virtual void | SelectionHasChanged () |
| sal_uInt16 | GetSlotID () const |
| void | StartDelayToScrollTimer () |
| virtual rtl::Reference< SdrObject > | CreateDefaultObject (const sal_uInt16 nID, const ::tools::Rectangle &rRectangle) |
| virtual bool | cancel () |
| is called when the current function should be aborted. More... | |
| virtual bool | doConstructOrthogonal () const |
| Decide if the object to be created should be created orthogonal. More... | |
Public Member Functions inherited from sd::SimpleReferenceComponent | |
| SimpleReferenceComponent () | |
| void | acquire () |
| @ATTENTION The results are undefined if, for any individual instance of SimpleReferenceComponent, the total number of calls to acquire() exceeds the total number of calls to release() by a platform dependent amount (which, hopefully, is quite large). More... | |
| void | release () |
| void | Dispose () |
| bool | isDisposed () const |
Static Public Member Functions | |
| static rtl::Reference< FuPoor > | Create (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) |
Private Member Functions | |
| virtual | ~FuZoom () override |
| FuZoom (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
Private Attributes | |
| Point | aBeginPosPix |
| Point | aBeginPos |
| Point | aEndPos |
| ::tools::Rectangle | aZoomRect |
| bool | bVisible |
| bool | bStartDrag |
| PointerStyle | aPtr |
Additional Inherited Members | |
Static Public Attributes inherited from sd::FuPoor | |
| static const int | HITPIX = 2 |
| static const int | HITLOG = 53 |
| static const int | DRGLOG = 53 |
Protected Member Functions inherited from sd::FuPoor | |
| FuPoor (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
| virtual | ~FuPoor () override |
| DECL_LINK (DelayHdl, Timer *, void) | |
| void | SwitchLayer (sal_Int32 nOffset) |
| Switch to another layer. More... | |
| DECL_LINK (ScrollHdl, Timer *, void) | |
| void | ForceScroll (const Point &aPixPos) |
| scroll when approached the border of the window; is called by MouseMove More... | |
| DECL_LINK (DragHdl, Timer *, void) | |
Protected Member Functions inherited from sd::SimpleReferenceComponent | |
| virtual void | disposing () |
| virtual | ~SimpleReferenceComponent () |
Static Protected Member Functions inherited from sd::FuPoor | |
| static void | ImpForceQuadratic (::tools::Rectangle &rRect) |
Protected Attributes inherited from sd::FuPoor | |
| ::sd::View * | mpView |
| ViewShell * | mpViewShell |
| VclPtr< ::sd::Window > | mpWindow |
| DrawDocShell * | mpDocSh |
| SdDrawDocument * | mpDoc |
| sal_uInt16 | nSlotId |
| Timer | aScrollTimer |
| for auto-scrolling More... | |
| Timer | aDragTimer |
| for Drag&Drop More... | |
| bool | bIsInDragMode |
| Point | aMDPos |
| position of MouseButtonDown More... | |
| bool | bNoScrollUntilInside |
| Flag to prevent auto-scrolling until one drags from outside into the window. More... | |
| Timer | aDelayToScrollTimer |
| timer to delay scrolling (~ 1 sec) when dragging out of the window More... | |
| bool | bScrollable |
| bool | bDelayActive |
| bool | bFirstMouseMove |
Definition at line 28 of file fuzoom.hxx.
|
overrideprivatevirtual |
Definition at line 56 of file fuzoom.cxx.
References aZoomRect, bStartDrag, bVisible, sd::ViewShell::DrawMarkRect(), and sd::FuPoor::mpViewShell.
|
private |
|
overridevirtual |
activates the function
Reimplemented from sd::FuPoor.
Definition at line 198 of file fuzoom.cxx.
References aPtr, sd::FuPoor::mpWindow, and sd::FuPoor::nSlotId.
|
static |
Definition at line 68 of file fuzoom.cxx.
References FuZoom().
Referenced by sd::DrawViewShell::FuPermanent().
|
overridevirtual |
deactivates the function
Reimplemented from sd::FuPoor.
Definition at line 212 of file fuzoom.cxx.
References aPtr, SfxViewFrame::GetBindings(), sd::ViewShell::GetViewFrame(), SfxBindings::Invalidate(), sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, and sd::SidArrayZoom.
|
overridevirtual |
Reimplemented from sd::FuPoor.
Definition at line 74 of file fuzoom.cxx.
References aBeginPos, aBeginPosPix, aZoomRect, bStartDrag, MouseEvent::GetButtons(), MouseEvent::GetPosPixel(), sd::FuPoor::mpWindow, sd::FuPoor::SetMouseButtonCode(), tools::Rectangle::SetPos(), and tools::Rectangle::SetSize().
|
overridevirtual |
Reimplemented from sd::FuPoor.
Definition at line 143 of file fuzoom.cxx.
References Point::AdjustX(), Point::AdjustY(), aZoomRect, bStartDrag, bVisible, sd::ViewShell::DrawMarkRect(), SfxViewFrame::GetBindings(), MouseEvent::GetButtons(), SdrDragView::GetDragThresholdPixels(), MouseEvent::GetPosPixel(), sd::ViewShell::GetViewFrame(), sd::ViewShell::GetZoomList(), Size::Height(), sd::ZoomList::InsertZoomRect(), SfxBindings::Invalidate(), MouseEvent::IsMod1(), MouseEvent::IsShift(), sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, sd::FuPoor::nSlotId, Size::setHeight(), sd::FuPoor::SetMouseButtonCode(), tools::Rectangle::SetPos(), tools::Rectangle::SetSize(), Size::setWidth(), sd::ViewShell::SetZoomRect(), sd::SidArrayZoom, and Size::Width().
|
overridevirtual |
Reimplemented from sd::FuPoor.
Definition at line 90 of file fuzoom.cxx.
References aBeginPos, aBeginPosPix, aEndPos, aZoomRect, bStartDrag, bVisible, sd::ViewShell::DrawMarkRect(), sd::FuPoor::ForceScroll(), SdrPageView::GetPage(), MouseEvent::GetPosPixel(), SdrPaintView::GetSdrPageView(), SdrPage::GetSize(), tools::Rectangle::GetSize(), SdrDragView::GetWorkArea(), Size::Height(), MouseEvent::IsShift(), sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, tools::Rectangle::Normalize(), sd::FuPoor::nSlotId, sd::ViewShell::Scroll(), Point::setX(), Point::setY(), Size::Width(), Point::X(), and Point::Y().
|
private |
Definition at line 47 of file fuzoom.hxx.
Referenced by MouseButtonDown(), and MouseMove().
|
private |
Definition at line 46 of file fuzoom.hxx.
Referenced by MouseButtonDown(), and MouseMove().
|
private |
Definition at line 48 of file fuzoom.hxx.
Referenced by MouseMove().
|
private |
Definition at line 52 of file fuzoom.hxx.
Referenced by Activate(), and Deactivate().
|
private |
Definition at line 49 of file fuzoom.hxx.
Referenced by MouseButtonDown(), MouseButtonUp(), MouseMove(), and ~FuZoom().
|
private |
Definition at line 51 of file fuzoom.hxx.
Referenced by MouseButtonDown(), MouseButtonUp(), MouseMove(), and ~FuZoom().
|
private |
Definition at line 50 of file fuzoom.hxx.
Referenced by MouseButtonUp(), MouseMove(), and ~FuZoom().