summaryrefslogtreecommitdiff
path: root/include/svx/svdmrkv.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/svdmrkv.hxx')
-rw-r--r--include/svx/svdmrkv.hxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx
index fd9d2399e910..83eefb9dd54f 100644
--- a/include/svx/svdmrkv.hxx
+++ b/include/svx/svdmrkv.hxx
@@ -105,7 +105,6 @@ protected:
sdr::ViewSelection maSdrViewSelection;
tools::Rectangle maMarkedObjRect;
- tools::Rectangle maMarkedObjRectNoOffset;
tools::Rectangle maMarkedPointsRect;
tools::Rectangle maMarkedGluePointsRect;
@@ -126,6 +125,18 @@ protected:
// flag to completely disable handles at the view
bool mbMarkHandlesHidden : 1;
+ // Helper to get a possible GridOffset from SdrObject
+ bool getPossibleGridOffsetForSdrObject(
+ basegfx::B2DVector& rOffset,
+ const SdrObject* pObj,
+ const SdrPageView* pPV) const;
+
+ // Helper to get a possible GridOffset from Position
+ bool getPossibleGridOffsetForPosition(
+ basegfx::B2DVector& rOffset,
+ const basegfx::B2DPoint& rPoint,
+ const SdrPageView* pPV) const;
+
private:
SVX_DLLPRIVATE void ImpClearVars();
SVX_DLLPRIVATE void ImpSetPointsRects() const;
@@ -398,7 +409,6 @@ public:
const tools::Rectangle& GetMarkedGluePointsRect() const; // Enclosing rectangle of all marked glue points
const tools::Rectangle& GetAllMarkedRect() const { return GetMarkedObjRect(); }
tools::Rectangle GetAllMarkedBoundRect() const { return GetMarkedObjBoundRect(); }
- Point GetGridOffset() const;
// Will be always called, if the list of marked objects might be changed.
// If you override this method, be sure that you call the