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, long &nBestXSnap, 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 (long nAngle)
 
long 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 (long nAngle)
 
long GetEliminatePolyPointLimitAngle () const
 
- Public Member Functions inherited from SdrPaintView
bool IsBufferedOutputAllowed () const
 
void SetBufferedOutputAllowed (bool bNew)
 
bool IsBufferedOverlayAllowed () const
 
void SetBufferedOverlayAllowed (bool bNew)
 
bool IsPagePaintingAllowed () const
 
void SetPagePaintingAllowed (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 ()
 
SdrModelgetSdrModelFromSdrView () const
 
virtual void ClearPageView ()
 
SdrModelGetModel () 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 AddWindowToPaintView (OutputDevice *pNewWin, vcl::Window *pWindow)
 
virtual void DeleteWindowFromPaintView (OutputDevice *pOldWin)
 
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 (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 ShowItemBrowser (bool bShow)
 The Browser is destroyed for bShow=false. More...
 
bool IsItemBrowserVisible () const
 
vcl::WindowGetItemBrowser () const
 
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)
 
const SvtOptionsDrawinglayergetOptionsDrawinglayer () const
 
- 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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
- Public Member Functions inherited from SfxRepeatTarget
virtual ~SfxRepeatTarget ()=0
 
- 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
 
size_t GetSizeOfVector () const
 
SfxListenerGetListener (size_t nNo) 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 (SdrPaintWindow &rOld)
 
void ConfigurationChanged (::utl::ConfigurationBroadcaster *, ConfigurationHints) override
 
void InitOverlayManager (rtl::Reference< sdr::overlay::OverlayManager > xOverlayManager) const
 
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
 
long nSnapAngle
 
long 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
SdrModelmpModel
 
VclPtr< SdrItemBrowsermpItemBrowser
 
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
 
SvtOptionsDrawinglayer const maDrawinglayerOpt
 
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 mbPagePaintingAllowed: 1
 
bool mbPreviewRenderer: 1
 
bool mbHideOle: 1
 
bool mbHideChart: 1
 
bool mbHideDraw: 1
 
bool mbHideFormControl: 1
 
svtools::ColorConfig maColorConfig
 
Color maGridColor
 

Additional Inherited Members

- Static Protected Member Functions inherited from SdrPaintView
static vcl::Region OptimizeDrawLayersRegion (OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect)
 

Detailed Description

Definition at line 93 of file svdsnpv.hxx.

Constructor & Destructor Documentation

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

Definition at line 170 of file svdsnpv.cxx.

References Rotate().

SdrSnapView::~SdrSnapView ( )
overrideprotectedvirtual

Definition at line 198 of file svdsnpv.cxx.

References BrkDragHelpLine(), and BrkSetPageOrg().

Member Function Documentation

void SdrSnapView::BckAction ( )
overridevirtual

Reimplemented from SdrPaintView.

Reimplemented in SdrMarkView, SdrObjEditView, SdrCreateView, and SdrDragView.

Definition at line 232 of file svdsnpv.cxx.

References SdrPaintView::BckAction(), BrkDragHelpLine(), and BrkSetPageOrg().

Referenced by SdrMarkView::BckAction().

bool SdrSnapView::BegDragHelpLine ( sal_uInt16  nHelpLineNum,
SdrPageView pPV 
)
void SdrSnapView::BegDragHelpLine ( const Point rPnt,
SdrHelpLineKind  eNewKind 
)
void SdrSnapView::BegSetPageOrg ( const Point rPnt)
void SdrSnapView::BrkAction ( )
overridevirtual

Reimplemented from SdrPaintView.

Reimplemented in SdrMarkView, SdrObjEditView, SdrCreateView, and SdrDragView.

Definition at line 239 of file svdsnpv.cxx.

References SdrPaintView::BrkAction(), BrkDragHelpLine(), and BrkSetPageOrg().

Referenced by BegDragHelpLine(), BegSetPageOrg(), and SdrMarkView::BrkAction().

void SdrSnapView::BrkDragHelpLine ( )

Definition at line 625 of file svdsnpv.cxx.

References DBG_ASSERT, IsDragHelpLine(), and mpHelpLineOverlay.

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

void SdrSnapView::BrkSetPageOrg ( )

Definition at line 480 of file svdsnpv.cxx.

References DBG_ASSERT, IsSetPageOrg(), and mpPageOriginOverlay.

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

void SdrSnapView::CheckSnap ( const Point rPt,
long &  nBestXSnap,
long &  nBestYSnap,
bool &  bXSnapped,
bool &  bYSnapped 
) const

Definition at line 414 of file svdsnpv.cxx.

References SnapPos(), Point::X(), XSNAPPED, Point::Y(), and YSNAPPED.

Referenced by SdrDragMovHdl::MoveSdrDrag().

void SdrSnapView::EndAction ( )
overridevirtual
bool SdrSnapView::EndDragHelpLine ( )
void SdrSnapView::EndSetPageOrg ( )
SdrCrookMode SdrSnapView::GetCrookMode ( ) const
inline

Definition at line 277 of file svdsnpv.hxx.

Referenced by SdrDragCrook::MoveSdrDrag().

PointerStyle SdrSnapView::GetDraggedHelpLinePointer ( ) const
long SdrSnapView::GetEliminatePolyPointLimitAngle ( ) const
inline

Definition at line 284 of file svdsnpv.hxx.

Referenced by ImpPathForDragAndCreate::movePathDrag().

long SdrSnapView::GetSnapAngle ( ) const
inline
const Fraction& SdrSnapView::GetSnapGridWidthX ( ) const
inline

Definition at line 145 of file svdsnpv.hxx.

const Fraction& SdrSnapView::GetSnapGridWidthY ( ) const
inline

Definition at line 146 of file svdsnpv.hxx.

sal_uInt16 SdrSnapView::GetSnapMagneticPixel ( ) const
inline

Definition at line 150 of file svdsnpv.hxx.

Point SdrSnapView::GetSnapPos ( const Point rPnt,
const SdrPageView pPV 
) const
bool SdrSnapView::IsAction ( ) const
overridevirtual

Reimplemented from SdrPaintView.

Reimplemented in SdrMarkView, SdrObjEditView, SdrCreateView, and SdrDragView.

Definition at line 205 of file svdsnpv.cxx.

References SdrPaintView::IsAction(), IsDragHelpLine(), and IsSetPageOrg().

Referenced by SdrMarkView::IsAction().

bool SdrSnapView::IsAngleSnapEnabled ( ) const
inline
bool SdrSnapView::IsBigOrtho ( ) const
inline
bool SdrSnapView::IsBordSnap ( ) const
inline

Definition at line 166 of file svdsnpv.hxx.

bool SdrSnapView::IsCrookNoContortion ( ) const
inline

Definition at line 273 of file svdsnpv.hxx.

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

bool SdrSnapView::IsDragHelpLine ( ) const
inline
bool SdrSnapView::IsEliminatePolyPoints ( ) const
inline

Definition at line 282 of file svdsnpv.hxx.

Referenced by ImpPathForDragAndCreate::movePathDrag().

bool SdrSnapView::IsGridSnap ( ) const
inline

Definition at line 165 of file svdsnpv.hxx.

bool SdrSnapView::IsHlplSnap ( ) const
inline

Definition at line 167 of file svdsnpv.hxx.

bool SdrSnapView::IsMoveOnlyDragging ( ) const
inline

Definition at line 265 of file svdsnpv.hxx.

Referenced by SdrDragCrook::MoveSdrDrag().

bool SdrSnapView::IsMoveSnapOnlyTopLeft ( ) const
inline

Definition at line 183 of file svdsnpv.hxx.

bool SdrSnapView::IsOConSnap ( ) const
inline

Definition at line 170 of file svdsnpv.hxx.

bool SdrSnapView::IsOFrmSnap ( ) const
inline

Definition at line 168 of file svdsnpv.hxx.

bool SdrSnapView::IsOPntSnap ( ) const
inline

Definition at line 169 of file svdsnpv.hxx.

bool SdrSnapView::IsOrtho ( ) const
inline
bool SdrSnapView::IsSetPageOrg ( ) const
inline
bool SdrSnapView::IsSlantButShear ( ) const
inline

Definition at line 269 of file svdsnpv.hxx.

bool SdrSnapView::IsSnapEnabled ( ) const
inline

Definition at line 164 of file svdsnpv.hxx.

void SdrSnapView::MovAction ( const Point rPnt)
overridevirtual
void SdrSnapView::MovDragHelpLine ( const Point rPnt)
void SdrSnapView::MovSetPageOrg ( const Point rPnt)
bool SdrSnapView::PickHelpLine ( const Point rPnt,
short  nTol,
const OutputDevice rOut,
sal_uInt16 &  rnHelpLineNum,
SdrPageView *&  rpPV 
) const
void SdrSnapView::RecalcLogicSnapMagnetic ( const OutputDevice rOut)
inline

Definition at line 153 of file svdsnpv.hxx.

References OutputDevice::PixelToLogic().

void SdrSnapView::SetActualWin ( const OutputDevice pWin)
inline
void SdrSnapView::SetAngleSnapEnabled ( bool  bOn)
inline

Definition at line 221 of file svdsnpv.hxx.

Referenced by SdrView::DoMouseEvent().

void SdrSnapView::SetBigOrtho ( bool  bOn)
inline

Definition at line 257 of file svdsnpv.hxx.

void SdrSnapView::SetBordSnap ( bool  bOn)
inline

Definition at line 173 of file svdsnpv.hxx.

void SdrSnapView::SetCrookMode ( SdrCrookMode  eMode)
inline

Definition at line 276 of file svdsnpv.hxx.

void SdrSnapView::SetCrookNoContortion ( bool  bOn)
inline

Definition at line 272 of file svdsnpv.hxx.

void SdrSnapView::SetEliminatePolyPointLimitAngle ( long  nAngle)
inline

Definition at line 283 of file svdsnpv.hxx.

void SdrSnapView::SetEliminatePolyPoints ( bool  bOn)
inline

Definition at line 281 of file svdsnpv.hxx.

void SdrSnapView::SetGridSnap ( bool  bOn)
inline

Definition at line 172 of file svdsnpv.hxx.

void SdrSnapView::SetHlplSnap ( bool  bOn)
inline

Definition at line 174 of file svdsnpv.hxx.

void SdrSnapView::SetMoveOnlyDragging ( bool  bOn)
inline

Definition at line 264 of file svdsnpv.hxx.

void SdrSnapView::SetMoveSnapOnlyTopLeft ( bool  bOn)
inline

Definition at line 182 of file svdsnpv.hxx.

void SdrSnapView::SetOConSnap ( bool  bOn)
inline

Definition at line 177 of file svdsnpv.hxx.

void SdrSnapView::SetOFrmSnap ( bool  bOn)
inline

Definition at line 175 of file svdsnpv.hxx.

void SdrSnapView::SetOPntSnap ( bool  bOn)
inline

Definition at line 176 of file svdsnpv.hxx.

void SdrSnapView::SetOrtho ( bool  bOn)
inline

Definition at line 245 of file svdsnpv.hxx.

Referenced by SdrView::DoMouseEvent().

void SdrSnapView::SetSlantButShear ( bool  bOn)
inline

Definition at line 268 of file svdsnpv.hxx.

void SdrSnapView::SetSnapAngle ( long  nAngle)
inline

Definition at line 223 of file svdsnpv.hxx.

void SdrSnapView::SetSnapEnabled ( bool  bOn)
inline

Definition at line 171 of file svdsnpv.hxx.

Referenced by SdrView::DoMouseEvent().

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

Definition at line 144 of file svdsnpv.hxx.

void SdrSnapView::SetSnapMagnetic ( const Size rSiz)
inline

Definition at line 148 of file svdsnpv.hxx.

void SdrSnapView::SetSnapMagneticPixel ( sal_uInt16  nPix)
inline

Definition at line 149 of file svdsnpv.hxx.

SdrSnap SdrSnapView::SnapPos ( Point rPnt,
const SdrPageView pPV 
) const
void SdrSnapView::TakeActionRect ( tools::Rectangle rRect) const
overridevirtual

Member Data Documentation

Size SdrSnapView::aMagnSiz
protected

Definition at line 102 of file svdsnpv.hxx.

Referenced by SnapPos().

Fraction SdrSnapView::aSnapWdtX
protected

Definition at line 103 of file svdsnpv.hxx.

Referenced by SnapPos().

Fraction SdrSnapView::aSnapWdtY
protected

Definition at line 104 of file svdsnpv.hxx.

Referenced by SnapPos().

bool SdrSnapView::bAngleSnapEnab
protected

Definition at line 122 of file svdsnpv.hxx.

bool SdrSnapView::bBigOrtho
protected

Definition at line 121 of file svdsnpv.hxx.

bool SdrSnapView::bBordSnap
protected

Definition at line 114 of file svdsnpv.hxx.

Referenced by SnapPos().

bool SdrSnapView::bCrookNoContortion
protected

Definition at line 125 of file svdsnpv.hxx.

bool SdrSnapView::bEliminatePolyPoints
protected

Definition at line 126 of file svdsnpv.hxx.

Referenced by SdrDragView::EndDragObj().

bool SdrSnapView::bGridSnap
protected

Definition at line 113 of file svdsnpv.hxx.

Referenced by SnapPos().

bool SdrSnapView::bHlplSnap
protected

Definition at line 115 of file svdsnpv.hxx.

Referenced by SnapPos().

bool SdrSnapView::bMoveOnlyDragging
protected

Definition at line 123 of file svdsnpv.hxx.

bool SdrSnapView::bMoveSnapOnlyTopLeft
protected

Definition at line 119 of file svdsnpv.hxx.

bool SdrSnapView::bOConSnap
protected

Definition at line 118 of file svdsnpv.hxx.

bool SdrSnapView::bOFrmSnap
protected

Definition at line 116 of file svdsnpv.hxx.

Referenced by SnapPos().

bool SdrSnapView::bOPntSnap
protected

Definition at line 117 of file svdsnpv.hxx.

Referenced by SnapPos().

bool SdrSnapView::bOrtho
protected

Definition at line 120 of file svdsnpv.hxx.

bool SdrSnapView::bSlantButShear
protected

Definition at line 124 of file svdsnpv.hxx.

bool SdrSnapView::bSnapEnab
protected

Definition at line 112 of file svdsnpv.hxx.

Referenced by SnapPos().

SdrCrookMode SdrSnapView::eCrookMode
protected

Definition at line 110 of file svdsnpv.hxx.

class ImplHelpLineOverlay* SdrSnapView::mpHelpLineOverlay
protected
class ImplPageOriginOverlay* SdrSnapView::mpPageOriginOverlay
protected

Definition at line 97 of file svdsnpv.hxx.

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

long SdrSnapView::nEliminatePolyPointLimitAngle
protected

Definition at line 108 of file svdsnpv.hxx.

sal_uInt16 SdrSnapView::nMagnSizPix
protected

Definition at line 106 of file svdsnpv.hxx.

long SdrSnapView::nSnapAngle
protected

Definition at line 107 of file svdsnpv.hxx.


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