116 static constexpr sal_uInt16 mnFrameHandlesLimit = 50;
137 bool getPossibleGridOffsetForSdrObject(
143 bool getPossibleGridOffsetForPosition(
150 void UndirtyMrkPnt()
const;
153 bool dumpGluePointsToJSON(boost::property_tree::ptree& rTree);
159 void modelHasChangedLOKit();
167 virtual void AddCustomHdl();
169 void ForceRefToMarked();
175 bool ImpIsFrameHandles()
const;
179 bool ImpMarkPoint(
SdrHdl* pHdl,
SdrMark* pMark,
bool bUnmark);
183 void SetMoveOutside(
bool bOn);
184 bool MarkableObjectsExceed(
int n )
const;
195 virtual bool IsAction()
const override;
208 bool IsMarking()
const {
return IsMarkObj() || IsMarkPoints() || IsMarkGluePoints(); }
211 void BegMarkObj(
const Point& rPnt,
bool bUnmark =
false);
212 void MovMarkObj(
const Point& rPnt);
215 bool IsMarkObj()
const {
return (
nullptr != mpMarkObjOverlay); }
222 void SetFrameHandles(
bool bOn);
281 void hideMarkHandles();
282 void showMarkHandles();
285 bool IsMarkedHit(
const Point& rPnt,
short nTol=-2)
const {
return IsMarkedObjHit(rPnt,nTol); }
286 bool IsMarkedObjHit(
const Point& rPnt,
short nTol=-2)
const;
296 bool MarkObj(
const Point& rPnt,
short nTol=-2,
bool bToggle=
false,
bool bDeep=
false);
306 bool MarkNextObj(
bool bPrev=
false);
313 bool MarkNextObj(
const Point& rPnt,
short nTol,
bool bPrev);
319 std::vector<basegfx::B2DRectangle> && rSubSelections = std::vector<basegfx::B2DRectangle>());
321 void UnmarkAllObj(
SdrPageView const * pPV=
nullptr);
324 bool IsObjMarked(
SdrObject const * pObj)
const;
331 sal_uInt16 GetMarkHdlSizePixel()
const;
332 void SetMarkHdlSizePixel(sal_uInt16 nSiz);
334 virtual bool HasMarkablePoints()
const;
335 virtual sal_Int32 GetMarkablePointCount()
const;
336 virtual bool HasMarkedPoints()
const;
339 bool IsPointMarkable(
const SdrHdl& rHdl)
const;
343 bool MarkPointHelper(
SdrHdl* pHdl,
SdrMark* pMark,
bool bUnmark);
354 void MarkNextPoint();
364 bool BegMarkPoints(
const Point& rPnt,
bool bUnmark =
false);
365 void MovMarkPoints(
const Point& rPnt);
366 bool EndMarkPoints();
367 void BrkMarkPoints();
371 void SetPlusHandlesAlwaysVisible(
bool bOn);
374 bool HasMarkableGluePoints()
const;
375 bool HasMarkedGluePoints()
const;
390 bool IsGluePointMarked(
const SdrObject* pObj, sal_uInt16 nId)
const;
404 void MarkNextGluePoint();
410 bool BegMarkGluePoints(
const Point& rPnt,
bool bUnmark =
false);
411 void MovMarkGluePoints(
const Point& rPnt);
412 void EndMarkGluePoints();
413 void BrkMarkGluePoints();
420 void AdjustMarkHdl(
SfxViewShell* pOtherShell =
nullptr);
432 virtual void MarkListHasChanged();
440 void EnterMarkedGroup();
444 void SetRef1(
const Point& rPt);
448 void SetRef2(
const Point& rPt);
size_t GetHdlNum(const SdrHdl *pHdl) const
SdrHdl * GetHdl(size_t nNum) const
void SetGluePointEditMode(bool bOn)
void SetFrameDragSingles(bool bOn=true)
std::unique_ptr< ImplMarkingOverlay > mpMarkGluePointsOverlay
bool IsFrameDragSingles() const
const Point & GetRef2() const
const SdrMarkList & GetMarkedEdgesOfMarkedNodes() const
const SdrMarkList & GetEdgesOfMarkedNodes() const
bool HasMarkableObj() const
void UnmarkGluePoint(const SdrObject *pObj, sal_uInt16 nId)
const Point & GetRef1() const
bool IsMarkPoints() const
const SdrMarkList & GetMarkedObjectList() const
tools::Rectangle maMarkedPointsRect
bool AreObjectsMarked() const
void SortMarkedObjects() const
std::unique_ptr< ImplMarkingOverlay > mpMarkPointsOverlay
OUString const & GetDescriptionOfMarkedPoints() const
std::unique_ptr< MarkingSubSelectionOverlay > mpMarkingSubSelectionOverlay
SdrObject * GetMarkedObjectByIndex(size_t nNum) const
const SdrHdlList & GetHdlList() const
void UnMarkAll(SdrPageView const *pPV=nullptr)
bool IsDesignMode() const
bool mbMarkedPointsRectsDirty
size_t GetHdlNum(SdrHdl const *pHdl) const
SdrMarkList & GetMarkedObjectListWriteAccess()
tools::Rectangle GetAllMarkedBoundRect() const
bool IsMarkGluePoints() const
size_t GetMarkedObjectCount() const
void ForceUndirtyMrkPnt() const
void SetNegativeX(bool bOn)
whether all x coordinates in use are negated or not
std::unique_ptr< ImplMarkingOverlay > mpMarkObjOverlay
tools::Rectangle maMarkedObjRect
SdrViewEditMode GetEditMode() const
SdrMark * GetSdrMarkByIndex(size_t nNum) const
SdrDragMode GetDragMode() const
OUString const & GetDescriptionOfMarkedObjects() const
tools::Rectangle maMarkedGluePointsRect
bool HasMultipleMarkableObjects() const
SdrViewEditMode meEditMode
void SetEditMode(bool bOn)
std::vector< basegfx::B2DRectangle > maSubSelectionList
SdrPageView * GetSdrPageViewOfMarkedByIndex(size_t nNum) const
size_t TryToFindMarkedObject(const SdrObject *pObj) const
bool UnmarkAllGluePoints()
SdrViewEditMode meEditMode0
bool IsCreateMode() const
const std::vector< SdrObject * > & GetTransitiveHullOfMarkedObjects() const
SdrHdl * GetHdl(size_t nHdlNum) const
bool mbMarkedObjRectDirty
bool IsMarkedHit(const Point &rPnt, short nTol=-2) const
bool IsFrameHandles() const
bool areMarkHandlesHidden() const
bool IsGluePointEditMode() const
const tools::Rectangle & GetAllMarkedRect() const
sdr::ViewSelection maSdrViewSelection
void SetCreateMode(bool bOn)
bool UnmarkPoint(SdrHdl &rHdl)
OUString const & GetDescriptionOfMarkedGluePoints() const
bool IsPointMarked(const SdrHdl &rHdl) const
bool IsPlusHandlesAlwaysVisible() const
Everything a View needs to know about a selected object.
void SetDesignMode(bool _bDesignMode) const
Sets all elements in the view which support a design and an alive mode into the given mode.
bool IsObjMarkable(SdrObject const *pObj) const
At least one member must be visible for the Group object and it must not be locked.
virtual void ClearPageView()
virtual bool RequestHelp(const HelpEvent &)
virtual bool MouseMove(const MouseEvent &, OutputDevice *)
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual void HideSdrPage()
virtual void ModelHasChanged()
virtual bool IsAction() const override
virtual void TakeActionRect(tools::Rectangle &rRect) const override
virtual void EndAction() override
virtual void BrkAction() override
virtual void BckAction() override
virtual void MovAction(const Point &rPnt) override
ImpGetDescriptionOptions
options for ImpGetDescriptionString()
#define SVXCORE_DLLPUBLIC