LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Friends | List of all members
SdrDragView Class Reference

#include <svddrgv.hxx>

Inheritance diagram for SdrDragView:
Collaboration diagram for SdrDragView:

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
bool TakeDragObjAnchorPos (Point &rPos, bool bTopRight) const
virtual bool BegDragObj (const Point &rPnt, OutputDevice *pOut, SdrHdl *pHdl, short nMinMov=-3, SdrDragMethod *pForcedMeth=nullptr)
void MovDragObj (const Point &rPnt)
bool EndDragObj (bool bCopy=false)
void BrkDragObj ()
bool IsDragObj () const
SdrHdlGetDragHdl () const
SdrDragMethodGetDragMethod () const
bool IsDraggingPoints () const
bool IsDraggingGluePoints () const
void SetDragWithCopy (bool bOn)
bool IsDragWithCopy () const
void SetDragThresholdPixels (sal_Int32 nDragThresholdPixels)
sal_Int32 GetDragThresholdPixels () const
void SetInsertGluePoint (bool bOn)
bool IsInsertGluePoint () const
bool IsInsObjPointPossible () const
bool BegInsObjPoint (const Point &rPnt, bool bNewObj)
void MovInsObjPoint (const Point &rPnt)
bool EndInsObjPoint (SdrCreateCmd eCmd)
bool IsInsObjPoint () const
void SetInsObjPointMode (bool bOn)
bool IsInsObjPointMode () const
bool IsInsGluePointPossible () const
bool BegInsGluePoint (const Point &rPnt)
bool IsInsGluePoint () const
void SetInsGluePointMode (bool bOn)
bool IsInsGluePointMode () const
void SetDragStripes (bool bOn)
bool IsDragStripes () const
void SetNoDragXorPolys (bool bOn)
bool IsNoDragXorPolys () const
void SetSolidDragging (bool bOn)
bool IsSolidDragging () const
void SetMarkedHitMovesAlways (bool bOn)
bool IsMarkedHitMovesAlways () const
bool IsOrthoDesired () const
bool IsResizeAtCenter () const
void SetResizeAtCenter (bool bOn)
bool IsCrookAtCenter () const
void SetCrookAtCenter (bool bOn)
void SetWorkArea (const tools::Rectangle &rRect)
const tools::RectangleGetWorkArea () const
virtual bool TakeDragLimit (SdrDragMode eMode, tools::Rectangle &rRect) const
- Public Member Functions inherited from SdrExchangeView
::std::vector< SdrObject * > GetMarkedObjects () const
virtual void DrawMarkedObj (OutputDevice &rOut) const
GDIMetaFile GetMarkedObjMetaFile (bool bNoVDevIfOneMtfMarked=false) const
BitmapEx GetMarkedObjBitmapEx (bool bNoVDevIfOneBmpMarked=false, const sal_uInt32 nMaximumQuadraticPixels=500000, const std::optional< Size > &rTargetDPI=std::nullopt) const
virtual std::unique_ptr< SdrModelCreateMarkedObjModel () const
Graphic GetAllMarkedGraphic () const
virtual bool Paste (const SdrModel &rMod, const Point &rPos, SdrObjList *pLst, SdrInsertFlags nOptions)
bool Paste (const OUString &rStr, const Point &rPos, SdrObjList *pLst, SdrInsertFlags nOptions)
bool Paste (SvStream &rInput, EETextFormat eFormat, const Point &rPos, SdrObjList *pLst, SdrInsertFlags nOptions)
- Public Member Functions inherited from SdrObjEditView
void TextEditDrawing (SdrPaintWindow &rPaintWindow)
virtual bool IsAction () const override
virtual void MovAction (const Point &rPnt) override
virtual void EndAction () override
virtual void BrkAction () override
virtual void BckAction () override
virtual void TakeActionRect (tools::Rectangle &rRect) const override
SdrPageViewShowSdrPage (SdrPage *pPage) override
void HideSdrPage () override
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual void ModelHasChanged () override
const std::unique_ptr< SdrUndoManager > & getViewLocalUndoManager () const
void SetQuickTextEditMode (bool bOn)
bool IsQuickTextEditMode () const
virtual bool SdrBeginTextEdit (SdrObject *pObj, SdrPageView *pPV=nullptr, vcl::Window *pWin=nullptr, bool bIsNewObj=false, SdrOutliner *pGivenOutliner=nullptr, OutlinerView *pGivenOutlinerView=nullptr, bool bDontDeleteOutliner=false, bool bOnlyOneView=false, bool bGrabFocus=true)
virtual SdrEndTextEditKind SdrEndTextEdit (bool bDontDeleteReally=false)
virtual bool IsTextEdit () const final override
bool IsTextEditHit (const Point &rHit) const
bool IsTextEditFrameHit (const Point &rHit) const
bool IsTextEditInSelectionMode () const
SdrTextObjGetTextEditObject () const
SdrPageViewGetTextEditPageView () const
void SetTextEditWin (vcl::Window *pWin)
const SdrOutlinerGetTextEditOutliner () const
SdrOutlinerGetTextEditOutliner ()
const OutlinerViewGetTextEditOutlinerView () const
OutlinerViewGetTextEditOutlinerView ()
virtual bool KeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) override
virtual bool MouseButtonDown (const MouseEvent &rMEvt, OutputDevice *pWin) override
virtual bool MouseButtonUp (const MouseEvent &rMEvt, OutputDevice *pWin) override
virtual bool MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override
 handle mouse over effects for handles More...
virtual bool Command (const CommandEvent &rCEvt, vcl::Window *pWin) override
virtual SvtScriptType GetScriptType () const
void GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
bool SetAttributes (const SfxItemSet &rSet, bool bReplaceAll)
SfxStyleSheetGetStyleSheet () const
void SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
virtual void AddDeviceToPaintView (OutputDevice &rNewDev, vcl::Window *pWindow) override
virtual void DeleteDeviceFromPaintView (OutputDevice &rOldWin) override
sal_uInt16 GetSelectionLevel () const
void BegMacroObj (const Point &rPnt, short nTol, SdrObject *pObj, SdrPageView *pPV, vcl::Window *pWin)
void BegMacroObj (const Point &rPnt, SdrObject *pObj, SdrPageView *pPV, vcl::Window *pWin)
void MovMacroObj (const Point &rPnt)
void BrkMacroObj ()
bool EndMacroObj ()
bool IsMacroObj () const
void getTextSelection (css::uno::Any &rSelection)
 fills the given any with a XTextCursor for the current text selection. More...
virtual void MarkListHasChanged () override
const rtl::Reference< sdr::SelectionController > & getSelectionController () const
void TakeFormatPaintBrush (std::shared_ptr< SfxItemSet > &rFormatSet)
 returns a format paint brush set from the current selection More...
void ApplyFormatPaintBrush (SfxItemSet &rFormatSet, bool bNoCharacterFormats, bool bNoParagraphFormats)
 applies a format paint brush set from the current selection. More...
void DisposeUndoManager ()
- Public Member Functions inherited from SdrGlueEditView
TriState IsMarkedGluePointsEscDir (SdrEscapeDirection nThisEsc) const
void SetMarkedGluePointsEscDir (SdrEscapeDirection nThisEsc, bool bOn)
TriState IsMarkedGluePointsPercent () const
void SetMarkedGluePointsPercent (bool bOn)
SdrAlign GetMarkedGluePointsAlign (bool bVert) const
void SetMarkedGluePointsAlign (bool bVert, SdrAlign nAlign)
void DeleteMarkedGluePoints ()
void MoveMarkedGluePoints (const Size &rSiz, bool bCopy)
void ResizeMarkedGluePoints (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bCopy)
void RotateMarkedGluePoints (const Point &rRef, Degree100 nAngle, bool bCopy)
- Public Member Functions inherited from SdrPolyEditView
bool IsSetMarkedPointsSmoothPossible () const override
SdrPathSmoothKind GetMarkedPointsSmooth () const override
void SetMarkedPointsSmooth (SdrPathSmoothKind eKind) override
bool IsSetMarkedSegmentsKindPossible () const override
SdrPathSegmentKind GetMarkedSegmentsKind () const override
void SetMarkedSegmentsKind (SdrPathSegmentKind eKind) override
void DeleteMarkedPoints () override
bool IsDeleteMarkedPointsPossible () const override
void MoveMarkedPoints (const Size &rSiz)
void ResizeMarkedPoints (const Point &rRef, const Fraction &xFact, const Fraction &yFact)
void RotateMarkedPoints (const Point &rRef, Degree100 nAngle)
void RipUpAtMarkedPoints () override
bool IsRipUpAtMarkedPointsPossible () const override
bool IsOpenCloseMarkedObjectsPossible () const override
SdrObjClosedKind GetMarkedObjectsClosedState () const override
void CheckPolyPossibilitiesHelper (SdrMark *pM, bool &b1stSmooth, bool &b1stSegm, bool &bCurve, bool &bSmoothFuz, bool &bSegmFuz, basegfx::B2VectorContinuity &eSmooth)
- Public Member Functions inherited from SdrEditView
void BegUndo ()
void BegUndo (const OUString &rComment)
void BegUndo (const OUString &rComment, const OUString &rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE)
void EndUndo ()
void AddUndo (std::unique_ptr< SdrUndoAction > pUndo)
void SetUndoComment (const OUString &rComment, const OUString &rObjDescr)
bool IsUndoEnabled () const
void EndTextEditAllViews () const
 Checks if this or other views have an active text edit, if true, end them. More...
void EndTextEditCurrentView (bool bDontDeleteReally=false)
std::vector< std::unique_ptr< SdrUndoAction > > CreateConnectorUndo (const SdrObject &rO)
void AddUndoActions (std::vector< std::unique_ptr< SdrUndoAction > >)
void InsertNewLayer (const OUString &rName, sal_uInt16 nPos)
void DeleteLayer (const OUString &rName)
void ForceMarkedObjToAnotherPage ()
void ForceMarkedToAnotherPage ()
void DeleteMarkedObj ()
void SetMarkedObjRect (const tools::Rectangle &rRect)
void MoveMarkedObj (const Size &rSiz, bool bCopy=false)
void ResizeMarkedObj (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bCopy=false)
void ResizeMultMarkedObj (const Point &rRef, const Fraction &xFact, const Fraction &yFact, const bool bWdh, const bool bHgt)
Degree100 GetMarkedObjRotate () const
void RotateMarkedObj (const Point &rRef, Degree100 nAngle, bool bCopy=false)
void MirrorMarkedObj (const Point &rRef1, const Point &rRef2, bool bCopy=false)
void MirrorMarkedObjHorizontal ()
void MirrorMarkedObjVertical ()
Degree100 GetMarkedObjShear () const
void ShearMarkedObj (const Point &rRef, Degree100 nAngle, bool bVShear=false, bool bCopy=false)
void CrookMarkedObj (const Point &rRef, const Point &rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bCopy=false)
void DistortMarkedObj (const tools::Rectangle &rRef, const XPolygon &rDistortedRect, bool bNoContortion, bool bCopy=false)
void CopyMarkedObj ()
void SetAllMarkedRect (const tools::Rectangle &rRect)
void MoveAllMarked (const Size &rSiz, bool bCopy=false)
void ResizeAllMarked (const Point &rRef, const Fraction &xFact, const Fraction &yFact)
void RotateAllMarked (const Point &rRef, Degree100 nAngle)
void MirrorAllMarkedHorizontal ()
void MirrorAllMarkedVertical ()
void CopyMarked ()
bool IsMoveAllowed () const
bool IsResizeAllowed (bool bProp=false) const
bool IsRotateAllowed (bool b90Deg=false) const
bool IsMirrorAllowed (bool b45Deg=false, bool b90Deg=false) const
bool IsTransparenceAllowed () const
bool IsGradientAllowed () const
bool IsShearAllowed () const
bool IsEdgeRadiusAllowed () const
bool IsCrookAllowed (bool bNoContortion=false) const
bool IsCropAllowed () const
bool IsDistortAllowed (bool bNoContortion=false) const
void CombineMarkedTextObjects ()
void CombineMarkedObjects (bool bNoPolyPoly=true)
void MergeMarkedObjects (SdrMergeMode eMode)
void DistributeMarkedObjects (sal_uInt16 SlotID)
void EqualizeMarkedObjects (bool bWidth)
void DismantleMarkedObjects (bool bMakeLines=false)
bool IsCombinePossible (bool bNoPolyPoly=false) const
bool IsDismantlePossible (bool bMakeLines=false) const
bool InsertObjectAtView (SdrObject *pObj, SdrPageView &rPV, SdrInsertFlags nOptions=SdrInsertFlags::NONE)
void ReplaceObjectAtView (SdrObject *pOldObj, SdrPageView &rPV, SdrObject *pNewObj, bool bMark=true)
void SetNotPersistAttrToMarked (const SfxItemSet &rAttr)
void MergeNotPersistAttrFromMarked (SfxItemSet &rAttr) const
void MergeAttrFromMarked (SfxItemSet &rAttr, bool bOnlyHardAttr) const
SfxItemSet GetAttrFromMarked (bool bOnlyHardAttr) const
void SetAttrToMarked (const SfxItemSet &rAttr, bool bReplaceAll)
SfxItemSet GetGeoAttrFromMarked () const
void SetGeoAttrToMarked (const SfxItemSet &rAttr, bool addPageMargin=false)
SfxStyleSheetGetStyleSheetFromMarked () const
void SetStyleSheetToMarked (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
void GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
void SetAttributes (const SfxItemSet &rSet, bool bReplaceAll)
SfxStyleSheetGetStyleSheet () const
void SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
void GroupMarked ()
void UnGroupMarked ()
bool IsGroupPossible () const
bool IsUnGroupPossible () const
bool IsGroupEnterPossible () const
bool IsConvertToPathObjPossible () const
bool IsConvertToPolyObjPossible () const
bool IsConvertToContourPossible () const
void ConvertMarkedToPathObj (bool bLineToArea)
void ConvertMarkedToPolyObj ()
void AlignMarkedObjects (SdrHorAlign eHor, SdrVertAlign eVert)
bool IsAlignPossible () const
void MovMarkedToTop ()
void MovMarkedToBtm ()
void PutMarkedToTop ()
void PutMarkedToBtm ()
void PutMarkedInFrontOfObj (const SdrObject *pRefObj)
void PutMarkedBehindObj (const SdrObject *pRefObj)
void ReverseOrderOfMarked ()
bool IsToTopPossible () const
bool IsToBtmPossible () const
bool IsReverseOrderPossible () const
virtual SdrObjectGetMaxToTopObj (SdrObject *pObj) const
virtual SdrObjectGetMaxToBtmObj (SdrObject *pObj) const
virtual void ObjOrderChanged (SdrObject *pObj, size_t nOldPos, size_t nNewPos)
void DoImportMarkedMtf (SvdProgressInfo *pProgrInfo=nullptr)
bool IsImportMtfPossible () const
virtual void MarkListHasChanged () override
virtual void ModelHasChanged () override
- Public Member Functions inherited from SdrMarkView
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
virtual void ClearPageView () override
virtual void HideSdrPage () override
bool IsObjMarkable (SdrObject const *pObj, SdrPageView const *pPV) const
bool IsMarking () const
void BegMarkObj (const Point &rPnt, bool bUnmark=false)
void MovMarkObj (const Point &rPnt)
bool EndMarkObj ()
void BrkMarkObj ()
bool IsMarkObj () const
void SetDragMode (SdrDragMode eMode)
SdrDragMode GetDragMode () const
void SetFrameHandles (bool bOn)
bool IsFrameHandles () const
bool HasMultipleMarkableObjects () const
void SetEditMode (SdrViewEditMode eMode)
SdrViewEditMode GetEditMode () const
void SetEditMode (bool bOn)
bool IsEditMode () const
void SetCreateMode (bool bOn)
bool IsCreateMode () const
void SetGluePointEditMode (bool bOn)
bool IsGluePointEditMode () const
void SetDesignMode (bool bOn=true)
bool IsDesignMode () const
void SetFrameDragSingles (bool bOn=true)
bool IsFrameDragSingles () const
bool HasMarkableObj () const
void SetNegativeX (bool bOn)
 whether all x coordinates in use are negated or not More...
bool IsNegativeX () const
const SdrMarkListGetMarkedObjectList () const
size_t TryToFindMarkedObject (const SdrObject *pObj) const
SdrPageViewGetSdrPageViewOfMarkedByIndex (size_t nNum) const
SdrMarkGetSdrMarkByIndex (size_t nNum) const
SdrObjectGetMarkedObjectByIndex (size_t nNum) const
size_t GetMarkedObjectCount () const
void SortMarkedObjects () const
bool AreObjectsMarked () const
OUString const & GetDescriptionOfMarkedObjects () const
OUString const & GetDescriptionOfMarkedPoints () const
OUString const & GetDescriptionOfMarkedGluePoints () const
const SdrMarkListGetEdgesOfMarkedNodes () const
const SdrMarkListGetMarkedEdgesOfMarkedNodes () const
const std::vector< SdrObject * > & GetTransitiveHullOfMarkedObjects () const
void hideMarkHandles ()
void showMarkHandles ()
bool areMarkHandlesHidden () const
bool IsMarkedHit (const Point &rPnt, short nTol=-2) const
bool IsMarkedObjHit (const Point &rPnt, short nTol=-2) const
SdrHdlPickHandle (const Point &rPnt) const
SdrObjectPickObj (const Point &rPnt, short nTol, SdrPageView *&rpPV, SdrSearchOptions nOptions, SdrObject **ppRootObj, bool *pbHitPassDirect=nullptr) const
SdrObjectPickObj (const Point &rPnt, short nTol, SdrPageView *&rpPV, SdrSearchOptions nOptions=SdrSearchOptions::NONE) const
bool MarkObj (const Point &rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false)
bool PickMarkedObj (const Point &rPnt, SdrObject *&rpObj, SdrPageView *&rpPV, SdrSearchOptions nOptions) const
bool MarkNextObj (bool bPrev=false)
bool MarkNextObj (const Point &rPnt, short nTol, bool bPrev)
void MarkObj (const tools::Rectangle &rRect, bool bUnmark)
void MarkObj (SdrObject *pObj, SdrPageView *pPV, bool bUnmark=false, bool bDoNoSetMarkHdl=false, std::vector< basegfx::B2DRectangle > &&rSubSelections=std::vector< basegfx::B2DRectangle >())
void MarkAllObj (SdrPageView *pPV=nullptr)
void UnmarkAllObj (SdrPageView const *pPV=nullptr)
bool IsObjMarked (SdrObject const *pObj) const
void UnMarkAll (SdrPageView const *pPV=nullptr)
sal_uInt16 GetMarkHdlSizePixel () const
void SetMarkHdlSizePixel (sal_uInt16 nSiz)
virtual bool HasMarkablePoints () const
virtual sal_Int32 GetMarkablePointCount () const
virtual bool HasMarkedPoints () const
bool IsPointMarkable (const SdrHdl &rHdl) const
virtual bool MarkPoint (SdrHdl &rHdl, bool bUnmark=false)
bool MarkPointHelper (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark)
 should only be used from outside svx for special ui elements More...
bool UnmarkPoint (SdrHdl &rHdl)
bool IsPointMarked (const SdrHdl &rHdl) const
bool MarkAllPoints ()
bool UnmarkAllPoints ()
void MarkNextPoint ()
size_t GetHdlNum (SdrHdl const *pHdl) const
SdrHdlGetHdl (size_t nHdlNum) const
const SdrHdlListGetHdlList () const
bool BegMarkPoints (const Point &rPnt, bool bUnmark=false)
void MovMarkPoints (const Point &rPnt)
bool EndMarkPoints ()
void BrkMarkPoints ()
bool IsMarkPoints () const
void SetPlusHandlesAlwaysVisible (bool bOn)
bool IsPlusHandlesAlwaysVisible () const
bool HasMarkableGluePoints () const
bool HasMarkedGluePoints () const
bool PickGluePoint (const Point &rPnt, SdrObject *&rpObj, sal_uInt16 &rnId, SdrPageView *&rpPV) const
bool MarkGluePoint (const SdrObject *pObj, sal_uInt16 nId, bool bUnmark)
void UnmarkGluePoint (const SdrObject *pObj, sal_uInt16 nId)
bool IsGluePointMarked (const SdrObject *pObj, sal_uInt16 nId) const
SdrHdlGetGluePointHdl (const SdrObject *pObj, sal_uInt16 nId) const
bool MarkAllGluePoints ()
bool UnmarkAllGluePoints ()
void MarkNextGluePoint ()
bool BegMarkGluePoints (const Point &rPnt, bool bUnmark=false)
void MovMarkGluePoints (const Point &rPnt)
void EndMarkGluePoints ()
void BrkMarkGluePoints ()
bool IsMarkGluePoints () const
void AdjustMarkHdl (SfxViewShell *pOtherShell=nullptr)
const tools::RectangleGetMarkedObjRect () const
tools::Rectangle GetMarkedObjBoundRect () const
const tools::RectangleGetMarkedPointsRect () const
const tools::RectangleGetMarkedGluePointsRect () const
const tools::RectangleGetAllMarkedRect () const
tools::Rectangle GetAllMarkedBoundRect () const
virtual void MarkListHasChanged ()
void EnterMarkedGroup ()
const PointGetRef1 () const
void SetRef1 (const Point &rPt)
const PointGetRef2 () const
void SetRef2 (const Point &rPt)
virtual SfxViewShellGetSfxViewShell () const
 Get access to the view shell owning this draw view, if any. More...
- Public Member Functions inherited from SdrSnapView
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
- Public Member Functions inherited from EditViewCallbacks
virtual ~EditViewCallbacks ()
virtual void EditViewInvalidate (const tools::Rectangle &rRect)=0
virtual void EditViewSelectionChange ()=0
virtual OutputDeviceEditViewOutputDevice () const=0
virtual weld::WidgetEditViewPopupParent () const
virtual Point EditViewPointerPosPixel () const=0
virtual void EditViewInputContext (const InputContext &rInputContext)=0
virtual void EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth)=0
virtual void EditViewScrollStateChange ()
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const=0
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()

Static Public Member Functions

static size_t GetDragXorPolyLimit ()
static size_t GetDragXorPointLimit ()
- Static Public Member Functions inherited from SdrExchangeView
static Graphic GetObjGraphic (const SdrObject &rSdrObject, bool bSVG=false)
 Generate a Graphic for the given draw object. More...
- Static Public Member Functions inherited from SdrObjEditView
static bool SupportsFormatPaintbrush (SdrInventor nObjectInventor, SdrObjKind nObjectIdentifier)
 returns true if the shape identified by its inventor and identifier supports format paint brush operation More...
static void ApplyFormatPaintBrushToText (SfxItemSet const &rFormatSet, SdrTextObj &rTextObj, SdrText *pText, bool bNoCharacterFormats, bool bNoParagraphFormats)
 helper function for selections with multiple SdrText for one SdrTextObj (f.e. More...

Protected Member Functions

virtual void SetMarkHandles (SfxViewShell *pOtherShell) override
void ShowDragObj ()
void HideDragObj ()
bool ImpBegInsObjPoint (bool bIdxZwang, const Point &rPnt, bool bNewObj, OutputDevice *pOut)
 SdrDragView (SdrModel &rSdrModel, OutputDevice *pOut)
virtual ~SdrDragView () override
- Protected Member Functions inherited from SdrExchangeView
void ImpGetPasteObjList (Point &rPos, SdrObjList *&rpLst)
void ImpPasteObject (SdrObject *pObj, SdrObjList &rLst, const Point &rCenter, const Size &rSiz, const MapMode &rMap, SdrInsertFlags nOptions)
bool ImpGetPasteLayer (const SdrObjList *pObjList, SdrLayerID &rLayer) const
bool ImpLimitToWorkArea (Point &rPt) const
 SdrExchangeView (SdrModel &rSdrModel, OutputDevice *pOut)
- Protected Member Functions inherited from SdrObjEditView
virtual std::unique_ptr< SdrUndoManagercreateLocalTextUndoManager ()
void ImpMoveCursorAfterChainingEvent (TextChainCursorManager *pCursorManager)
std::unique_ptr< TextChainCursorManagerImpHandleMotionThroughBoxesKeyInput (const KeyEvent &rKEvt, bool *bOutHandled)
OutlinerViewImpFindOutlinerView (vcl::Window const *pWin) const
OutlinerViewImpMakeOutlinerView (vcl::Window *pWin, OutlinerView *pGivenView, SfxViewShell *pViewShell=nullptr) const
void ImpPaintOutlinerView (OutlinerView &rOutlView, const tools::Rectangle &rRect, OutputDevice &rTargetDevice) const
void ImpInvalidateOutlinerView (OutlinerView const &rOutlView) const
void ImpChainingEventHdl ()
 DECL_DLLPRIVATE_LINK (ImpAfterCutOrPasteChainingEventHdl, LinkParamNone *, void)
bool ImpIsTextEditAllSelected () const
void ImpMakeTextCursorAreaVisible ()
 DECL_DLLPRIVATE_LINK (ImpOutlinerStatusEventHdl, EditStatus &, void)
 DECL_DLLPRIVATE_LINK (ImpOutlinerCalcFieldValueHdl, EditFieldInfo *, void)
 DECL_DLLPRIVATE_LINK (EndTextEditHdl, SdrUndoManager *, void)
void ImpMacroUp (const Point &rUpPos)
void ImpMacroDown (const Point &rDownPos)
 DECL_LINK (BeginPasteOrDropHdl, PasteOrDropInfos *, void)
 DECL_LINK (EndPasteOrDropHdl, PasteOrDropInfos *, void)
 SdrObjEditView (SdrModel &rSdrModel, OutputDevice *pOut)
virtual ~SdrObjEditView () override
virtual void OnBeginPasteOrDrop (PasteOrDropInfos *pInfo)
virtual void OnEndPasteOrDrop (PasteOrDropInfos *pInfo)
- Protected Member Functions inherited from SdrGlueEditView
 SdrGlueEditView (SdrModel &rSdrModel, OutputDevice *pOut)
virtual ~SdrGlueEditView () override
- Protected Member Functions inherited from SdrPolyEditView
 SdrPolyEditView (SdrModel &rSdrModel, OutputDevice *pOut)
virtual ~SdrPolyEditView () override
- Protected Member Functions inherited from SdrEditView
void ImpBroadcastEdgesOfMarkedNodes ()
void ImpConvertTo (bool bPath, bool bLineToArea)
rtl::Reference< SdrObjectImpConvertOneObj (SdrObject *pObj, bool bPath, bool bLineToArea)
void ImpCheckToTopBtmPossible ()
void ImpCopyAttributes (const SdrObject *pSource, SdrObject *pDest) const
void ImpDismantleOneObject (const SdrObject *pObj, SdrObjList &rOL, size_t &rPos, SdrPageView *pPV, bool bMakeLines)
bool ImpDelLayerCheck (SdrObjList const *pOL, SdrLayerID nDelID) const
void ImpDelLayerDelObjs (SdrObjList *pOL, SdrLayerID nDelID)
std::vector< rtl::Reference< SdrObject > > DeleteMarkedList (SdrMarkList const &rMark)
virtual void CheckPossibilities ()
void ForcePossibilities () const
 SdrEditView (SdrModel &rSdrModel, OutputDevice *pOut)
virtual ~SdrEditView () override
- Protected Member Functions inherited from SdrMarkView
bool getPossibleGridOffsetForSdrObject (basegfx::B2DVector &rOffset, const SdrObject *pObj, const SdrPageView *pPV) const
bool getPossibleGridOffsetForPosition (basegfx::B2DVector &rOffset, const basegfx::B2DPoint &rPoint, const SdrPageView *pPV) const
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual void ModelHasChanged () override
virtual void SetMarkHandles (SfxViewShell *pOtherShell)
void modelHasChangedLOKit ()
void SetMarkRects ()
void CheckMarked ()
void AddDragModeHdl (SdrDragMode eMode)
virtual bool MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override
 handle mouse over effects for handles More...
virtual bool RequestHelp (const HelpEvent &rHEvt) override
virtual void AddCustomHdl ()
void ForceRefToMarked ()
void ForceUndirtyMrkPnt () const
virtual SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObject *pObj, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay) const
SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj) const
SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj, const SdrMarkList *pMarkList) const
bool ImpIsFrameHandles () const
OUString ImpGetDescriptionString (TranslateId pStrCacheID, ImpGetDescriptionOptions nOpt=ImpGetDescriptionOptions::NONE) const
bool ImpMarkPoint (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark)
virtual bool MarkPoints (const tools::Rectangle *pRect, bool bUnmark)
bool MarkGluePoints (const tools::Rectangle *pRect, bool bUnmark)
void SetMoveOutside (bool bOn)
bool MarkableObjectsExceed (int n) const
 SdrMarkView (SdrModel &rSdrModel, OutputDevice *pOut)
virtual ~SdrMarkView () override
SdrMarkListGetMarkedObjectListWriteAccess ()
- Protected Member Functions inherited from SdrSnapView
 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

std::unique_ptr< SdrDragMethodmpCurrentSdrDragMethod
tools::Rectangle maDragLimit
OUString maInsPointUndoStr
SdrHdlKind meDragHdl
sal_Int32 mnDragThresholdPixels
bool mbFramDrag: 1
bool mbMarkedHitMovesAlways: 1
bool mbDragLimit: 1
bool mbDragHdl: 1
bool mbDragStripes: 1
bool mbSolidDragging: 1
bool mbResizeAtCenter: 1
bool mbCrookAtCenter: 1
bool mbDragWithCopy: 1
bool mbInsGluePoint: 1
bool mbInsObjPointMode: 1
bool mbInsGluePointMode: 1
bool mbNoDragXorPolys: 1
- Protected Attributes inherited from SdrObjEditView
unotools::WeakReference< SdrTextObjmxWeakTextEditObj
std::unique_ptr< SdrOutlinermpTextEditOutliner
VclPtr< vcl::WindowmpTextEditWin
VclPtr< vcl::WindowpMacroWin
tools::Rectangle aTextEditArea
tools::Rectangle aMinTextEditArea
Link< EditFieldInfo *, void > aOldCalcFieldValueLink
Point aMacroDownPos
sal_uInt16 nMacroTol
bool mbTextEditDontDelete: 1
bool mbTextEditOnlyOneView: 1
bool mbTextEditNewObj: 1
bool mbQuickTextEditMode: 1
bool mbMacroDown: 1
rtl::Reference< sdr::SelectionControllermxSelectionController
rtl::Reference< sdr::SelectionControllermxLastSelectionController
- Protected Attributes inherited from SdrEditView
bool m_bPossibilitiesDirty: 1
bool m_bReadOnly: 1
bool m_bGroupPossible: 1
bool m_bUnGroupPossible: 1
bool m_bGrpEnterPossible: 1
bool m_bToTopPossible: 1
bool m_bToBtmPossible: 1
bool m_bReverseOrderPossible: 1
bool m_bImportMtfPossible: 1
bool m_bCombinePossible: 1
bool m_bDismantlePossible: 1
bool m_bCombineNoPolyPolyPossible: 1
bool m_bDismantleMakeLinesPossible: 1
bool m_bOrthoDesiredOnMarked: 1
bool m_bOneOrMoreMovable: 1
bool m_bMoreThanOneNoMovRot: 1
bool m_bContortionPossible: 1
bool m_bMoveAllowed: 1
bool m_bResizeFreeAllowed: 1
bool m_bResizePropAllowed: 1
bool m_bRotateFreeAllowed: 1
bool m_bRotate90Allowed: 1
bool m_bMirrorFreeAllowed: 1
bool m_bMirror45Allowed: 1
bool m_bMirror90Allowed: 1
bool m_bShearAllowed: 1
bool m_bEdgeRadiusAllowed: 1
bool m_bTransparenceAllowed: 1
bool m_bCropAllowed: 1
bool m_bGradientAllowed: 1
bool m_bCanConvToPath: 1
bool m_bCanConvToPoly: 1
bool m_bCanConvToContour: 1
bool m_bMoveProtect: 1
bool m_bResizeProtect: 1
- Protected Attributes inherited from SdrMarkView
Point maRef1
Point maRef2
SdrHdlList maHdlList
sdr::ViewSelection maSdrViewSelection
std::vector< basegfx::B2DRectanglemaSubSelectionList
tools::Rectangle maMarkedObjRect
tools::Rectangle maMarkedPointsRect
tools::Rectangle maMarkedGluePointsRect
SdrDragMode meDragMode
SdrViewEditMode meEditMode
SdrViewEditMode meEditMode0
bool mbDesignMode: 1
bool mbForceFrameHandles: 1
bool mbPlusHdlAlways: 1
bool mbInsPolyPoint: 1
bool mbMarkedObjRectDirty: 1
bool mbMrkPntDirty: 1
bool mbMarkedPointsRectsDirty: 1
bool mbMarkHandlesHidden: 1
bool mbNegativeX: 1
- Protected Attributes inherited from SdrSnapView
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
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

Private Types

enum  : size_t {
  eDragXorPolyLimit = 100 ,
  eDragXorPointLimit = 500


class SdrPageView
class SdrDragMethod

Additional Inherited Members

- Static Protected Member Functions inherited from SdrEditView
static bool ImpCanConvertForCombine1 (const SdrObject *pObj)
static bool ImpCanConvertForCombine (const SdrObject *pObj)
static basegfx::B2DPolyPolygon ImpGetPolyPolygon1 (const SdrObject *pObj)
static basegfx::B2DPolyPolygon ImpGetPolyPolygon (const SdrObject *pObj)
static basegfx::B2DPolygon ImpCombineToSinglePolygon (const basegfx::B2DPolyPolygon &rPolyPolygon)
static bool ImpCanDismantle (const basegfx::B2DPolyPolygon &rPpolyPpolygon, bool bMakeLines)
static bool ImpCanDismantle (const SdrObject *pObj, bool bMakeLines)
static void ImpCrookObj (SdrObject *pO, const Point &rRef, const Point &rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bRotate, const tools::Rectangle &rMarkRect)
static void ImpDistortObj (SdrObject *pO, const tools::Rectangle &rRef, const XPolygon &rDistortedRect, bool bNoContortion)
- 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)
- Static Protected Attributes inherited from SdrMarkView
static constexpr sal_uInt16 mnFrameHandlesLimit = 50

Detailed Description

Definition at line 29 of file svddrgv.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : size_t

Definition at line 35 of file svddrgv.hxx.

Constructor & Destructor Documentation

◆ SdrDragView()

SdrDragView::SdrDragView ( SdrModel rSdrModel,
OutputDevice pOut 

Definition at line 45 of file svddrgv.cxx.

References IsSolidDragCreate(), SdrMarkView::meDragMode, Move, and pOut.

◆ ~SdrDragView()

SdrDragView::~SdrDragView ( )

Definition at line 68 of file svddrgv.cxx.

Member Function Documentation

◆ BckAction()

void SdrDragView::BckAction ( )

Reimplemented from SdrObjEditView.

Reimplemented in SdrCreateView.

Definition at line 95 of file svddrgv.cxx.

References SdrObjEditView::BckAction(), and BrkDragObj().

Referenced by SdrCreateView::BckAction().

◆ BegDragObj()

bool SdrDragView::BegDragObj ( const Point rPnt,
OutputDevice pOut,
SdrHdl pHdl,
short  nMinMov = -3,
SdrDragMethod pForcedMeth = nullptr 

Reimplemented in E3dView.

Definition at line 184 of file svddrgv.cxx.

References a, Point::AdjustX(), Point::AdjustY(), Anchor, Anchor_TR, BrkAction(), Crook, Crop, DynCastE3dObject(), DynCastSdrTextObj(), basegfx::fround(), SdrHdl::GetKind(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrHdl::GetObj(), SdrHdl::GetPos(), SdrMarkView::getPossibleGridOffsetForPosition(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrPaintView::GetSdrPageView(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Glue, Gradient, SdrObject::hasSpecialDrag(), SdrPaintView::ImpGetMinMovLogic(), SdrMarkView::ImpIsFrameHandles(), comphelper::LibreOfficeKit::isActive(), SdrEditView::IsCrookAllowed(), SdrEditView::IsCropAllowed(), SdrEditView::IsDistortAllowed(), SdrEditView::IsGradientAllowed(), IsMarkedHitMovesAlways(), SdrEditView::IsMirrorAllowed(), SdrEditView::IsMoveAllowed(), SdrEditView::IsResizeAllowed(), SdrEditView::IsRotateAllowed(), SdrEditView::IsShearAllowed(), SdrEditView::IsTransparenceAllowed(), Left, Lower, LowerLeft, LowerRight, maDragLimit, SdrPaintView::maDragStat, mbDragHdl, mbDragLimit, mbFramDrag, meDragHdl, SdrMarkView::meDragMode, Mirror, MirrorAxis, Move, mpCurrentSdrDragMethod, mpDragHdl, SdrPaintView::mpDragWin, SdrMarkView::mpMarkedObj, SdrMarkView::mpMarkedPV, SdrDragStat::NextPoint(), Poly, pOut, Ref1, Ref2, SdrDragStat::Reset(), Resize, Right, Rotate, SdrEditView::SdrDragCrook, SdrEditView::SdrDragDistort, SdrDragStat::SetDragMethod(), SetDragWithCopy(), SdrDragStat::SetHdl(), SdrDragStat::SetMinMove(), SdrDragStat::SetPageView(), SdrDragStat::SetView(), Shear, SmartTag, TakeDragLimit(), Transparence, Upper, UpperLeft, UpperRight, Point::X(), and Point::Y().

Referenced by E3dView::BegDragObj(), BegInsGluePoint(), SdrView::DoMouseEvent(), ImpBegInsObjPoint(), and SdrView::MoveShapeHandle().

◆ BegInsGluePoint()

bool SdrDragView::BegInsGluePoint ( const Point rPnt)

◆ BegInsObjPoint()

bool SdrDragView::BegInsObjPoint ( const Point rPnt,
bool  bNewObj 

Definition at line 124 of file svddrgv.hxx.

Referenced by SdrView::DoMouseEvent().

◆ BrkAction()

void SdrDragView::BrkAction ( )

Reimplemented from SdrObjEditView.

Reimplemented in SdrCreateView.

Definition at line 101 of file svddrgv.cxx.

References SdrObjEditView::BrkAction(), and BrkDragObj().

Referenced by BegDragObj(), BegInsGluePoint(), SdrCreateView::BrkAction(), and ImpBegInsObjPoint().

◆ BrkDragObj()

void SdrDragView::BrkDragObj ( )

◆ EndAction()

void SdrDragView::EndAction ( )

Reimplemented from SdrObjEditView.

Reimplemented in SdrCreateView.

Definition at line 86 of file svddrgv.cxx.

References SdrObjEditView::EndAction(), EndDragObj(), and mpCurrentSdrDragMethod.

Referenced by SdrCreateView::EndAction().

◆ EndDragObj()

bool SdrDragView::EndDragObj ( bool  bCopy = false)

◆ EndInsObjPoint()

bool SdrDragView::EndInsObjPoint ( SdrCreateCmd  eCmd)

◆ GetDragHdl()

SdrHdl * SdrDragView::GetDragHdl ( ) const

Definition at line 105 of file svddrgv.hxx.

Referenced by E3dView::MovAction().

◆ GetDragMethod()

SdrDragMethod * SdrDragView::GetDragMethod ( ) const

Definition at line 106 of file svddrgv.hxx.

◆ GetDragThresholdPixels()

sal_Int32 SdrDragView::GetDragThresholdPixels ( ) const

Definition at line 117 of file svddrgv.hxx.

◆ GetDragXorPointLimit()

static size_t SdrDragView::GetDragXorPointLimit ( )

Definition at line 167 of file svddrgv.hxx.

Referenced by SdrDragMethod::createSdrDragEntries_PolygonDrag().

◆ GetDragXorPolyLimit()

static size_t SdrDragView::GetDragXorPolyLimit ( )

Definition at line 161 of file svddrgv.hxx.

Referenced by SdrDragMethod::createSdrDragEntries_PolygonDrag().

◆ GetWorkArea()

const tools::Rectangle & SdrDragView::GetWorkArea ( ) const

◆ HideDragObj()

void SdrDragView::HideDragObj ( )

◆ ImpBegInsObjPoint()

bool SdrDragView::ImpBegInsObjPoint ( bool  bIdxZwang,
const Point rPnt,
bool  bNewObj,
OutputDevice pOut 

◆ IsAction()

bool SdrDragView::IsAction ( ) const

Reimplemented from SdrObjEditView.

Reimplemented in SdrCreateView.

Definition at line 72 of file svddrgv.cxx.

References SdrObjEditView::IsAction(), and mpCurrentSdrDragMethod.

Referenced by SdrCreateView::IsAction().

◆ IsCrookAtCenter()

bool SdrDragView::IsCrookAtCenter ( ) const

Definition at line 198 of file svddrgv.hxx.

◆ IsDraggingGluePoints()

bool SdrDragView::IsDraggingGluePoints ( ) const

Definition at line 108 of file svddrgv.hxx.

References Glue.

Referenced by TakeDragObjAnchorPos().

◆ IsDraggingPoints()

bool SdrDragView::IsDraggingPoints ( ) const

Definition at line 107 of file svddrgv.hxx.

References Poly.

Referenced by TakeDragObjAnchorPos().

◆ IsDragObj()

bool SdrDragView::IsDragObj ( ) const

◆ IsDragStripes()

bool SdrDragView::IsDragStripes ( ) const

Definition at line 146 of file svddrgv.hxx.

◆ IsDragWithCopy()

bool SdrDragView::IsDragWithCopy ( ) const

Definition at line 114 of file svddrgv.hxx.

Referenced by SdrView::DoMouseEvent().

◆ IsInsertGluePoint()

bool SdrDragView::IsInsertGluePoint ( ) const

Definition at line 120 of file svddrgv.hxx.

Referenced by BrkDragObj(), EndDragObj(), and SdrView::GetStatusText().

◆ IsInsGluePoint()

bool SdrDragView::IsInsGluePoint ( ) const

Definition at line 136 of file svddrgv.hxx.

◆ IsInsGluePointMode()

bool SdrDragView::IsInsGluePointMode ( ) const

Definition at line 141 of file svddrgv.hxx.

Referenced by IsInsGluePointPossible(), and SdrView::PickAnything().

◆ IsInsGluePointPossible()

bool SdrDragView::IsInsGluePointPossible ( ) const

◆ IsInsObjPoint()

bool SdrDragView::IsInsObjPoint ( ) const

◆ IsInsObjPointMode()

bool SdrDragView::IsInsObjPointMode ( ) const

Definition at line 132 of file svddrgv.hxx.

Referenced by SdrView::PickAnything().

◆ IsInsObjPointPossible()

bool SdrDragView::IsInsObjPointPossible ( ) const

Definition at line 633 of file svddrgv.cxx.

References SdrObject::IsPolyObj(), and SdrMarkView::mpMarkedObj.

Referenced by SdrView::PickAnything().

◆ IsMarkedHitMovesAlways()

bool SdrDragView::IsMarkedHitMovesAlways ( ) const

Definition at line 187 of file svddrgv.hxx.

Referenced by BegDragObj().

◆ IsNoDragXorPolys()

bool SdrDragView::IsNoDragXorPolys ( ) const

Definition at line 156 of file svddrgv.hxx.

Referenced by SetNoDragXorPolys().

◆ IsOrthoDesired()

bool SdrDragView::IsOrthoDesired ( ) const

Definition at line 886 of file svddrgv.cxx.

References SdrEditView::m_bOrthoDesiredOnMarked, and mpCurrentSdrDragMethod.

Referenced by SdrView::DoMouseEvent().

◆ IsResizeAtCenter()

bool SdrDragView::IsResizeAtCenter ( ) const

Definition at line 193 of file svddrgv.hxx.

◆ IsSolidDragging()

bool SdrDragView::IsSolidDragging ( ) const

◆ MovAction()

void SdrDragView::MovAction ( const Point rPnt)

Reimplemented from SdrObjEditView.

Reimplemented in SdrCreateView, and E3dView.

Definition at line 77 of file svddrgv.cxx.

References SdrObjEditView::MovAction(), MovDragObj(), and mpCurrentSdrDragMethod.

Referenced by SdrCreateView::MovAction().

◆ MovDragObj()

void SdrDragView::MovDragObj ( const Point rPnt)

◆ MovInsObjPoint()

void SdrDragView::MovInsObjPoint ( const Point rPnt)

Definition at line 125 of file svddrgv.hxx.

◆ SetCrookAtCenter()

void SdrDragView::SetCrookAtCenter ( bool  bOn)

Definition at line 199 of file svddrgv.hxx.

Referenced by SdrView::DoMouseEvent().

◆ SetDragStripes()

void SdrDragView::SetDragStripes ( bool  bOn)

◆ SetDragThresholdPixels()

void SdrDragView::SetDragThresholdPixels ( sal_Int32  nDragThresholdPixels)

Definition at line 116 of file svddrgv.hxx.

◆ SetDragWithCopy()

void SdrDragView::SetDragWithCopy ( bool  bOn)

Definition at line 113 of file svddrgv.hxx.

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

◆ SetInsertGluePoint()

void SdrDragView::SetInsertGluePoint ( bool  bOn)

Definition at line 119 of file svddrgv.hxx.

Referenced by BegInsGluePoint(), BrkDragObj(), and EndDragObj().

◆ SetInsGluePointMode()

void SdrDragView::SetInsGluePointMode ( bool  bOn)

Definition at line 140 of file svddrgv.hxx.

◆ SetInsObjPointMode()

void SdrDragView::SetInsObjPointMode ( bool  bOn)

Definition at line 131 of file svddrgv.hxx.

◆ SetMarkedHitMovesAlways()

void SdrDragView::SetMarkedHitMovesAlways ( bool  bOn)

Definition at line 186 of file svddrgv.hxx.

◆ SetMarkHandles()

void SdrDragView::SetMarkHandles ( SfxViewShell pOtherShell)

Reimplemented from SdrMarkView.

Definition at line 897 of file svddrgv.cxx.

References mpDragHdl, and SdrMarkView::SetMarkHandles().

Referenced by BrkDragObj(), EndDragObj(), and E3dView::Start3DCreation().

◆ SetNoDragXorPolys()

void SdrDragView::SetNoDragXorPolys ( bool  bOn)

◆ SetResizeAtCenter()

void SdrDragView::SetResizeAtCenter ( bool  bOn)

Definition at line 194 of file svddrgv.hxx.

Referenced by SdrView::DoMouseEvent().

◆ SetSolidDragging()

void SdrDragView::SetSolidDragging ( bool  bOn)

Definition at line 905 of file svddrgv.cxx.

References mbSolidDragging.

◆ SetWorkArea()

void SdrDragView::SetWorkArea ( const tools::Rectangle rRect)

Definition at line 213 of file svddrgv.hxx.

◆ ShowDragObj()

void SdrDragView::ShowDragObj ( )

◆ TakeActionRect()

void SdrDragView::TakeActionRect ( tools::Rectangle rRect) const

◆ TakeDragLimit()

bool SdrDragView::TakeDragLimit ( SdrDragMode  eMode,
tools::Rectangle rRect 
) const

Definition at line 179 of file svddrgv.cxx.

Referenced by BegDragObj().

◆ TakeDragObjAnchorPos()

bool SdrDragView::TakeDragObjAnchorPos ( Point rPos,
bool  bTopRight 
) const

Friends And Related Function Documentation

◆ SdrDragMethod

friend class SdrDragMethod

Definition at line 32 of file svddrgv.hxx.

◆ SdrPageView

friend class SdrPageView

Definition at line 31 of file svddrgv.hxx.

Member Data Documentation

◆ maDragLimit

tools::Rectangle SdrDragView::maDragLimit

Definition at line 44 of file svddrgv.hxx.

Referenced by BegDragObj().

◆ maInsPointUndoStr

OUString SdrDragView::maInsPointUndoStr

Definition at line 45 of file svddrgv.hxx.

Referenced by BegInsGluePoint(), EndDragObj(), SdrView::GetStatusText(), and ImpBegInsObjPoint().

◆ mbCrookAtCenter

bool SdrDragView::mbCrookAtCenter

Definition at line 56 of file svddrgv.hxx.

◆ mbDragHdl

bool SdrDragView::mbDragHdl

Definition at line 52 of file svddrgv.hxx.

Referenced by BegDragObj(), and EndDragObj().

◆ mbDragLimit

bool SdrDragView::mbDragLimit

Definition at line 51 of file svddrgv.hxx.

Referenced by BegDragObj().

◆ mbDragStripes

bool SdrDragView::mbDragStripes

Definition at line 53 of file svddrgv.hxx.

Referenced by SetDragStripes().

◆ mbDragWithCopy

bool SdrDragView::mbDragWithCopy

Definition at line 57 of file svddrgv.hxx.

◆ mbFramDrag

bool SdrDragView::mbFramDrag

Definition at line 49 of file svddrgv.hxx.

Referenced by BegDragObj().

◆ mbInsGluePoint

bool SdrDragView::mbInsGluePoint

Definition at line 58 of file svddrgv.hxx.

◆ mbInsGluePointMode

bool SdrDragView::mbInsGluePointMode

Definition at line 60 of file svddrgv.hxx.

◆ mbInsObjPointMode

bool SdrDragView::mbInsObjPointMode

Definition at line 59 of file svddrgv.hxx.

◆ mbMarkedHitMovesAlways

bool SdrDragView::mbMarkedHitMovesAlways

Definition at line 50 of file svddrgv.hxx.

Referenced by SdrView::GetPreferredPointer().

◆ mbNoDragXorPolys

bool SdrDragView::mbNoDragXorPolys

Definition at line 61 of file svddrgv.hxx.

Referenced by SetNoDragXorPolys().

◆ mbResizeAtCenter

bool SdrDragView::mbResizeAtCenter

Definition at line 55 of file svddrgv.hxx.

◆ mbSolidDragging

bool SdrDragView::mbSolidDragging

Definition at line 54 of file svddrgv.hxx.

Referenced by IsSolidDragging(), and SetSolidDragging().

◆ meDragHdl

SdrHdlKind SdrDragView::meDragHdl

◆ mnDragThresholdPixels

sal_Int32 SdrDragView::mnDragThresholdPixels

Definition at line 47 of file svddrgv.hxx.

◆ mpCurrentSdrDragMethod

std::unique_ptr<SdrDragMethod> SdrDragView::mpCurrentSdrDragMethod

◆ mpDragHdl

SdrHdl* SdrDragView::mpDragHdl

◆ mpInsPointUndo

SdrUndoGeoObj* SdrDragView::mpInsPointUndo

Definition at line 43 of file svddrgv.hxx.

Referenced by BegInsGluePoint(), BrkDragObj(), EndDragObj(), and ImpBegInsObjPoint().

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