LibreOffice Module svx (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SdrSnapView Class Reference

#include <svdsnpv.hxx>

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

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 FractionGetSnapGridWidthX () const
 
const FractionGetSnapGridWidthY () 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::OverlayManagerCreateOverlayManager (OutputDevice &rDevice) const
 
sal_uInt32 PaintWindowCount () const
 
SdrPaintWindowFindPaintWindow (const OutputDevice &rOut) const
 
SdrPaintWindowGetPaintWindow (sal_uInt32 nIndex) const
 
OutputDeviceGetFirstOutputDevice () const
 
bool ImpIsGlueVisible () const
 
SdrModelgetSdrModelFromSdrView () const
 
SdrModelGetModel () 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 SdrDragStatGetDragStat () const
 
virtual SdrPageViewShowSdrPage (SdrPage *pPage)
 
virtual void HideSdrPage ()
 
SdrPageViewGetSdrPageView () 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 SdrPaintWindowBeginCompleteRedraw (OutputDevice *pOut)
 
void DoCompleteRedraw (SdrPaintWindow &rPaintWindow, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr)
 
virtual void EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer)
 
SdrPaintWindowBeginDrawLayers (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 ColorGetGridColor () 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 SizeGetGridCoarse () const
 
const SizeGetGridFine () 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 SfxItemSetGetDefaultAttr () 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)
 
SfxStyleSheetGetStyleSheet () 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::ColorConfiggetColorConfig () 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
 
SfxBroadcasterGetBroadcasterJOE (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)
 

Protected Attributes

class ImplPageOriginOverlaympPageOriginOverlay
 
class ImplHelpLineOverlaympHelpLineOverlay
 
Size aMagnSiz
 
Fraction aSnapWdtX
 
Fraction aSnapWdtY
 
sal_uInt16 nMagnSizPix
 
Degree100 nSnapAngle
 
Degree100 nEliminatePolyPointLimitAngle
 
SdrCrookMode eCrookMode
 
bool bSnapEnab: 1
 
bool bGridSnap: 1
 
bool bBordSnap: 1
 
bool bHlplSnap: 1
 
bool bOFrmSnap: 1
 
bool bOPntSnap: 1
 
bool bOConSnap: 1
 
bool bMoveSnapOnlyTopLeft: 1
 
bool bOrtho: 1
 
bool bBigOrtho: 1
 
bool bAngleSnapEnab: 1
 
bool bMoveOnlyDragging: 1
 
bool bSlantButShear: 1
 
bool bCrookNoContortion: 1
 
bool bEliminatePolyPoints: 1
 
- Protected Attributes inherited from SdrPaintView
VclPtr< OutputDevicempActualOutDev
 
VclPtr< OutputDevicempDragWin
 
SfxStyleSheetmpDefaultStyleSheet
 
OUString maActualLayer
 
OUString maMeasureLayer
 
std::vector< std::unique_ptr< SdrPaintWindow > > maPaintWindows
 
Size maGridBig
 
Size maGridFin
 
SdrDragStat maDragStat
 
tools::Rectangle maMaxWorkArea
 
SfxItemSet maDefaultAttr
 
Idle maComeBackIdle
 
SdrAnimationMode meAnimationMode
 
sal_uInt16 mnHitTolPix
 
sal_uInt16 mnMinMovPix
 
sal_uInt16 mnHitTolLog
 
sal_uInt16 mnMinMovLog
 
bool mbPageVisible: 1
 
bool mbPageShadowVisible: 1
 
bool mbPageBorderVisible: 1
 
bool mbBordVisible: 1
 
bool mbGridVisible: 1
 
bool mbGridFront: 1
 
bool mbHlplVisible: 1
 
bool mbHlplFront: 1
 
bool mbGlueVisible: 1
 
bool mbGlueVisible2: 1
 
bool mbGlueVisible3: 1
 
bool mbGlueVisible4: 1
 
bool mbSomeObjChgdFlag: 1
 
bool mbSwapAsynchron: 1
 
bool mbPrintPreview: 1
 
bool mbAnimationPause: 1
 
bool mbBufferedOutputAllowed: 1
 
bool mbBufferedOverlayAllowed: 1
 
bool mbPageDecorationAllowed: 1
 
bool mbMasterPageVisualizationAllowed: 1
 
bool mbPreviewRenderer: 1
 
bool mbHideOle: 1
 
bool mbHideChart: 1
 
bool mbHideDraw: 1
 
bool mbHideFormControl: 1
 
bool mbPaintTextEdit: 1
 
svtools::ColorConfig maColorConfig
 
Color maGridColor
 

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)
 

Detailed Description

Definition at line 93 of file svdsnpv.hxx.

Constructor & Destructor Documentation

◆ SdrSnapView()

SdrSnapView::SdrSnapView ( SdrModel rSdrModel,
OutputDevice pOut 
)
protected

Definition at line 168 of file svdsnpv.cxx.

References pOut, and Rotate.

◆ ~SdrSnapView()

SdrSnapView::~SdrSnapView ( )
overrideprotectedvirtual

Definition at line 196 of file svdsnpv.cxx.

References BrkDragHelpLine(), and BrkSetPageOrg().

Member Function Documentation

◆ BckAction()

void SdrSnapView::BckAction ( )
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().

◆ BegDragHelpLine() [1/2]

void SdrSnapView::BegDragHelpLine ( const Point rPnt,
SdrHelpLineKind  eNewKind 
)

◆ BegDragHelpLine() [2/2]

bool SdrSnapView::BegDragHelpLine ( sal_uInt16  nHelpLineNum,
SdrPageView pPV 
)

◆ BegSetPageOrg()

void SdrSnapView::BegSetPageOrg ( const Point rPnt)

◆ BrkAction()

void SdrSnapView::BrkAction ( )
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().

◆ BrkDragHelpLine()

void SdrSnapView::BrkDragHelpLine ( )

Definition at line 623 of file svdsnpv.cxx.

References DBG_ASSERT, IsDragHelpLine(), and mpHelpLineOverlay.

Referenced by BckAction(), BrkAction(), EndDragHelpLine(), and ~SdrSnapView().

◆ BrkSetPageOrg()

void SdrSnapView::BrkSetPageOrg ( )

Definition at line 478 of file svdsnpv.cxx.

References DBG_ASSERT, IsSetPageOrg(), and mpPageOriginOverlay.

Referenced by BckAction(), BrkAction(), EndSetPageOrg(), and ~SdrSnapView().

◆ CheckSnap()

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().

◆ EndAction()

void SdrSnapView::EndAction ( )
overridevirtual

◆ EndDragHelpLine()

bool SdrSnapView::EndDragHelpLine ( )

◆ EndSetPageOrg()

void SdrSnapView::EndSetPageOrg ( )

◆ GetCrookMode()

SdrCrookMode SdrSnapView::GetCrookMode ( ) const
inline

Definition at line 277 of file svdsnpv.hxx.

Referenced by SdrDragCrook::MoveSdrDrag().

◆ GetDraggedHelpLinePointer()

PointerStyle SdrSnapView::GetDraggedHelpLinePointer ( ) const

◆ GetEliminatePolyPointLimitAngle()

Degree100 SdrSnapView::GetEliminatePolyPointLimitAngle ( ) const
inline

Definition at line 284 of file svdsnpv.hxx.

Referenced by ImpPathForDragAndCreate::movePathDrag().

◆ GetSnapAngle()

Degree100 SdrSnapView::GetSnapAngle ( ) const
inline

◆ GetSnapGridWidthX()

const Fraction & SdrSnapView::GetSnapGridWidthX ( ) const
inline

Definition at line 145 of file svdsnpv.hxx.

◆ GetSnapGridWidthY()

const Fraction & SdrSnapView::GetSnapGridWidthY ( ) const
inline

Definition at line 146 of file svdsnpv.hxx.

◆ GetSnapMagneticPixel()

sal_uInt16 SdrSnapView::GetSnapMagneticPixel ( ) const
inline

Definition at line 150 of file svdsnpv.hxx.

◆ GetSnapPos()

Point SdrSnapView::GetSnapPos ( const Point rPnt,
const SdrPageView pPV 
) const

◆ IsAction()

bool SdrSnapView::IsAction ( ) const
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().

◆ IsAngleSnapEnabled()

bool SdrSnapView::IsAngleSnapEnabled ( ) const
inline

Definition at line 222 of file svdsnpv.hxx.

Referenced by SdrCircObj::applySpecialDrag().

◆ IsBigOrtho()

bool SdrSnapView::IsBigOrtho ( ) const
inline

◆ IsBordSnap()

bool SdrSnapView::IsBordSnap ( ) const
inline

Definition at line 166 of file svdsnpv.hxx.

◆ IsCrookNoContortion()

bool SdrSnapView::IsCrookNoContortion ( ) const
inline

Definition at line 273 of file svdsnpv.hxx.

Referenced by SdrDragCrook::MoveSdrDrag(), and SdrDragDistort::MoveSdrDrag().

◆ IsDragHelpLine()

bool SdrSnapView::IsDragHelpLine ( ) const
inline

◆ IsEliminatePolyPoints()

bool SdrSnapView::IsEliminatePolyPoints ( ) const
inline

Definition at line 282 of file svdsnpv.hxx.

Referenced by ImpPathForDragAndCreate::movePathDrag().

◆ IsGridSnap()

bool SdrSnapView::IsGridSnap ( ) const
inline

Definition at line 165 of file svdsnpv.hxx.

◆ IsHlplSnap()

bool SdrSnapView::IsHlplSnap ( ) const
inline

Definition at line 167 of file svdsnpv.hxx.

◆ IsMoveOnlyDragging()

bool SdrSnapView::IsMoveOnlyDragging ( ) const
inline

Definition at line 265 of file svdsnpv.hxx.

Referenced by SdrDragCrook::MoveSdrDrag().

◆ IsMoveSnapOnlyTopLeft()

bool SdrSnapView::IsMoveSnapOnlyTopLeft ( ) const
inline

Definition at line 183 of file svdsnpv.hxx.

◆ IsOConSnap()

bool SdrSnapView::IsOConSnap ( ) const
inline

Definition at line 170 of file svdsnpv.hxx.

◆ IsOFrmSnap()

bool SdrSnapView::IsOFrmSnap ( ) const
inline

Definition at line 168 of file svdsnpv.hxx.

◆ IsOPntSnap()

bool SdrSnapView::IsOPntSnap ( ) const
inline

Definition at line 169 of file svdsnpv.hxx.

◆ IsOrtho()

bool SdrSnapView::IsOrtho ( ) const
inline

◆ IsSetPageOrg()

bool SdrSnapView::IsSetPageOrg ( ) const
inline

◆ IsSlantButShear()

bool SdrSnapView::IsSlantButShear ( ) const
inline

Definition at line 269 of file svdsnpv.hxx.

◆ IsSnapEnabled()

bool SdrSnapView::IsSnapEnabled ( ) const
inline

Definition at line 164 of file svdsnpv.hxx.

Referenced by SdrView::MoveShapeHandle().

◆ MovAction()

void SdrSnapView::MovAction ( const Point rPnt)
overridevirtual

◆ MovDragHelpLine()

void SdrSnapView::MovDragHelpLine ( const Point rPnt)

◆ MovSetPageOrg()

void SdrSnapView::MovSetPageOrg ( const Point rPnt)

◆ PickHelpLine()

bool SdrSnapView::PickHelpLine ( const Point rPnt,
short  nTol,
const OutputDevice rOut,
sal_uInt16 &  rnHelpLineNum,
SdrPageView *&  rpPV 
) const

◆ RecalcLogicSnapMagnetic()

void SdrSnapView::RecalcLogicSnapMagnetic ( const OutputDevice rOut)
inline

Definition at line 153 of file svdsnpv.hxx.

References OutputDevice::PixelToLogic().

◆ SetActualWin()

void SdrSnapView::SetActualWin ( const OutputDevice pWin)
inline

◆ SetAngleSnapEnabled()

void SdrSnapView::SetAngleSnapEnabled ( bool  bOn)
inline

Definition at line 221 of file svdsnpv.hxx.

Referenced by SdrView::DoMouseEvent().

◆ SetBigOrtho()

void SdrSnapView::SetBigOrtho ( bool  bOn)
inline

Definition at line 257 of file svdsnpv.hxx.

◆ SetBordSnap()

void SdrSnapView::SetBordSnap ( bool  bOn)
inline

Definition at line 173 of file svdsnpv.hxx.

◆ SetCrookMode()

void SdrSnapView::SetCrookMode ( SdrCrookMode  eMode)
inline

Definition at line 276 of file svdsnpv.hxx.

References eMode.

◆ SetCrookNoContortion()

void SdrSnapView::SetCrookNoContortion ( bool  bOn)
inline

Definition at line 272 of file svdsnpv.hxx.

◆ SetEliminatePolyPointLimitAngle()

void SdrSnapView::SetEliminatePolyPointLimitAngle ( Degree100  nAngle)
inline

Definition at line 283 of file svdsnpv.hxx.

◆ SetEliminatePolyPoints()

void SdrSnapView::SetEliminatePolyPoints ( bool  bOn)
inline

Definition at line 281 of file svdsnpv.hxx.

◆ SetGridSnap()

void SdrSnapView::SetGridSnap ( bool  bOn)
inline

Definition at line 172 of file svdsnpv.hxx.

◆ SetHlplSnap()

void SdrSnapView::SetHlplSnap ( bool  bOn)
inline

Definition at line 174 of file svdsnpv.hxx.

◆ SetMoveOnlyDragging()

void SdrSnapView::SetMoveOnlyDragging ( bool  bOn)
inline

Definition at line 264 of file svdsnpv.hxx.

◆ SetMoveSnapOnlyTopLeft()

void SdrSnapView::SetMoveSnapOnlyTopLeft ( bool  bOn)
inline

Definition at line 182 of file svdsnpv.hxx.

◆ SetOConSnap()

void SdrSnapView::SetOConSnap ( bool  bOn)
inline

Definition at line 177 of file svdsnpv.hxx.

◆ SetOFrmSnap()

void SdrSnapView::SetOFrmSnap ( bool  bOn)
inline

Definition at line 175 of file svdsnpv.hxx.

◆ SetOPntSnap()

void SdrSnapView::SetOPntSnap ( bool  bOn)
inline

Definition at line 176 of file svdsnpv.hxx.

◆ SetOrtho()

void SdrSnapView::SetOrtho ( bool  bOn)
inline

Definition at line 245 of file svdsnpv.hxx.

Referenced by SdrView::DoMouseEvent().

◆ SetSlantButShear()

void SdrSnapView::SetSlantButShear ( bool  bOn)
inline

Definition at line 268 of file svdsnpv.hxx.

◆ SetSnapAngle()

void SdrSnapView::SetSnapAngle ( Degree100  nAngle)
inline

Definition at line 223 of file svdsnpv.hxx.

◆ SetSnapEnabled()

void SdrSnapView::SetSnapEnabled ( bool  bOn)
inline

Definition at line 171 of file svdsnpv.hxx.

Referenced by SdrView::DoMouseEvent(), and SdrView::MoveShapeHandle().

◆ SetSnapGridWidth()

void SdrSnapView::SetSnapGridWidth ( const Fraction rX,
const Fraction rY 
)
inline

Definition at line 144 of file svdsnpv.hxx.

◆ SetSnapMagnetic()

void SdrSnapView::SetSnapMagnetic ( const Size rSiz)
inline

Definition at line 148 of file svdsnpv.hxx.

◆ SetSnapMagneticPixel()

void SdrSnapView::SetSnapMagneticPixel ( sal_uInt16  nPix)
inline

Definition at line 149 of file svdsnpv.hxx.

◆ SnapPos()

SdrSnap SdrSnapView::SnapPos ( Point rPnt,
const SdrPageView pPV 
) const

◆ TakeActionRect()

void SdrSnapView::TakeActionRect ( tools::Rectangle rRect) const
overridevirtual

Member Data Documentation

◆ aMagnSiz

Size SdrSnapView::aMagnSiz
protected

Definition at line 102 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ aSnapWdtX

Fraction SdrSnapView::aSnapWdtX
protected

Definition at line 103 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ aSnapWdtY

Fraction SdrSnapView::aSnapWdtY
protected

Definition at line 104 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ bAngleSnapEnab

bool SdrSnapView::bAngleSnapEnab
protected

Definition at line 122 of file svdsnpv.hxx.

◆ bBigOrtho

bool SdrSnapView::bBigOrtho
protected

Definition at line 121 of file svdsnpv.hxx.

◆ bBordSnap

bool SdrSnapView::bBordSnap
protected

Definition at line 114 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ bCrookNoContortion

bool SdrSnapView::bCrookNoContortion
protected

Definition at line 125 of file svdsnpv.hxx.

◆ bEliminatePolyPoints

bool SdrSnapView::bEliminatePolyPoints
protected

Definition at line 126 of file svdsnpv.hxx.

Referenced by SdrDragView::EndDragObj().

◆ bGridSnap

bool SdrSnapView::bGridSnap
protected

Definition at line 113 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ bHlplSnap

bool SdrSnapView::bHlplSnap
protected

Definition at line 115 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ bMoveOnlyDragging

bool SdrSnapView::bMoveOnlyDragging
protected

Definition at line 123 of file svdsnpv.hxx.

◆ bMoveSnapOnlyTopLeft

bool SdrSnapView::bMoveSnapOnlyTopLeft
protected

Definition at line 119 of file svdsnpv.hxx.

◆ bOConSnap

bool SdrSnapView::bOConSnap
protected

Definition at line 118 of file svdsnpv.hxx.

◆ bOFrmSnap

bool SdrSnapView::bOFrmSnap
protected

Definition at line 116 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ bOPntSnap

bool SdrSnapView::bOPntSnap
protected

Definition at line 117 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ bOrtho

bool SdrSnapView::bOrtho
protected

Definition at line 120 of file svdsnpv.hxx.

◆ bSlantButShear

bool SdrSnapView::bSlantButShear
protected

Definition at line 124 of file svdsnpv.hxx.

◆ bSnapEnab

bool SdrSnapView::bSnapEnab
protected

Definition at line 112 of file svdsnpv.hxx.

Referenced by SnapPos().

◆ eCrookMode

SdrCrookMode SdrSnapView::eCrookMode
protected

Definition at line 110 of file svdsnpv.hxx.

◆ mpHelpLineOverlay

class ImplHelpLineOverlay* SdrSnapView::mpHelpLineOverlay
protected

◆ mpPageOriginOverlay

class ImplPageOriginOverlay* SdrSnapView::mpPageOriginOverlay
protected

Definition at line 97 of file svdsnpv.hxx.

Referenced by BegSetPageOrg(), BrkSetPageOrg(), and MovSetPageOrg().

◆ nEliminatePolyPointLimitAngle

Degree100 SdrSnapView::nEliminatePolyPointLimitAngle
protected

Definition at line 108 of file svdsnpv.hxx.

◆ nMagnSizPix

sal_uInt16 SdrSnapView::nMagnSizPix
protected

Definition at line 106 of file svdsnpv.hxx.

◆ nSnapAngle

Degree100 SdrSnapView::nSnapAngle
protected

Definition at line 107 of file svdsnpv.hxx.


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