|
LibreOffice Module svx (master) 1
|
#include <svdsnpv.hxx>
Public Member Functions | |
| virtual bool | IsAction () const override |
| virtual void | MovAction (const Point &rPnt) override |
| virtual void | EndAction () override |
| virtual void | BckAction () override |
| virtual void | BrkAction () override |
| virtual void | TakeActionRect (tools::Rectangle &rRect) const override |
| void | SetSnapGridWidth (const Fraction &rX, const Fraction &rY) |
| const Fraction & | GetSnapGridWidthX () const |
| const Fraction & | GetSnapGridWidthY () const |
| void | SetSnapMagnetic (const Size &rSiz) |
| void | SetSnapMagneticPixel (sal_uInt16 nPix) |
| sal_uInt16 | GetSnapMagneticPixel () const |
| void | RecalcLogicSnapMagnetic (const OutputDevice &rOut) |
| void | SetActualWin (const OutputDevice *pWin) |
| SdrSnap | SnapPos (Point &rPnt, const SdrPageView *pPV) const |
| Point | GetSnapPos (const Point &rPnt, const SdrPageView *pPV) const |
| void | CheckSnap (const Point &rPt, tools::Long &nBestXSnap, tools::Long &nBestYSnap, bool &bXSnapped, bool &bYSnapped) const |
| bool | IsSnapEnabled () const |
| bool | IsGridSnap () const |
| bool | IsBordSnap () const |
| bool | IsHlplSnap () const |
| bool | IsOFrmSnap () const |
| bool | IsOPntSnap () const |
| bool | IsOConSnap () const |
| void | SetSnapEnabled (bool bOn) |
| void | SetGridSnap (bool bOn) |
| void | SetBordSnap (bool bOn) |
| void | SetHlplSnap (bool bOn) |
| void | SetOFrmSnap (bool bOn) |
| void | SetOPntSnap (bool bOn) |
| void | SetOConSnap (bool bOn) |
| void | SetMoveSnapOnlyTopLeft (bool bOn) |
| bool | IsMoveSnapOnlyTopLeft () const |
| void | BegSetPageOrg (const Point &rPnt) |
| void | MovSetPageOrg (const Point &rPnt) |
| void | EndSetPageOrg () |
| void | BrkSetPageOrg () |
| bool | IsSetPageOrg () const |
| bool | PickHelpLine (const Point &rPnt, short nTol, const OutputDevice &rOut, sal_uInt16 &rnHelpLineNum, SdrPageView *&rpPV) const |
| bool | BegDragHelpLine (sal_uInt16 nHelpLineNum, SdrPageView *pPV) |
| void | BegDragHelpLine (const Point &rPnt, SdrHelpLineKind eNewKind) |
| PointerStyle | GetDraggedHelpLinePointer () const |
| void | MovDragHelpLine (const Point &rPnt) |
| bool | EndDragHelpLine () |
| void | BrkDragHelpLine () |
| bool | IsDragHelpLine () const |
| void | SetAngleSnapEnabled (bool bOn) |
| bool | IsAngleSnapEnabled () const |
| void | SetSnapAngle (Degree100 nAngle) |
| Degree100 | GetSnapAngle () const |
| void | SetOrtho (bool bOn) |
| bool | IsOrtho () const |
| void | SetBigOrtho (bool bOn) |
| bool | IsBigOrtho () const |
| void | SetMoveOnlyDragging (bool bOn) |
| bool | IsMoveOnlyDragging () const |
| void | SetSlantButShear (bool bOn) |
| bool | IsSlantButShear () const |
| void | SetCrookNoContortion (bool bOn) |
| bool | IsCrookNoContortion () const |
| void | SetCrookMode (SdrCrookMode eMode) |
| SdrCrookMode | GetCrookMode () const |
| void | SetEliminatePolyPoints (bool bOn) |
| bool | IsEliminatePolyPoints () const |
| void | SetEliminatePolyPointLimitAngle (Degree100 nAngle) |
| Degree100 | GetEliminatePolyPointLimitAngle () const |
Public Member Functions inherited from SdrPaintView | |
| bool | IsBufferedOutputAllowed () const |
| void | SetBufferedOutputAllowed (bool bNew) |
| bool | IsBufferedOverlayAllowed () const |
| void | SetBufferedOverlayAllowed (bool bNew) |
| bool | IsPageDecorationAllowed () const |
| void | SetPageDecorationAllowed (bool bNew) |
| bool | IsMasterPageVisualizationAllowed () const |
| void | SetMasterPageVisualizationAllowed (bool bNew) |
| virtual rtl::Reference< sdr::overlay::OverlayManager > | CreateOverlayManager (OutputDevice &rDevice) const |
| sal_uInt32 | PaintWindowCount () const |
| SdrPaintWindow * | FindPaintWindow (const OutputDevice &rOut) const |
| SdrPaintWindow * | GetPaintWindow (sal_uInt32 nIndex) const |
| OutputDevice * | GetFirstOutputDevice () const |
| bool | ImpIsGlueVisible () const |
| SdrModel & | getSdrModelFromSdrView () const |
| SdrModel & | GetModel () const |
| virtual void | ClearPageView () |
| virtual bool | IsAction () const |
| virtual void | MovAction (const Point &rPnt) |
| virtual void | EndAction () |
| virtual void | BckAction () |
| virtual void | BrkAction () |
| virtual void | TakeActionRect (tools::Rectangle &rRect) const |
| virtual bool | IsTextEdit () const |
| void | SetActualWin (const OutputDevice *pWin) |
| void | SetMinMoveDistancePixel (sal_uInt16 nVal) |
| void | SetHitTolerancePixel (sal_uInt16 nVal) |
| sal_uInt16 | GetHitTolerancePixel () const |
| sal_uInt16 | getHitTolLog () const |
| const SdrDragStat & | GetDragStat () const |
| virtual SdrPageView * | ShowSdrPage (SdrPage *pPage) |
| virtual void | HideSdrPage () |
| SdrPageView * | GetSdrPageView () const |
| virtual void | AddDeviceToPaintView (OutputDevice &rNewDev, vcl::Window *pWindow) |
| virtual void | DeleteDeviceFromPaintView (OutputDevice &rOldDev) |
| void | SetLayerVisible (const OUString &rName, bool bShow) |
| bool | IsLayerVisible (const OUString &rName) const |
| void | SetLayerLocked (const OUString &rName, bool bLock=true) |
| bool | IsLayerLocked (const OUString &rName) const |
| void | SetLayerPrintable (const OUString &rName, bool bPrn) |
| bool | IsLayerPrintable (const OUString &rName) const |
| void | PrePaint () |
| virtual void | CompleteRedraw (OutputDevice *pOut, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) |
| virtual SdrPaintWindow * | BeginCompleteRedraw (OutputDevice *pOut) |
| void | DoCompleteRedraw (SdrPaintWindow &rPaintWindow, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) |
| virtual void | EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) |
| SdrPaintWindow * | BeginDrawLayers (OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect=false) |
| void | UpdateDrawLayersRegion (const OutputDevice *pOut, const vcl::Region &rReg) |
| void | EndDrawLayers (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) |
| bool | IsPageVisible () const |
| Draw Page as a white area or not. More... | |
| bool | IsPageShadowVisible () const |
| Draw Page shadow or not. More... | |
| bool | IsPageBorderVisible () const |
| Draw Page as a white area or not. More... | |
| bool | IsBordVisible () const |
| Draw Border line or not. More... | |
| bool | IsGridVisible () const |
| Draw Grid or not. More... | |
| bool | IsGridFront () const |
| Draw Grid in front of objects or behind them. More... | |
| bool | IsHlplVisible () const |
| Draw Help line of the Page or not. More... | |
| bool | IsHlplFront () const |
| Draw Help line in front of the objects or behind them. More... | |
| const Color & | GetGridColor () const |
| void | SetPageVisible (bool bOn=true) |
| void | SetPageShadowVisible (bool bOn) |
| void | SetPageBorderVisible (bool bOn=true) |
| void | SetBordVisible (bool bOn=true) |
| void | SetGridVisible (bool bOn) |
| void | SetGridFront (bool bOn) |
| void | SetHlplVisible (bool bOn=true) |
| void | SetHlplFront (bool bOn) |
| void | SetGlueVisible (bool bOn=true) |
| bool | IsPreviewRenderer () const |
| void | SetPreviewRenderer (bool bOn) |
| bool | getHideOle () const |
| bool | getHideChart () const |
| bool | getHideDraw () const |
| bool | getHideFormControl () const |
| void | setHideOle (bool bNew) |
| void | setHideChart (bool bNew) |
| void | setHideDraw (bool bNew) |
| void | setHideFormControl (bool bNew) |
| void | SetGridCoarse (const Size &rSiz) |
| void | SetGridFine (const Size &rSiz) |
| const Size & | GetGridCoarse () const |
| const Size & | GetGridFine () const |
| void | InvalidateAllWin () |
| void | InvalidateAllWin (const tools::Rectangle &rRect) |
| virtual void | InvalidateOneWin (OutputDevice &rWin) |
| If the View should not call Invalidate() on the windows, override the following 2 methods and do something else. More... | |
| virtual void | InvalidateOneWin (OutputDevice &rWin, const tools::Rectangle &rRect) |
| void | SetActiveLayer (const OUString &rName) |
| const OUString & | GetActiveLayer () const |
| void | LeaveOneGroup () |
Leave an object group of all visible Pages (like chdir .. in MS-DOS) More... | |
| void | LeaveAllGroup () |
Leave all entered object groups of all visible Pages (like chdir \ in MS-DOS) More... | |
| bool | IsGroupEntered () const |
| Determine, whether Leave is useful or not. More... | |
| void | SetDefaultAttr (const SfxItemSet &rAttr, bool bReplaceAll) |
| Default attributes at the View Newly created objects are assigned these attributes by default when they are created. More... | |
| const SfxItemSet & | GetDefaultAttr () const |
| void | SetDefaultStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
| void | SetNotPersistDefaultAttr (const SfxItemSet &rAttr) |
| void | MergeNotPersistDefaultAttr (SfxItemSet &rAttr) const |
| bool | IsSwapAsynchron () const |
| Execute a swap-in of e.g. More... | |
| void | SetSwapAsynchron (bool bJa=true) |
| virtual bool | KeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) |
| virtual bool | MouseButtonDown (const MouseEvent &, OutputDevice *) |
| virtual bool | MouseButtonUp (const MouseEvent &, OutputDevice *) |
| virtual bool | MouseMove (const MouseEvent &, OutputDevice *) |
| virtual bool | RequestHelp (const HelpEvent &) |
| virtual bool | Command (const CommandEvent &, vcl::Window *) |
| void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const |
| void | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll) |
| SfxStyleSheet * | GetStyleSheet () const |
| void | SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
| virtual void | MakeVisible (const tools::Rectangle &rRect, vcl::Window &rWin) |
| virtual void | DoConnect (SdrOle2Obj *pOleObj) |
| For Plugins Is called by the Paint of the OLE object. More... | |
| bool | IsAnimationEnabled () const |
| Enable/disable animations for Paint Is used by e.g. More... | |
| void | SetAnimationEnabled (bool bEnable=true) |
| void | SetAnimationPause (bool bSet) |
| Set/unset pause state for animations. More... | |
| void | SetAnimationMode (const SdrAnimationMode eMode) |
| Mode when starting an animation in the Paint Handler: More... | |
| void | VisAreaChanged (const OutputDevice *pOut) |
| Must be called by the App when scrolling etc. More... | |
| void | VisAreaChanged () |
| bool | IsPrintPreview () const |
| void | SetPrintPreview (bool bOn=true) |
| const svtools::ColorConfig & | getColorConfig () const |
| void | onChangeColorConfig () |
| void | SetApplicationBackgroundColor (Color aBackgroundColor) |
| void | SetApplicationDocumentColor (Color aDocumentColor) |
| void | SetAnimationTimer (sal_uInt32 nTime) |
| void | SetPaintTextEdit (bool bPaint) |
Public Member Functions inherited from SfxListener | |
| SfxListener () | |
| SfxListener (const SfxListener &rCopy) | |
| virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
| void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
| void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
| void | EndListeningAll () |
| bool | IsListening (SfxBroadcaster &rBroadcaster) const |
| sal_uInt16 | GetBroadcasterCount () const |
| SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
| void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
| virtual bool | IsSdrView () const |
Public Member Functions inherited from SfxBroadcaster | |
| SfxBroadcaster () | |
| SfxBroadcaster (const SfxBroadcaster &rBC) | |
| virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
| void | Broadcast (const SfxHint &rHint) |
| bool | HasListeners () const |
| size_t | GetListenerCount () const |
| void | ForAllListeners (std::function< bool(SfxListener *)> f) const |
Public Member Functions inherited from utl::ConfigurationListener | |
| virtual | ~ConfigurationListener () |
| virtual void | ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0 |
Protected Member Functions | |
| SdrSnapView (SdrModel &rSdrModel, OutputDevice *pOut) | |
| virtual | ~SdrSnapView () override |
Protected Member Functions inherited from SdrPaintView | |
| void | DeletePaintWindow (const SdrPaintWindow &rOld) |
| void | ConfigurationChanged (::utl::ConfigurationBroadcaster *, ConfigurationHints) override |
| sal_uInt16 | ImpGetMinMovLogic (short nMinMov, const OutputDevice *pOut) const |
| sal_uInt16 | ImpGetHitTolLogic (short nHitTol, const OutputDevice *pOut) const |
| void | FlushComeBackTimer () const |
| void | TheresNewMapMode () |
| void | ImpSetGlueVisible2 (bool bOn) |
| void | ImpSetGlueVisible3 (bool bOn) |
| void | ImpSetGlueVisible4 (bool bOn) |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| void | GlueInvalidate () const |
| virtual void | ModelHasChanged () |
| SdrPaintView (SdrModel &rSdrModel, OutputDevice *pOut) | |
| virtual | ~SdrPaintView () override |
| void | ImpFormLayerDrawing (SdrPaintWindow &rPaintWindow) |
Protected Member Functions inherited from SfxBroadcaster | |
| void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Additional Inherited Members | |
Static Protected Member Functions inherited from SdrPaintView | |
| static void | InitOverlayManager (rtl::Reference< sdr::overlay::OverlayManager > xOverlayManager) |
| static vcl::Region | OptimizeDrawLayersRegion (const OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect) |
Definition at line 93 of file svdsnpv.hxx.
|
protected |
Definition at line 168 of file svdsnpv.cxx.
|
overrideprotectedvirtual |
Definition at line 196 of file svdsnpv.cxx.
References BrkDragHelpLine(), and BrkSetPageOrg().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, and SdrMarkView.
Definition at line 230 of file svdsnpv.cxx.
References SdrPaintView::BckAction(), BrkDragHelpLine(), and BrkSetPageOrg().
Referenced by SdrMarkView::BckAction().
| void SdrSnapView::BegDragHelpLine | ( | const Point & | rPnt, |
| SdrHelpLineKind | eNewKind | ||
| ) |
Definition at line 535 of file svdsnpv.cxx.
References BrkAction(), DBG_ASSERT, SdrPaintView::GetSdrPageView(), GetSnapPos(), SdrPaintView::maDragStat, mpHelpLineOverlay, SdrDragStat::Reset(), Point::X(), and Point::Y().
| bool SdrSnapView::BegDragHelpLine | ( | sal_uInt16 | nHelpLineNum, |
| SdrPageView * | pPV | ||
| ) |
Definition at line 509 of file svdsnpv.cxx.
References BrkAction(), DBG_ASSERT, SdrPageView::GetHelpLines(), SdrHelpLine::GetKind(), SdrHelpLine::GetPos(), GetSnapPos(), SdrPaintView::ImpGetMinMovLogic(), SdrPaintView::maDragStat, mpHelpLineOverlay, SdrDragStat::Reset(), SdrDragStat::SetMinMove(), Point::X(), and Point::Y().
Referenced by SdrView::DoMouseEvent().
| void SdrSnapView::BegSetPageOrg | ( | const Point & | rPnt | ) |
Definition at line 440 of file svdsnpv.cxx.
References BrkAction(), DBG_ASSERT, GetSnapPos(), SdrPaintView::maDragStat, mpPageOriginOverlay, SdrDragStat::Reset(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, and SdrMarkView.
Definition at line 237 of file svdsnpv.cxx.
References SdrPaintView::BrkAction(), BrkDragHelpLine(), and BrkSetPageOrg().
Referenced by BegDragHelpLine(), BegSetPageOrg(), and SdrMarkView::BrkAction().
| void SdrSnapView::BrkDragHelpLine | ( | ) |
Definition at line 623 of file svdsnpv.cxx.
References DBG_ASSERT, IsDragHelpLine(), and mpHelpLineOverlay.
Referenced by BckAction(), BrkAction(), EndDragHelpLine(), and ~SdrSnapView().
| void SdrSnapView::BrkSetPageOrg | ( | ) |
Definition at line 478 of file svdsnpv.cxx.
References DBG_ASSERT, IsSetPageOrg(), and mpPageOriginOverlay.
Referenced by BckAction(), BrkAction(), EndSetPageOrg(), and ~SdrSnapView().
| void SdrSnapView::CheckSnap | ( | const Point & | rPt, |
| tools::Long & | nBestXSnap, | ||
| tools::Long & | nBestYSnap, | ||
| bool & | bXSnapped, | ||
| bool & | bYSnapped | ||
| ) | const |
Definition at line 412 of file svdsnpv.cxx.
References SnapPos(), Point::X(), XSNAPPED, Point::Y(), and YSNAPPED.
Referenced by SdrDragMovHdl::MoveSdrDrag().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, and SdrMarkView.
Definition at line 219 of file svdsnpv.cxx.
References SdrPaintView::EndAction(), EndDragHelpLine(), EndSetPageOrg(), IsDragHelpLine(), and IsSetPageOrg().
Referenced by SdrMarkView::EndAction().
| bool SdrSnapView::EndDragHelpLine | ( | ) |
Definition at line 579 of file svdsnpv.cxx.
References BrkDragHelpLine(), ImplHelpLineOverlay::GetHelpLineKind(), ImplHelpLineOverlay::GetHelpLineNumber(), SdrPageView::GetHelpLines(), SdrDragStat::GetNow(), ImplHelpLineOverlay::GetPageView(), SdrPaintView::GetSdrPageView(), SdrPageView::InsertHelpLine(), IsDragHelpLine(), SdrDragStat::IsMinMoved(), SdrPaintView::maDragStat, mpHelpLineOverlay, SdrPageView::SetHelpLine(), and SdrHelpLine::SetPos().
Referenced by EndAction().
| void SdrSnapView::EndSetPageOrg | ( | ) |
Definition at line 461 of file svdsnpv.cxx.
References BrkSetPageOrg(), SdrDragStat::GetNow(), SdrPaintView::GetSdrPageView(), IsSetPageOrg(), SdrPaintView::maDragStat, and SdrPageView::SetPageOrigin().
Referenced by EndAction().
|
inline |
Definition at line 277 of file svdsnpv.hxx.
Referenced by SdrDragCrook::MoveSdrDrag().
| PointerStyle SdrSnapView::GetDraggedHelpLinePointer | ( | ) | const |
Definition at line 548 of file svdsnpv.cxx.
References ImplHelpLineOverlay::GetHelpLineKind(), Horizontal, IsDragHelpLine(), mpHelpLineOverlay, and Vertical.
Referenced by SdrView::GetPreferredPointer().
|
inline |
Definition at line 284 of file svdsnpv.hxx.
Referenced by ImpPathForDragAndCreate::movePathDrag().
|
inline |
Definition at line 224 of file svdsnpv.hxx.
Referenced by SdrCircObj::applySpecialDrag(), SdrDragMovHdl::MoveSdrDrag(), SdrDragRotate::MoveSdrDrag(), and SdrDragShear::MoveSdrDrag().
|
inline |
Definition at line 145 of file svdsnpv.hxx.
|
inline |
Definition at line 146 of file svdsnpv.hxx.
|
inline |
Definition at line 150 of file svdsnpv.hxx.
| Point SdrSnapView::GetSnapPos | ( | const Point & | rPnt, |
| const SdrPageView * | pPV | ||
| ) | const |
Definition at line 254 of file svdsnpv.cxx.
References SnapPos().
Referenced by BegDragHelpLine(), BegSetPageOrg(), SdrCreateView::ImpBegCreateObj(), SdrDragView::ImpBegInsObjPoint(), SdrCreateView::MovCreateObj(), MovDragHelpLine(), and MovSetPageOrg().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, and SdrMarkView.
Definition at line 203 of file svdsnpv.cxx.
References SdrPaintView::IsAction(), IsDragHelpLine(), and IsSetPageOrg().
Referenced by SdrMarkView::IsAction().
|
inline |
Definition at line 222 of file svdsnpv.hxx.
Referenced by SdrCircObj::applySpecialDrag().
|
inline |
Definition at line 258 of file svdsnpv.hxx.
Referenced by SdrObject::ImpDragCalcRect(), SdrTextObj::ImpDragCalcRect(), SdrMeasureObj::ImpEvalDrag(), SdrCreateView::MovCreateObj(), and ImpPathForDragAndCreate::movePathDrag().
|
inline |
Definition at line 166 of file svdsnpv.hxx.
|
inline |
Definition at line 273 of file svdsnpv.hxx.
Referenced by SdrDragCrook::MoveSdrDrag(), and SdrDragDistort::MoveSdrDrag().
|
inline |
Definition at line 207 of file svdsnpv.hxx.
Referenced by BrkDragHelpLine(), EndAction(), EndDragHelpLine(), GetDraggedHelpLinePointer(), SdrView::GetPreferredPointer(), IsAction(), MovAction(), MovDragHelpLine(), SnapPos(), and TakeActionRect().
|
inline |
Definition at line 282 of file svdsnpv.hxx.
Referenced by ImpPathForDragAndCreate::movePathDrag().
|
inline |
Definition at line 165 of file svdsnpv.hxx.
|
inline |
Definition at line 167 of file svdsnpv.hxx.
|
inline |
Definition at line 265 of file svdsnpv.hxx.
Referenced by SdrDragCrook::MoveSdrDrag().
|
inline |
Definition at line 183 of file svdsnpv.hxx.
|
inline |
Definition at line 170 of file svdsnpv.hxx.
|
inline |
Definition at line 168 of file svdsnpv.hxx.
|
inline |
Definition at line 169 of file svdsnpv.hxx.
|
inline |
Definition at line 246 of file svdsnpv.hxx.
Referenced by SdrObject::ImpDragCalcRect(), SdrTextObj::ImpDragCalcRect(), SdrMeasureObj::ImpEvalDrag(), SdrCreateView::MovCreateObj(), ImpPathForDragAndCreate::movePathDrag(), SdrDragMove::MoveSdrDrag(), SdrDragResize::MoveSdrDrag(), SdrDragShear::MoveSdrDrag(), and SdrDragCrook::MoveSdrDrag().
|
inline |
Definition at line 190 of file svdsnpv.hxx.
Referenced by BrkSetPageOrg(), EndAction(), EndSetPageOrg(), SdrView::GetPreferredPointer(), IsAction(), MovAction(), MovSetPageOrg(), and TakeActionRect().
|
inline |
Definition at line 269 of file svdsnpv.hxx.
|
inline |
Definition at line 164 of file svdsnpv.hxx.
Referenced by SdrView::MoveShapeHandle().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, SdrMarkView, and E3dView.
Definition at line 208 of file svdsnpv.cxx.
References IsDragHelpLine(), IsSetPageOrg(), SdrPaintView::MovAction(), MovDragHelpLine(), and MovSetPageOrg().
Referenced by SdrMarkView::MovAction().
| void SdrSnapView::MovDragHelpLine | ( | const Point & | rPnt | ) |
Definition at line 563 of file svdsnpv.cxx.
References SdrDragStat::CheckMinMoved(), DBG_ASSERT, SdrDragStat::GetNow(), GetSnapPos(), IsDragHelpLine(), SdrPaintView::maDragStat, mpHelpLineOverlay, SdrDragStat::NextMove(), ImplHelpLineOverlay::SetPosition(), Point::X(), and Point::Y().
Referenced by MovAction().
| void SdrSnapView::MovSetPageOrg | ( | const Point & | rPnt | ) |
Definition at line 450 of file svdsnpv.cxx.
References DBG_ASSERT, SdrDragStat::GetNow(), GetSnapPos(), IsSetPageOrg(), SdrPaintView::maDragStat, mpPageOriginOverlay, SdrDragStat::NextMove(), ImplPageOriginOverlay::SetPosition(), Point::X(), and Point::Y().
Referenced by MovAction().
| bool SdrSnapView::PickHelpLine | ( | const Point & | rPnt, |
| short | nTol, | ||
| const OutputDevice & | rOut, | ||
| sal_uInt16 & | rnHelpLineNum, | ||
| SdrPageView *& | rpPV | ||
| ) | const |
Definition at line 489 of file svdsnpv.cxx.
References SdrPageView::GetHelpLines(), SdrPaintView::GetSdrPageView(), SdrHelpLineList::HitTest(), SdrPaintView::ImpGetHitTolLogic(), nIndex, and SDRHELPLINE_NOTFOUND.
Referenced by SdrView::PickAnything().
|
inline |
Definition at line 153 of file svdsnpv.hxx.
References OutputDevice::PixelToLogic().
|
inline |
Definition at line 154 of file svdsnpv.hxx.
References SdrPaintView::SetActualWin().
Referenced by SdrView::Command(), SdrView::GetPreferredPointer(), SdrView::KeyInput(), SdrView::MouseButtonDown(), SdrView::MouseButtonUp(), and SdrView::MouseMove().
|
inline |
Definition at line 221 of file svdsnpv.hxx.
Referenced by SdrView::DoMouseEvent().
|
inline |
Definition at line 257 of file svdsnpv.hxx.
|
inline |
Definition at line 173 of file svdsnpv.hxx.
|
inline |
Definition at line 276 of file svdsnpv.hxx.
References eMode.
|
inline |
Definition at line 272 of file svdsnpv.hxx.
|
inline |
Definition at line 283 of file svdsnpv.hxx.
|
inline |
Definition at line 281 of file svdsnpv.hxx.
|
inline |
Definition at line 172 of file svdsnpv.hxx.
|
inline |
Definition at line 174 of file svdsnpv.hxx.
|
inline |
Definition at line 264 of file svdsnpv.hxx.
|
inline |
Definition at line 182 of file svdsnpv.hxx.
|
inline |
Definition at line 177 of file svdsnpv.hxx.
|
inline |
Definition at line 175 of file svdsnpv.hxx.
|
inline |
Definition at line 176 of file svdsnpv.hxx.
|
inline |
Definition at line 245 of file svdsnpv.hxx.
Referenced by SdrView::DoMouseEvent().
|
inline |
Definition at line 268 of file svdsnpv.hxx.
|
inline |
Definition at line 223 of file svdsnpv.hxx.
|
inline |
Definition at line 171 of file svdsnpv.hxx.
Referenced by SdrView::DoMouseEvent(), and SdrView::MoveShapeHandle().
Definition at line 144 of file svdsnpv.hxx.
|
inline |
Definition at line 148 of file svdsnpv.hxx.
|
inline |
Definition at line 149 of file svdsnpv.hxx.
| SdrSnap SdrSnapView::SnapPos | ( | Point & | rPnt, |
| const SdrPageView * | pPV | ||
| ) | const |
Definition at line 262 of file svdsnpv.cxx.
References a, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aMagnSiz, aSnapWdtX, aSnapWdtY, bBordSnap, bGridSnap, bHlplSnap, bOFrmSnap, bOPntSnap, tools::Rectangle::Bottom(), bSnapEnab, tools::Rectangle::Contains(), DeepNoGroups, SdrHelpLineList::GetCount(), SdrObject::GetCurrentBoundRect(), SdrPage::GetHeight(), SdrPageView::GetHelpLines(), SdrHelpLine::GetKind(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), SdrPageView::GetPage(), SdrPageView::GetPageOrigin(), SdrHelpLine::GetPos(), SdrPage::GetRightBorder(), SdrPaintView::GetSdrPageView(), SdrObject::GetSnapPoint(), SdrObject::GetSnapPointCount(), SdrObject::GetSnapRect(), SdrPage::GetUpperBorder(), SdrPage::GetWidth(), Size::Height(), Horizontal, i, IsDragHelpLine(), SdrObjListIter::IsMore(), tools::Rectangle::Left(), SdrPaintView::mbBordVisible, SdrPaintView::mbHlplVisible, nCount, SdrObjListIter::Next(), NOT_SNAPPED, NOTSNAPPED, Point, tools::Rectangle::Right(), Point::setX(), Point::setY(), tools::Rectangle::Top(), Vertical, Size::Width(), x, Point::X(), XSNAPPED, y, Point::Y(), and YSNAPPED.
Referenced by CheckSnap(), and GetSnapPos().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrCreateView, SdrDragView, SdrObjEditView, and SdrMarkView.
Definition at line 244 of file svdsnpv.cxx.
References SdrDragStat::GetNow(), IsDragHelpLine(), IsSetPageOrg(), SdrPaintView::maDragStat, and SdrPaintView::TakeActionRect().
Referenced by SdrMarkView::TakeActionRect().
|
protected |
Definition at line 102 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 103 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 104 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 122 of file svdsnpv.hxx.
|
protected |
Definition at line 121 of file svdsnpv.hxx.
|
protected |
Definition at line 114 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 125 of file svdsnpv.hxx.
|
protected |
Definition at line 126 of file svdsnpv.hxx.
Referenced by SdrDragView::EndDragObj().
|
protected |
Definition at line 113 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 115 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 123 of file svdsnpv.hxx.
|
protected |
Definition at line 119 of file svdsnpv.hxx.
|
protected |
Definition at line 118 of file svdsnpv.hxx.
|
protected |
Definition at line 116 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 117 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 120 of file svdsnpv.hxx.
|
protected |
Definition at line 124 of file svdsnpv.hxx.
|
protected |
Definition at line 112 of file svdsnpv.hxx.
Referenced by SnapPos().
|
protected |
Definition at line 110 of file svdsnpv.hxx.
|
protected |
Definition at line 100 of file svdsnpv.hxx.
Referenced by BegDragHelpLine(), BrkDragHelpLine(), EndDragHelpLine(), GetDraggedHelpLinePointer(), and MovDragHelpLine().
|
protected |
Definition at line 97 of file svdsnpv.hxx.
Referenced by BegSetPageOrg(), BrkSetPageOrg(), and MovSetPageOrg().
|
protected |
Definition at line 108 of file svdsnpv.hxx.
|
protected |
Definition at line 106 of file svdsnpv.hxx.
|
protected |
Definition at line 107 of file svdsnpv.hxx.