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

#include <svdmrkv.hxx>

Inheritance diagram for SdrMarkView:
[legend]
Collaboration diagram for SdrMarkView:
[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
 
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
 
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 bImpNoSetMarkHdl=false)
 
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
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
 
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)
 
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 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

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 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 (const char *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 (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)
 
void GlueInvalidate () const
 
 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

SdrObjectmpMarkedObj
 
SdrPageViewmpMarkedPV
 
Point maRef1
 
Point maRef2
 
SdrHdlList maHdlList
 
sdr::ViewSelection maSdrViewSelection
 
tools::Rectangle maMarkedObjRect
 
tools::Rectangle maMarkedPointsRect
 
tools::Rectangle maMarkedGluePointsRect
 
sal_uInt16 mnFrameHandlesLimit
 
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
 
- Protected Attributes inherited from SdrSnapView
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
 

Private Member Functions

SVX_DLLPRIVATE void ImpClearVars ()
 
SVX_DLLPRIVATE void ImpSetPointsRects () const
 
void UndirtyMrkPnt () const
 

Private Attributes

ImplMarkingOverlaympMarkObjOverlay
 
ImplMarkingOverlaympMarkPointsOverlay
 
ImplMarkingOverlaympMarkGluePointsOverlay
 

Friends

class SdrPageView
 

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 88 of file svdmrkv.hxx.

Constructor & Destructor Documentation

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

Definition at line 161 of file svdmrkv.cxx.

References ImpClearVars(), and SfxListener::StartListening().

SdrMarkView::~SdrMarkView ( )
overrideprotectedvirtual

Definition at line 174 of file svdmrkv.cxx.

References BrkMarkGluePoints(), BrkMarkObj(), and BrkMarkPoints().

Member Function Documentation

void SdrMarkView::AddCustomHdl ( )
protectedvirtual

Definition at line 1242 of file svdmrkv.cxx.

Referenced by SetMarkHandles().

void SdrMarkView::AddDragModeHdl ( SdrDragMode  eMode)
protected
void SdrMarkView::AdjustMarkHdl ( SfxViewShell pOtherShell = nullptr)
bool SdrMarkView::areMarkHandlesHidden ( ) const
inline
bool SdrMarkView::AreObjectsMarked ( ) const
inline
void SdrMarkView::BckAction ( )
overridevirtual

Reimplemented from SdrSnapView.

Reimplemented in SdrObjEditView, SdrCreateView, and SdrDragView.

Definition at line 300 of file svdmrkv.cxx.

References SdrSnapView::BckAction(), BrkMarkGluePoints(), BrkMarkObj(), and BrkMarkPoints().

Referenced by SdrObjEditView::BckAction().

bool SdrMarkView::BegMarkGluePoints ( const Point rPnt,
bool  bUnmark = false 
)
void SdrMarkView::BegMarkObj ( const Point rPnt,
bool  bUnmark = false 
)
bool SdrMarkView::BegMarkPoints ( const Point rPnt,
bool  bUnmark = false 
)
void SdrMarkView::BrkAction ( )
overridevirtual
void SdrMarkView::BrkMarkGluePoints ( )
void SdrMarkView::BrkMarkObj ( )

Definition at line 404 of file svdmrkv.cxx.

References DBG_ASSERT, IsMarkObj(), and mpMarkObjOverlay.

Referenced by BckAction(), BrkAction(), EndMarkObj(), ImpClearVars(), and ~SdrMarkView().

void SdrMarkView::BrkMarkPoints ( )
void SdrMarkView::CheckMarked ( )
protected
SdrObject * SdrMarkView::CheckSingleSdrObjectHit ( const Point rPnt,
sal_uInt16  nTol,
SdrObject pObj,
SdrPageView pPV,
SdrSearchOptions  nOptions,
const SdrLayerIDSet pMVisLay 
) const
protectedvirtual
SdrObject * SdrMarkView::CheckSingleSdrObjectHit ( const Point rPnt,
sal_uInt16  nTol,
SdrObjList const *  pOL,
SdrPageView pPV,
SdrSearchOptions  nOptions,
const SdrLayerIDSet pMVisLay,
SdrObject *&  rpRootObj 
) const
protected

Definition at line 2108 of file svdmrkv.cxx.

SdrObject * SdrMarkView::CheckSingleSdrObjectHit ( const Point rPnt,
sal_uInt16  nTol,
SdrObjList const *  pOL,
SdrPageView pPV,
SdrSearchOptions  nOptions,
const SdrLayerIDSet pMVisLay,
SdrObject *&  rpRootObj,
const SdrMarkList pMarkList 
) const
protected
void SdrMarkView::ClearPageView ( )
overridevirtual

Reimplemented from SdrPaintView.

Definition at line 329 of file svdmrkv.cxx.

References SdrPaintView::ClearPageView(), and UnmarkAllObj().

void SdrMarkView::EndAction ( )
overridevirtual
void SdrMarkView::EndMarkGluePoints ( )
bool SdrMarkView::EndMarkObj ( )
bool SdrMarkView::EndMarkPoints ( )
void SdrMarkView::EnterMarkedGroup ( )
void SdrMarkView::ForceRefToMarked ( )
protected
void SdrMarkView::ForceUndirtyMrkPnt ( ) const
inlineprotected
tools::Rectangle SdrMarkView::GetAllMarkedBoundRect ( ) const
inline

Definition at line 411 of file svdmrkv.hxx.

const tools::Rectangle& SdrMarkView::GetAllMarkedRect ( ) const
inline
OUString const& SdrMarkView::GetDescriptionOfMarkedGluePoints ( ) const
inline
OUString const& SdrMarkView::GetDescriptionOfMarkedObjects ( ) const
inline
OUString const& SdrMarkView::GetDescriptionOfMarkedPoints ( ) const
inline
SdrDragMode SdrMarkView::GetDragMode ( ) const
inline

Definition at line 209 of file svdmrkv.hxx.

const SdrMarkList& SdrMarkView::GetEdgesOfMarkedNodes ( ) const
inline
SdrViewEditMode SdrMarkView::GetEditMode ( ) const
inline

Definition at line 217 of file svdmrkv.hxx.

SdrHdl * SdrMarkView::GetGluePointHdl ( const SdrObject pObj,
sal_uInt16  nId 
) const
SdrHdl* SdrMarkView::GetHdl ( size_t  nHdlNum) const
inline

Definition at line 343 of file svdmrkv.hxx.

References SdrHdlList::GetHdl().

Referenced by MouseMove(), and RequestHelp().

const SdrHdlList& SdrMarkView::GetHdlList ( ) const
inline
size_t SdrMarkView::GetHdlNum ( SdrHdl const *  pHdl) const
inline

Definition at line 342 of file svdmrkv.hxx.

References SdrHdlList::GetHdlNum().

sal_Int32 SdrMarkView::GetMarkablePointCount ( ) const
virtual
const SdrMarkList& SdrMarkView::GetMarkedEdgesOfMarkedNodes ( ) const
inline
const tools::Rectangle & SdrMarkView::GetMarkedGluePointsRect ( ) const
tools::Rectangle SdrMarkView::GetMarkedObjBoundRect ( ) const
SdrObject* SdrMarkView::GetMarkedObjectByIndex ( size_t  nNum) const
inline
size_t SdrMarkView::GetMarkedObjectCount ( ) const
inline

Definition at line 249 of file svdmrkv.hxx.

Referenced by AddDragModeHdl(), SdrEditView::AlignMarkedObjects(), E3dView::BegDragObj(), SdrDragView::BegDragObj(), E3dView::Break3DObj(), CheckMarked(), E3dView::CheckPossibilities(), SdrEditView::CheckPossibilities(), E3dView::ConvertMarkedObjTo3D(), E3dView::ConvertMarkedToPolyObj(), E3dView::CreateMarkedObjModel(), SdrEditView::CrookMarkedObj(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrEditView::DeleteMarkedObj(), SdrPolyEditView::DeleteMarkedPoints(), SdrEditView::DistortMarkedObj(), SdrView::DoMouseEvent(), E3dView::DrawMarkedObj(), EnterMarkedGroup(), SdrEditView::ForceMarkedObjToAnotherPage(), SdrExchangeView::GetAllMarkedGraphic(), SdrObjEditView::GetAttributes(), SdrEditView::GetAttributes(), SdrView::GetContext(), GetMarkablePointCount(), SdrExchangeView::GetMarkedObjBitmapEx(), GetMarkedObjBoundRect(), SdrExchangeView::GetMarkedObjects(), SdrPolyEditView::GetMarkedObjectsClosedState(), SdrExchangeView::GetMarkedObjMetaFile(), GetMarkedObjRect(), SdrEditView::GetMarkedObjRotate(), SdrEditView::GetMarkedObjShear(), SdrView::GetPreferredPointer(), SdrObjEditView::GetScriptType(), SdrEditView::GetStyleSheet(), SdrEditView::GetStyleSheetFromMarked(), HasMarkableGluePoints(), HasMarkablePoints(), HasMarkedGluePoints(), HasMarkedPoints(), SdrPolyEditView::ImpCheckPolyPossibilities(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), ImpIsFrameHandles(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrPolyEditView::ImpTransformMarkedPoints(), SdrEditView::IsAlignPossible(), E3dView::IsBreak3DObjPossible(), E3dView::IsConvertTo3DObjPossible(), SdrDragView::IsInsGluePointPossible(), IsMarkedObjHit(), SdrPolyEditView::IsOpenCloseMarkedObjectsPossible(), SdrPolyEditView::IsRipUpAtMarkedPointsPossible(), MarkAllObj(), MarkGluePoints(), MarkListHasChanged(), MarkNextObj(), SdrEditView::MergeAttrFromMarked(), SdrEditView::MergeNotPersistAttrFromMarked(), SdrEditView::MirrorMarkedObj(), ModelHasChanged(), SdrEditView::MoveMarkedObj(), PickGluePoint(), PickMarkedObj(), PickObj(), SdrEditView::ResizeMarkedObj(), SdrEditView::ResizeMultMarkedObj(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrEditView::RotateMarkedObj(), SdrObjEditView::SetAttributes(), SdrEditView::SetAttributes(), SdrEditView::SetAttrToMarked(), SdrEditView::SetMarkedObjRect(), SdrPolyEditView::SetMarkedPointsSmooth(), SdrPolyEditView::SetMarkedSegmentsKind(), SetMarkHandles(), SdrEditView::SetNotPersistAttrToMarked(), SdrEditView::SetStyleSheet(), SdrEditView::SetStyleSheetToMarked(), SdrEditView::ShearMarkedObj(), E3dView::Start3DCreation(), SdrDragView::TakeDragObjAnchorPos(), UndirtyMrkPnt(), and UnmarkAllObj().

const SdrMarkList& SdrMarkView::GetMarkedObjectList ( ) const
inline

Definition at line 243 of file svdmrkv.hxx.

References sdr::ViewSelection::GetMarkedObjectList().

Referenced by SdrObjEditView::ApplyFormatPaintBrush(), E3dView::BegDragObj(), svx::checkForSelectedCustomShapes(), svx::checkForSelectedFontWork(), SvxXConnectionPreview::Construct(), SdrEditView::CopyMarkedObj(), E3dView::CreateMarkedObjModel(), SdrEditView::DeleteMarkedObj(), SvxGraphCtrlAccessibleContext::deselectAccessibleChild(), SdrDragCrook::EndSdrDrag(), SdrDragCrop::EndSdrDrag(), svx::ExtrusionBar::execute(), svx::FontworkBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), FmXFormShell::ForceUpdateSelection_Lock(), E3dView::Get3DAttributes(), getExtrusionColorState(), getExtrusionDepthState(), getExtrusionDirectionState(), getExtrusionLightingDirectionState(), getExtrusionLightingIntensityState(), getExtrusionProjectionState(), getExtrusionSurfaceState(), SdrEditView::GetGeoAttrFromMarked(), SvxGrafAttrHelper::GetGrafAttrState(), FmFormView::getMarkedGrid(), SvxGraphCtrlAccessibleContext::getSelectedAccessibleChild(), SvxGraphCtrlAccessibleContext::getSelectedAccessibleChildCount(), IMPL_LINK_NOARG(), SdrObjEditView::MarkListHasChanged(), svx::sidebar::PosSizePropertyPanel::NotifyItemUpdate(), sdr::table::SvxTableController::onSelectionHasChanged(), PickObj(), FmXFormView::restoreMarkList(), FmXFormView::saveMarkList(), SdrUndoObjSetText::SdrRepeat(), E3dView::Set3DAttributes(), SetAlignmentState(), SetCharacterSpacingState(), SetFontWorkShapeTypeState(), SdrEditView::SetGeoAttrToMarked(), SetKernCharacterPairsState(), SetMarkRects(), FmFormView::ShowSdrPage(), svxform::NavigatorTree::ShowSelectionProperties(), svxform::NavigatorTree::SynchronizeSelection(), and SdrObjEditView::TakeFormatPaintBrush().

SdrMarkList& SdrMarkView::GetMarkedObjectListWriteAccess ( )
inlineprotected
const tools::Rectangle & SdrMarkView::GetMarkedObjRect ( ) const
const tools::Rectangle & SdrMarkView::GetMarkedPointsRect ( ) const
sal_uInt16 SdrMarkView::GetMarkHdlSizePixel ( ) const

Definition at line 1944 of file svdmrkv.cxx.

References SdrHdlList::GetHdlSize(), and maHdlList.

Referenced by SdrEdgeObj::ImpFindConnector().

bool SdrMarkView::getPossibleGridOffsetForPosition ( basegfx::B2DVector rOffset,
const basegfx::B2DPoint rPoint,
const SdrPageView pPV 
) const
protected
bool SdrMarkView::getPossibleGridOffsetForSdrObject ( basegfx::B2DVector rOffset,
const SdrObject pObj,
const SdrPageView pPV 
) const
protected
const Point& SdrMarkView::GetRef1 ( ) const
inline
const Point& SdrMarkView::GetRef2 ( ) const
inline
SdrMark* SdrMarkView::GetSdrMarkByIndex ( size_t  nNum) const
inline

Definition at line 247 of file svdmrkv.hxx.

Referenced by SdrEditView::AlignMarkedObjects(), CheckMarked(), SdrEditView::CheckPossibilities(), E3dView::ConvertMarkedObjTo3D(), SdrDragMethod::createSdrDragEntries_GlueDrag(), SdrDragMethod::createSdrDragEntries_PointDrag(), SdrDragMethod::createSdrDragEntries_PolygonDrag(), SdrDragMethod::createSdrDragEntries_SolidDrag(), SdrEditView::CrookMarkedObj(), SdrGlueEditView::DeleteMarkedGluePoints(), SdrPolyEditView::DeleteMarkedPoints(), SdrEditView::DistortMarkedObj(), EnterMarkedGroup(), SdrEditView::ForceMarkedObjToAnotherPage(), SdrExchangeView::GetAllMarkedGraphic(), GetMarkablePointCount(), GetMarkedObjBoundRect(), SdrExchangeView::GetMarkedObjects(), SdrPolyEditView::GetMarkedObjectsClosedState(), GetMarkedObjRect(), SdrEditView::GetMarkedObjRotate(), SdrEditView::GetMarkedObjShear(), SdrEditView::GetStyleSheetFromMarked(), HasMarkableGluePoints(), HasMarkablePoints(), HasMarkedGluePoints(), HasMarkedPoints(), SdrPolyEditView::ImpCheckPolyPossibilities(), SdrGlueEditView::ImpCopyMarkedGluePoints(), SdrGlueEditView::ImpDoMarkedGluePoints(), ImpIsFrameHandles(), ImpMarkPoint(), SdrGlueEditView::ImpTransformMarkedGluePoints(), SdrPolyEditView::ImpTransformMarkedPoints(), IsGluePointMarked(), IsMarkedObjHit(), SdrPolyEditView::IsOpenCloseMarkedObjectsPossible(), SdrPolyEditView::IsRipUpAtMarkedPointsPossible(), MarkGluePoint(), MarkGluePoints(), MarkNextObj(), MarkPoint(), MarkPoints(), SdrEditView::MergeNotPersistAttrFromMarked(), SdrEditView::MirrorMarkedObj(), SdrEditView::MoveMarkedObj(), PickGluePoint(), PickMarkedObj(), PickObj(), SdrEditView::ResizeMarkedObj(), SdrEditView::ResizeMultMarkedObj(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrEditView::RotateMarkedObj(), SdrEditView::SetAttrToMarked(), SdrEditView::SetMarkedObjRect(), SdrPolyEditView::SetMarkedPointsSmooth(), SdrPolyEditView::SetMarkedSegmentsKind(), SetMarkHandles(), SdrEditView::SetNotPersistAttrToMarked(), SdrEditView::SetStyleSheetToMarked(), SdrEditView::ShearMarkedObj(), and UndirtyMrkPnt().

SdrPageView* SdrMarkView::GetSdrPageViewOfMarkedByIndex ( size_t  nNum) const
inline
SfxViewShell * SdrMarkView::GetSfxViewShell ( ) const
virtual

Get access to the view shell owning this draw view, if any.

Definition at line 1570 of file svdmrkv.cxx.

References SfxViewShell::Current().

Referenced by SdrObjEditView::ImpMakeOutlinerView(), ModelHasChanged(), SetMarkHandles(), and SdrObjEditView::ShowSdrPage().

const std::vector<SdrObject*>& SdrMarkView::GetTransitiveHullOfMarkedObjects ( ) const
inline
bool SdrMarkView::HasMarkableGluePoints ( ) const
bool SdrMarkView::HasMarkableObj ( ) const
inline

Definition at line 232 of file svdmrkv.hxx.

bool SdrMarkView::HasMarkablePoints ( ) const
virtual
bool SdrMarkView::HasMarkedGluePoints ( ) const
bool SdrMarkView::HasMarkedPoints ( ) const
virtual
bool SdrMarkView::HasMultipleMarkableObjects ( ) const
inline

Definition at line 214 of file svdmrkv.hxx.

void SdrMarkView::hideMarkHandles ( )

Definition at line 555 of file svdmrkv.cxx.

References AdjustMarkHdl(), and mbMarkHandlesHidden.

Referenced by GalleryTheme::GetGraphic().

void SdrMarkView::HideSdrPage ( )
overridevirtual
void SdrMarkView::ImpClearVars ( )
private
OUString SdrMarkView::ImpGetDescriptionString ( const char *  pStrCacheID,
ImpGetDescriptionOptions  nOpt = ImpGetDescriptionOptions::NONE 
) const
protected
bool SdrMarkView::ImpIsFrameHandles ( ) const
protected
bool SdrMarkView::ImpMarkPoint ( SdrHdl pHdl,
SdrMark pMark,
bool  bUnmark 
)
protected
void SdrMarkView::ImpSetPointsRects ( ) const
private
bool SdrMarkView::IsAction ( ) const
overridevirtual

Reimplemented from SdrSnapView.

Reimplemented in SdrObjEditView, SdrCreateView, and SdrDragView.

Definition at line 259 of file svdmrkv.cxx.

References SdrSnapView::IsAction(), IsMarkGluePoints(), IsMarkObj(), and IsMarkPoints().

Referenced by SdrObjEditView::IsAction().

bool SdrMarkView::IsCreateMode ( ) const
inline
bool SdrMarkView::IsDesignMode ( ) const
inline
bool SdrMarkView::IsEditMode ( ) const
inline

Definition at line 220 of file svdmrkv.hxx.

References Edit.

Referenced by SdrView::PickAnything().

bool SdrMarkView::IsFrameDragSingles ( ) const
inline

Definition at line 230 of file svdmrkv.hxx.

bool SdrMarkView::IsFrameHandles ( ) const
inline

Definition at line 211 of file svdmrkv.hxx.

Referenced by SdrView::GetContext().

bool SdrMarkView::IsGluePointEditMode ( ) const
inline
bool SdrMarkView::IsGluePointMarked ( const SdrObject pObj,
sal_uInt16  nId 
) const
bool SdrMarkView::IsMarkedHit ( const Point rPnt,
short  nTol = -2 
) const
inline

Definition at line 270 of file svdmrkv.hxx.

bool SdrMarkView::IsMarkedObjHit ( const Point rPnt,
short  nTol = -2 
) const
bool SdrMarkView::IsMarkGluePoints ( ) const
inline
bool SdrMarkView::IsMarking ( ) const
inline

Definition at line 196 of file svdmrkv.hxx.

Referenced by SdrView::PickAnything().

bool SdrMarkView::IsMarkObj ( ) const
inline
bool SdrMarkView::IsMarkPoints ( ) const
inline
bool SdrMarkView::IsObjMarkable ( SdrObject const *  pObj,
SdrPageView const *  pPV 
) const
bool SdrMarkView::IsObjMarked ( SdrObject const *  pObj) const
bool SdrMarkView::IsPlusHandlesAlwaysVisible ( ) const
inline

Definition at line 356 of file svdmrkv.hxx.

bool SdrMarkView::IsPointMarkable ( const SdrHdl rHdl) const
bool SdrMarkView::IsPointMarked ( const SdrHdl rHdl) const
inline

Definition at line 330 of file svdmrkv.hxx.

References SdrHdl::IsSelected().

bool SdrMarkView::MarkableObjectsExceed ( int  n) const
protected
bool SdrMarkView::MarkAllGluePoints ( )
inline

Definition at line 381 of file svdmrkv.hxx.

Referenced by SdrView::MarkAll().

void SdrMarkView::MarkAllObj ( SdrPageView pPV = nullptr)
bool SdrMarkView::MarkAllPoints ( )
inline

Definition at line 331 of file svdmrkv.hxx.

Referenced by SdrView::MarkAll().

bool SdrMarkView::MarkGluePoint ( const SdrObject pObj,
sal_uInt16  nId,
bool  bUnmark 
)
bool SdrMarkView::MarkGluePoints ( const tools::Rectangle pRect,
bool  bUnmark 
)
protected
void SdrMarkView::MarkListHasChanged ( )
virtual
void SdrMarkView::MarkNextGluePoint ( )

Definition at line 536 of file svdmrkv1.cxx.

References ForceUndirtyMrkPnt(), and SortMarkedObjects().

Referenced by SdrView::DoMouseEvent().

bool SdrMarkView::MarkNextObj ( bool  bPrev = false)
bool SdrMarkView::MarkNextObj ( const Point rPnt,
short  nTol,
bool  bPrev 
)
void SdrMarkView::MarkNextPoint ( )

Definition at line 233 of file svdmrkv1.cxx.

References ForceUndirtyMrkPnt(), and SortMarkedObjects().

Referenced by SdrView::DoMouseEvent().

bool SdrMarkView::MarkObj ( const Point rPnt,
short  nTol = -2,
bool  bToggle = false,
bool  bDeep = false 
)
void SdrMarkView::MarkObj ( const tools::Rectangle rRect,
bool  bUnmark 
)
void SdrMarkView::MarkObj ( SdrObject pObj,
SdrPageView pPV,
bool  bUnmark = false,
bool  bImpNoSetMarkHdl = false 
)
bool SdrMarkView::MarkPoint ( SdrHdl rHdl,
bool  bUnmark = false 
)
virtual
bool SdrMarkView::MarkPointHelper ( SdrHdl pHdl,
SdrMark pMark,
bool  bUnmark 
)

should only be used from outside svx for special ui elements

Definition at line 90 of file svdmrkv1.cxx.

References ImpMarkPoint().

bool SdrMarkView::MarkPoints ( const tools::Rectangle pRect,
bool  bUnmark 
)
protectedvirtual
void SdrMarkView::ModelHasChanged ( )
overrideprotectedvirtual
bool SdrMarkView::MouseMove ( const MouseEvent rMEvt,
OutputDevice pWin 
)
overrideprotectedvirtual
void SdrMarkView::MovAction ( const Point rPnt)
overridevirtual
void SdrMarkView::MovMarkGluePoints ( const Point rPnt)
void SdrMarkView::MovMarkObj ( const Point rPnt)
void SdrMarkView::MovMarkPoints ( const Point rPnt)
void SdrMarkView::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprotectedvirtual
bool SdrMarkView::PickGluePoint ( const Point rPnt,
SdrObject *&  rpObj,
sal_uInt16 &  rnId,
SdrPageView *&  rpPV 
) const
SdrHdl * SdrMarkView::PickHandle ( const Point rPnt) const
bool SdrMarkView::PickMarkedObj ( const Point rPnt,
SdrObject *&  rpObj,
SdrPageView *&  rpPV,
SdrSearchOptions  nOptions 
) const
SdrObject * SdrMarkView::PickObj ( const Point rPnt,
short  nTol,
SdrPageView *&  rpPV,
SdrSearchOptions  nOptions,
SdrObject **  ppRootObj,
bool *  pbHitPassDirect = nullptr 
) const
SdrObject * SdrMarkView::PickObj ( const Point rPnt,
short  nTol,
SdrPageView *&  rpPV,
SdrSearchOptions  nOptions = SdrSearchOptions::NONE 
) const

Definition at line 2155 of file svdmrkv.cxx.

References PickObj().

bool SdrMarkView::RequestHelp ( const HelpEvent rHEvt)
overrideprotectedvirtual
void SdrMarkView::SetCreateMode ( bool  bOn)
inline

Definition at line 221 of file svdmrkv.hxx.

References Create, and Edit.

Referenced by SdrCreateView::SetCreateMode().

void SdrMarkView::SetDesignMode ( bool  bOn = true)
void SdrMarkView::SetDragMode ( SdrDragMode  eMode)
void SdrMarkView::SetEditMode ( SdrViewEditMode  eMode)
void SdrMarkView::SetEditMode ( bool  bOn)
inline

Definition at line 219 of file svdmrkv.hxx.

References Create, Edit, and SetEditMode().

Referenced by SetEditMode().

void SdrMarkView::SetFrameDragSingles ( bool  bOn = true)
inline

Definition at line 229 of file svdmrkv.hxx.

void SdrMarkView::SetFrameHandles ( bool  bOn)
void SdrMarkView::SetGluePointEditMode ( bool  bOn)
inline

Definition at line 223 of file svdmrkv.hxx.

References GluePointEdit.

Referenced by SdrCreateView::SetGluePointEditMode().

void SdrMarkView::SetMarkHandles ( SfxViewShell pOtherShell)
protectedvirtual

Reimplemented in SdrDragView.

Definition at line 673 of file svdmrkv.cxx.

References SdrObject::addCropHandles(), AddCustomHdl(), AddDragModeHdl(), SdrHdlList::AddHdl(), SdrObject::AddToHdlList(), SdrObject::AddToPlusHdlList(), areMarkHandlesHidden(), BezierWeight, tools::Rectangle::Bottom(), tools::Rectangle::BottomCenter(), tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), SdrHdlList::Clear(), basegfx::B2DPolygon::count(), sdr::table::SdrTableObj::createTableEdgesJson(), Crop, SdrGluePointList::FindGluePoint(), SdrGluePoint::GetAbsolutePos(), basegfx::B2DPolygon::getB2DPoint(), SfxViewShell::GetEditWindowForActiveOLEObj(), SdrPaintView::GetFirstOutputDevice(), SdrHdlList::GetFocusHdl(), SdrObject::GetGluePointList(), SdrHdlList::GetHdl(), SdrHdlList::GetHdlCount(), tools::Rectangle::GetHeight(), SdrHdl::GetKind(), SdrMark::GetMarkedGluePoints(), GetMarkedObjectByIndex(), GetMarkedObjectCount(), GetMarkedObjRect(), SdrMark::GetMarkedPoints(), SdrMark::GetMarkedSdrObj(), SdrObject::GetName(), SdrHdl::GetObj(), SdrObject::GetObjIdentifier(), vcl::Window::GetOffsetPixelFrom(), OutputDevice::GetOutDevType(), SdrMark::GetPageView(), SdrHdl::GetPointNum(), SdrHdl::GetPolyNum(), SdrObject::GetRotateAngle(), GetSdrMarkByIndex(), GetSdrPageViewOfMarkedByIndex(), GetSfxViewShell(), SdrPageView::GetView(), tools::Rectangle::GetWidth(), basegfx::B2DTuple::getX(), Point::getX(), LokChartHelper::GetXController(), basegfx::B2DTuple::getY(), Point::getY(), Glue, SdrObject::HasLimitedRotation(), i, ImpIsFrameHandles(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsAncestorOf(), vcl::Window::IsChart(), tools::Rectangle::IsEmpty(), SdrTextObj::IsInEditMode(), SdrOle2Obj::isInplaceActive(), SdrObject::IsPolyObj(), SdrPaintView::IsTextEdit(), SdrTextObj::IsTextFrame(), SdrOle2Obj::isUiActive(), tools::Rectangle::Left(), Left, tools::Rectangle::LeftCenter(), SfxViewShell::libreOfficeKitViewCallback(), OutputDevice::LogicToLogic(), Lower, LowerLeft, LowerRight, maHdlList, mbPlusHdlAlways, meDragMode, tools::Rectangle::Move(), Point::Move(), Move, SdrHdlList::MoveTo(), mpMarkedObj, mpMarkedPV, nId, SfxLokHelper::notifyOtherView(), SfxLokHelper::notifyOtherViews(), nPos, OBJ_PATHFILL, OBJ_TABLE, OUTDEV_WINDOW, SdrPaintView::PaintWindowCount(), OutputDevice::PixelToLogic(), Poly, tools::Rectangle::Right(), Right, tools::Rectangle::RightCenter(), Rotate, SDRGLUEPOINT_NOTFOUND, SdrHdlList::SetDistortShear(), SdrHdlList::SetFocusHdl(), SdrHdl::SetObj(), SdrHdl::SetObjHdlNum(), SdrHdl::SetPageView(), SdrHdl::SetPlusHdl(), SdrHdlList::SetRotateShear(), SdrHdl::SetSelected(), Shear, SdrHdlList::Sort(), SdrObject::TakeXorPoly(), tools::Rectangle::Top(), tools::Rectangle::TopCenter(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), Pair::toString(), tools::Rectangle::toString(), Upper, UpperLeft, and UpperRight.

Referenced by AdjustMarkHdl(), SetDragMode(), SdrDragView::SetMarkHandles(), and SetPlusHandlesAlwaysVisible().

void SdrMarkView::SetMarkHdlSizePixel ( sal_uInt16  nSiz)

Definition at line 1949 of file svdmrkv.cxx.

References SdrHdlList::GetHdlSize(), maHdlList, and SdrHdlList::SetHdlSize().

void SdrMarkView::SetMarkRects ( )
protected
void SdrMarkView::SetMoveOutside ( bool  bOn)
protected

Definition at line 2463 of file svdmrkv.cxx.

References maHdlList, and SdrHdlList::SetMoveOutside().

Referenced by FmFormView::SetMoveOutside().

void SdrMarkView::SetPlusHandlesAlwaysVisible ( bool  bOn)
void SdrMarkView::SetRef1 ( const Point rPt)
void SdrMarkView::SetRef2 ( const Point rPt)
void SdrMarkView::showMarkHandles ( )

Definition at line 564 of file svdmrkv.cxx.

References AdjustMarkHdl(), and mbMarkHandlesHidden.

void SdrMarkView::SortMarkedObjects ( ) const
inline
void SdrMarkView::TakeActionRect ( tools::Rectangle rRect) const
overridevirtual
size_t SdrMarkView::TryToFindMarkedObject ( const SdrObject pObj) const
inline
void SdrMarkView::UndirtyMrkPnt ( ) const
private
void SdrMarkView::UnMarkAll ( SdrPageView const *  pPV = nullptr)
inline
bool SdrMarkView::UnmarkAllGluePoints ( )
inline
void SdrMarkView::UnmarkAllObj ( SdrPageView const *  pPV = nullptr)
bool SdrMarkView::UnmarkAllPoints ( )
inline
void SdrMarkView::UnmarkGluePoint ( const SdrObject pObj,
sal_uInt16  nId 
)
inline

Definition at line 373 of file svdmrkv.hxx.

References MarkGluePoint.

bool SdrMarkView::UnmarkPoint ( SdrHdl rHdl)
inline

Definition at line 329 of file svdmrkv.hxx.

References MarkPoint.

Friends And Related Function Documentation

friend class SdrPageView
friend

Definition at line 90 of file svdmrkv.hxx.

Member Data Documentation

SdrHdlList SdrMarkView::maHdlList
protected
tools::Rectangle SdrMarkView::maMarkedGluePointsRect
protected

Definition at line 108 of file svdmrkv.hxx.

Referenced by GetMarkedGluePointsRect(), and ImpSetPointsRects().

tools::Rectangle SdrMarkView::maMarkedObjRect
protected

Definition at line 106 of file svdmrkv.hxx.

Referenced by GetMarkedObjRect().

tools::Rectangle SdrMarkView::maMarkedPointsRect
protected

Definition at line 107 of file svdmrkv.hxx.

Referenced by GetMarkedPointsRect(), and ImpSetPointsRects().

Point SdrMarkView::maRef1
protected
Point SdrMarkView::maRef2
protected
sdr::ViewSelection SdrMarkView::maSdrViewSelection
protected

Definition at line 104 of file svdmrkv.hxx.

Referenced by MarkListHasChanged().

bool SdrMarkView::mbDesignMode
protected

Definition at line 116 of file svdmrkv.hxx.

Referenced by ImpClearVars(), IsObjMarkable(), and SetDesignMode().

bool SdrMarkView::mbForceFrameHandles
protected

Definition at line 117 of file svdmrkv.hxx.

Referenced by ImpClearVars(), ImpIsFrameHandles(), and SetFrameHandles().

bool SdrMarkView::mbInsPolyPoint
protected
bool SdrMarkView::mbMarkedObjRectDirty
protected
bool SdrMarkView::mbMarkedPointsRectsDirty
protected
bool SdrMarkView::mbMarkHandlesHidden
protected

Definition at line 125 of file svdmrkv.hxx.

Referenced by hideMarkHandles(), ImpClearVars(), and showMarkHandles().

bool SdrMarkView::mbMrkPntDirty
protected

Definition at line 121 of file svdmrkv.hxx.

Referenced by ImpClearVars(), ModelHasChanged(), and UndirtyMrkPnt().

bool SdrMarkView::mbPlusHdlAlways
protected
SdrDragMode SdrMarkView::meDragMode
protected
SdrViewEditMode SdrMarkView::meEditMode
protected
SdrViewEditMode SdrMarkView::meEditMode0
protected

Definition at line 114 of file svdmrkv.hxx.

Referenced by ImpClearVars(), and SetEditMode().

sal_uInt16 SdrMarkView::mnFrameHandlesLimit
protected
SdrObject* SdrMarkView::mpMarkedObj
protected
SdrPageView* SdrMarkView::mpMarkedPV
protected
ImplMarkingOverlay* SdrMarkView::mpMarkGluePointsOverlay
private
ImplMarkingOverlay* SdrMarkView::mpMarkObjOverlay
private

Definition at line 93 of file svdmrkv.hxx.

Referenced by BegMarkObj(), BrkMarkObj(), EndMarkObj(), and MovMarkObj().

ImplMarkingOverlay* SdrMarkView::mpMarkPointsOverlay
private

Definition at line 94 of file svdmrkv.hxx.

Referenced by BegMarkPoints(), BrkMarkPoints(), EndMarkPoints(), and MovMarkPoints().


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