bump product version to 6.3.0.0.beta1
[LibreOffice.git] / include / svx / svdmrkv.hxx
blob05d7458f5b420e2ea338800fa81746ad5d14485d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SVX_SVDMRKV_HXX
21 #define INCLUDED_SVX_SVDMRKV_HXX
23 #include <svx/svdmark.hxx>
24 #include <svx/svdhdl.hxx>
25 #include <svx/svdsnpv.hxx>
26 #include <svx/svdtypes.hxx>
27 #include <svx/svxdllapi.h>
28 #include <o3tl/typed_flags_set.hxx>
30 class SfxViewShell;
32 // The following is not yet implemented, or just partially:
33 enum class SdrSearchOptions
35 NONE = 0x0000,
36 DEEP = 0x0001, /* recursive into group objects */
37 ALSOONMASTER = 0x0002, /* MasterPages are also scanned */
38 WHOLEPAGE = 0x0004, /* Not just the ObjList of PageView */
39 TESTMARKABLE = 0x0008, /* just markable objects/points/handles/... */
40 TESTMACRO = 0x0010, /* Just objects with macro */
41 TESTTEXTEDIT = 0x0020, /* Just TextEdit-enabled objects */
42 MARKED = 0x0040, /* Just marked objects/points/... */
43 PASS2BOUND = 0x0080, /* In case of empty search results, then 2nd. try with BoundRectHit */
44 BEFOREMARK = 0x0100, /* if one marked one found, ignore all behind that */
46 IMPISMASTER = 0x0200, /* MasterPage is being searched right now */
47 PICKMARKABLE = TESTMARKABLE,
48 PICKTEXTEDIT = DEEP | TESTMARKABLE | TESTTEXTEDIT,
49 PICKMACRO = DEEP | ALSOONMASTER | WHOLEPAGE | TESTMACRO,
51 namespace o3tl
53 template<> struct typed_flags<SdrSearchOptions> : is_typed_flags<SdrSearchOptions, 0x03ff> {};
56 enum class SdrHitKind
58 NONE, // No hit
59 Object, // Hit
60 Handle, // Marking handle
61 HelpLine, // Reference line
62 Gluepoint, // Glue point
63 TextEdit, // Open OutlinerView was hit
64 TextEditObj, // Object for SdrBeginTextEdit (Textbereich)
65 UrlField, // Field in TextObj was hit (while it is currently not edited)
66 Macro, // Object for BegMacroObj
67 MarkedObject, // Marked object (e.g. for dragging)
68 UnmarkedObject, // non-marked Object (e.g. for marking)
69 Cell // hit on a cell inside a table shape (outside of the cells text area)
72 enum class SdrViewEditMode {
73 Edit, // Also known as arrow or pointer mode
74 Create, // Tool for object creation
75 GluePointEdit // Glue point editing mode
78 /** options for ImpGetDescriptionString() */
79 enum class ImpGetDescriptionOptions
81 NONE = 0,
82 POINTS = 1,
83 GLUEPOINTS = 2,
86 class ImplMarkingOverlay;
88 class SVX_DLLPUBLIC SdrMarkView : public SdrSnapView
90 friend class SdrPageView;
92 // #114409#-3 Migrate selections
93 ImplMarkingOverlay* mpMarkObjOverlay;
94 ImplMarkingOverlay* mpMarkPointsOverlay;
95 ImplMarkingOverlay* mpMarkGluePointsOverlay;
97 protected:
98 SdrObject* mpMarkedObj; // If not just one object ( i.e. More than one object ) is marked.
99 SdrPageView* mpMarkedPV; // If all marked obects are situated on the same PageView.
101 Point maRef1; // Persistent - Rotation center / axis of reflection
102 Point maRef2; // Persistent
103 SdrHdlList maHdlList;
104 sdr::ViewSelection maSdrViewSelection;
106 tools::Rectangle maMarkedObjRect;
107 tools::Rectangle maMarkedPointsRect;
108 tools::Rectangle maMarkedGluePointsRect;
110 sal_uInt16 mnFrameHandlesLimit;
112 SdrDragMode meDragMode; // Persistent
113 SdrViewEditMode meEditMode; // Persistent
114 SdrViewEditMode meEditMode0; // Persistent
116 bool mbDesignMode : 1; // DesignMode for SdrUnoObj
117 bool mbForceFrameHandles : 1; // Persistent - FrameDrag also for single objects
118 bool mbPlusHdlAlways : 1; // Persistent
119 bool mbInsPolyPoint : 1; // at this time InsPolyPointDragging
120 bool mbMarkedObjRectDirty : 1;
121 bool mbMrkPntDirty : 1;
122 bool mbMarkedPointsRectsDirty : 1;
124 // flag to completely disable handles at the view
125 bool mbMarkHandlesHidden : 1;
127 // Helper to get a possible GridOffset from SdrObject
128 bool getPossibleGridOffsetForSdrObject(
129 basegfx::B2DVector& rOffset,
130 const SdrObject* pObj,
131 const SdrPageView* pPV) const;
133 // Helper to get a possible GridOffset from Position
134 bool getPossibleGridOffsetForPosition(
135 basegfx::B2DVector& rOffset,
136 const basegfx::B2DPoint& rPoint,
137 const SdrPageView* pPV) const;
139 private:
140 SVX_DLLPRIVATE void ImpClearVars();
141 SVX_DLLPRIVATE void ImpSetPointsRects() const;
142 void UndirtyMrkPnt() const;
144 protected:
145 virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override;
146 virtual void ModelHasChanged() override; // Is called by the PaintView
147 virtual void SetMarkHandles(SfxViewShell* pOtherShell); // maHdlList - fill (List of handles)
148 void SetMarkRects(); // Rects at the PageViews
149 void CheckMarked(); // Scan MarkList after Del and Lock Layer ...
150 void AddDragModeHdl(SdrDragMode eMode);
151 virtual bool MouseMove(const MouseEvent& rMEvt, OutputDevice* pWin) override;
152 virtual bool RequestHelp(const HelpEvent& rHEvt) override;
154 // add custom handles (used by other apps, e.g. AnchorPos)
155 virtual void AddCustomHdl();
157 void ForceRefToMarked();
158 void ForceUndirtyMrkPnt() const { if (mbMrkPntDirty) UndirtyMrkPnt(); }
160 virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, SdrPageView* pPV, SdrSearchOptions nOptions, const SdrLayerIDSet* pMVisLay) const;
161 SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObjList const * pOL, SdrPageView* pPV, SdrSearchOptions nOptions, const SdrLayerIDSet* pMVisLay, SdrObject*& rpRootObj) const;
162 SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObjList const * pOL, SdrPageView* pPV, SdrSearchOptions nOptions, const SdrLayerIDSet* pMVisLay, SdrObject*& rpRootObj,const SdrMarkList * pMarkList) const;
163 bool ImpIsFrameHandles() const;
164 OUString ImpGetDescriptionString(const char* pStrCacheID, ImpGetDescriptionOptions nOpt=ImpGetDescriptionOptions::NONE) const;
166 // Generates a string including degrees symbol, from an angel specification in 1/100deg
167 bool ImpMarkPoint(SdrHdl* pHdl, SdrMark* pMark, bool bUnmark);
168 virtual bool MarkPoints(const tools::Rectangle* pRect, bool bUnmark);
169 bool MarkGluePoints(const tools::Rectangle* pRect, bool bUnmark);
171 void SetMoveOutside(bool bOn);
172 bool MarkableObjectsExceed( int n ) const;
174 protected:
175 // #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
176 SdrMarkView(
177 SdrModel& rSdrModel,
178 OutputDevice* pOut);
180 virtual ~SdrMarkView() override;
182 public:
183 virtual bool IsAction() const override;
184 virtual void MovAction(const Point& rPnt) override;
185 virtual void EndAction() override;
186 virtual void BckAction() override;
187 virtual void BrkAction() override;
188 virtual void TakeActionRect(tools::Rectangle& rRect) const override;
190 virtual void ClearPageView() override;
191 virtual void HideSdrPage() override;
192 bool IsObjMarkable(SdrObject const * pObj, SdrPageView const * pPV) const;
194 // Returns sal_True if objects, points or glue points are selected by drawing a frame
195 // (as long as the frame is drawn).
196 bool IsMarking() const { return IsMarkObj() || IsMarkPoints() || IsMarkGluePoints(); }
198 // Marking objects by drawing of a selection frame
199 void BegMarkObj(const Point& rPnt, bool bUnmark = false);
200 void MovMarkObj(const Point& rPnt);
201 bool EndMarkObj();
202 void BrkMarkObj();
203 bool IsMarkObj() const { return (nullptr != mpMarkObjOverlay); }
205 // DragModes: SDRDRAG_CREATE,SdrDragMode::Move,SdrDragMode::Resize,SdrDragMode::Rotate,SdrDragMode::Mirror,SdrDragMode::Shear,SdrDragMode::Crook
206 // Move==Resize
207 // The interface might maybe be changed in the future because of Ortho-Drag
208 void SetDragMode(SdrDragMode eMode);
209 SdrDragMode GetDragMode() const { return meDragMode; }
210 void SetFrameHandles(bool bOn);
211 bool IsFrameHandles() const { return mbForceFrameHandles; }
213 // returns true if number of markable objects is greater than 1
214 bool HasMultipleMarkableObjects() const { return MarkableObjectsExceed(1); };
216 void SetEditMode(SdrViewEditMode eMode);
217 SdrViewEditMode GetEditMode() const { return meEditMode; }
219 void SetEditMode(bool bOn) { SetEditMode(bOn?SdrViewEditMode::Edit:SdrViewEditMode::Create); }
220 bool IsEditMode() const { return meEditMode==SdrViewEditMode::Edit; }
221 void SetCreateMode(bool bOn) { SetEditMode(bOn?SdrViewEditMode::Create:SdrViewEditMode::Edit); }
222 bool IsCreateMode() const { return meEditMode==SdrViewEditMode::Create; }
223 void SetGluePointEditMode(bool bOn) { SetEditMode(bOn?SdrViewEditMode::GluePointEdit:meEditMode0); }
224 bool IsGluePointEditMode() const { return meEditMode==SdrViewEditMode::GluePointEdit; }
226 void SetDesignMode(bool bOn = true);
227 bool IsDesignMode() const { return mbDesignMode; }
229 void SetFrameDragSingles(bool bOn=true) { SetFrameHandles(bOn); }
230 bool IsFrameDragSingles() const { return IsFrameHandles(); }
232 bool HasMarkableObj() const { return MarkableObjectsExceed(0); };
235 // migrate selections
237 protected:
238 // all available changing methods
239 SdrMarkList& GetMarkedObjectListWriteAccess() { return maSdrViewSelection.GetMarkedObjectListWriteAccess(); }
241 public:
242 // all available const methods for read access to selection
243 const SdrMarkList& GetMarkedObjectList() const { return maSdrViewSelection.GetMarkedObjectList(); }
244 // returns SAL_MAX_SIZE if not found
245 size_t TryToFindMarkedObject(const SdrObject* pObj) const { return GetMarkedObjectList().FindObject(pObj); }
246 SdrPageView* GetSdrPageViewOfMarkedByIndex(size_t nNum) const { return GetMarkedObjectList().GetMark(nNum)->GetPageView(); }
247 SdrMark* GetSdrMarkByIndex(size_t nNum) const { return GetMarkedObjectList().GetMark(nNum); }
248 SdrObject* GetMarkedObjectByIndex(size_t nNum) const { return GetMarkedObjectList().GetMark(nNum)->GetMarkedSdrObj(); }
249 size_t GetMarkedObjectCount() const { return GetMarkedObjectList().GetMarkCount(); }
250 void SortMarkedObjects() const { GetMarkedObjectList().ForceSort(); }
251 bool AreObjectsMarked() const { return 0 != GetMarkedObjectList().GetMarkCount(); }
252 OUString const & GetDescriptionOfMarkedObjects() const { return GetMarkedObjectList().GetMarkDescription(); }
253 OUString const & GetDescriptionOfMarkedPoints() const { return GetMarkedObjectList().GetPointMarkDescription(); }
254 OUString const & GetDescriptionOfMarkedGluePoints() const { return GetMarkedObjectList().GetGluePointMarkDescription(); }
256 // Get a list of all those links which are connected to marked nodes,
257 // but which are not marked themselves.
258 const SdrMarkList& GetEdgesOfMarkedNodes() const { return maSdrViewSelection.GetEdgesOfMarkedNodes(); }
259 const SdrMarkList& GetMarkedEdgesOfMarkedNodes() const { return maSdrViewSelection.GetMarkedEdgesOfMarkedNodes(); }
260 const std::vector<SdrObject*>& GetTransitiveHullOfMarkedObjects() const { return maSdrViewSelection.GetAllMarkedObjects(); }
263 // mechanism to complete disable handles at the view. Handles will be hidden and deleted
264 // when set, no new ones created, no interaction allowed. Handles will be recreated and shown
265 // when reset. Default is false.
266 void hideMarkHandles();
267 void showMarkHandles();
268 bool areMarkHandlesHidden() const { return mbMarkHandlesHidden; }
270 bool IsMarkedHit(const Point& rPnt, short nTol=-2) const { return IsMarkedObjHit(rPnt,nTol); }
271 bool IsMarkedObjHit(const Point& rPnt, short nTol=-2) const;
273 SdrHdl* PickHandle(const Point& rPnt) const;
275 // Pick: Supported options for nOptions are:
276 // SdrSearchOptions::DEEP SdrSearchOptions::ALSOONMASTER SdrSearchOptions::TESTMARKABLE SdrSearchOptions::TESTTEXTEDIT
277 // SdrSearchOptions::MARKED
278 // SdrSearchOptions::WHOLEPAGE
279 SdrObject* PickObj(const Point& rPnt, short nTol, SdrPageView*& rpPV, SdrSearchOptions nOptions, SdrObject** ppRootObj, bool* pbHitPassDirect=nullptr) const;
280 SdrObject* PickObj(const Point& rPnt, short nTol, SdrPageView*& rpPV, SdrSearchOptions nOptions=SdrSearchOptions::NONE) const;
281 bool MarkObj(const Point& rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false);
283 // Pick: Supported options for nOptions are SdrSearchOptions::PASS2BOUND
284 bool PickMarkedObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, SdrSearchOptions nOptions) const;
286 // Selects the most upper of the marked objects (O1) and scans from there
287 // towards bottom direction, selecting the first non-marked object (O2).
288 // In case of success the marking of O1 is deleted, a marking is created at
289 // O2 and TRUE is returned. With the parameter bPrev=sal_True the scan
290 // direction is turned to the other direction.
291 bool MarkNextObj(bool bPrev=false);
293 // Selects the most upper of the marked objects which is hit by rPnt/nTol
294 // and scans from there to bottom direction, selecting the first non-marked
295 // object (O2). In case of success the marking of O1 is deleted, a marking
296 // is created at O2 and sal_True is returned. With the parameter
297 // bPrev=sal_True the scan direction is turned to the other direction.
298 bool MarkNextObj(const Point& rPnt, short nTol, bool bPrev);
300 // Mark all objects within a rectangular area
301 // Just objects are marked which are inclosed completely
302 void MarkObj(const tools::Rectangle& rRect, bool bUnmark);
303 void MarkObj(SdrObject* pObj, SdrPageView* pPV, bool bUnmark=false, bool bImpNoSetMarkHdl=false);
304 void MarkAllObj(SdrPageView* pPV=nullptr); // pPage=NULL => all displayed pages
305 void UnmarkAllObj(SdrPageView const * pPV=nullptr); // pPage=NULL => all displayed pages
307 // This function is time-consuming intensive, as the MarkList has to be scanned.
308 bool IsObjMarked(SdrObject const * pObj) const;
309 void UnMarkAll(SdrPageView const * pPV=nullptr) { UnmarkAllObj(pPV); }
311 // Request/set the size of the marking handles. Declaration in Pixel.
312 // The value is meant to be the edge length ( link length ).
313 // Pair values are round up to impair values: 3->3, 4->5, 5->5, 6->7, 7->7, ...
314 // Default value is 7, minimum value is 3 Pixels.
315 sal_uInt16 GetMarkHdlSizePixel() const;
316 void SetMarkHdlSizePixel(sal_uInt16 nSiz);
318 virtual bool HasMarkablePoints() const;
319 virtual sal_Int32 GetMarkablePointCount() const;
320 virtual bool HasMarkedPoints() const;
322 // There might be points which can't be marked:
323 virtual bool IsPointMarkable(const SdrHdl& rHdl) const;
324 virtual bool MarkPoint(SdrHdl& rHdl, bool bUnmark=false);
326 /** should only be used from outside svx for special ui elements */
327 bool MarkPointHelper(SdrHdl* pHdl, SdrMark* pMark, bool bUnmark);
329 bool UnmarkPoint(SdrHdl& rHdl) { return MarkPoint(rHdl,true); }
330 bool IsPointMarked(const SdrHdl& rHdl) const { ForceUndirtyMrkPnt(); return rHdl.IsSelected(); }
331 bool MarkAllPoints() { return MarkPoints(nullptr,false); }
332 bool UnmarkAllPoints() { return MarkPoints(nullptr,true); }
334 // Selects the first marked point (P1) which is hit by rPnt
335 // and from there it searches the first non-marked point(P2).
336 // In case of success the marking of
337 // P1 is deleted, a mark is set at P2.
338 void MarkNextPoint();
340 // Search for the number of the suitable handle. In case of empty search result,
341 // SAL_MAX_SIZE is returned.
342 size_t GetHdlNum(SdrHdl const * pHdl) const { return maHdlList.GetHdlNum(pHdl); }
343 SdrHdl* GetHdl(size_t nHdlNum) const { return maHdlList.GetHdl(nHdlNum); }
344 const SdrHdlList& GetHdlList() const { return maHdlList; }
346 // Draw a selection frame for marking of points.
347 // This routine will just be started in case that HasMarkablePoints() returns sal_True.
348 bool BegMarkPoints(const Point& rPnt, bool bUnmark = false);
349 void MovMarkPoints(const Point& rPnt);
350 bool EndMarkPoints();
351 void BrkMarkPoints();
352 bool IsMarkPoints() const { return (nullptr != mpMarkPointsOverlay); }
354 // Select that additional handles are displayed permanently.
355 void SetPlusHandlesAlwaysVisible(bool bOn);
356 bool IsPlusHandlesAlwaysVisible() const { return mbPlusHdlAlways; }
358 bool HasMarkableGluePoints() const;
359 bool HasMarkedGluePoints() const;
361 // A gluepoint is clearly identified by the SdrObject
362 // (to which it belongs) as well as by a sal_uInt16 nId (as each SdrObject may consist of
363 // several glue points. Here at the View there is an additional
364 // SdrPageView, which should be defined correctly always.
365 // Alternatively a gluepoint may be characterized by a SdrHdl.
366 // In this case the SdrHdl instance consists of all required information.
367 // And in this case, the glue point are always is marked by enforcement
368 // (Handlers are just situated at marked gluepoints )
369 // Attention: With each change of the glue point status the handle list is re-calculated.
370 // All previously saved SdrHdl* became invalid by this, the same with the point IDs!
371 bool PickGluePoint(const Point& rPnt, SdrObject*& rpObj, sal_uInt16& rnId, SdrPageView*& rpPV) const;
372 bool MarkGluePoint(const SdrObject* pObj, sal_uInt16 nId, bool bUnmark);
373 void UnmarkGluePoint(const SdrObject* pObj, sal_uInt16 nId) { MarkGluePoint(pObj,nId,true); }
374 bool IsGluePointMarked(const SdrObject* pObj, sal_uInt16 nId) const;
376 // Get the Hdl (handle) of a marked GluePoint. Non-marked
377 // GluePoints don`t have handles
378 SdrHdl* GetGluePointHdl(const SdrObject* pObj, sal_uInt16 nId) const;
380 // Mark all points within this rectangular (View coordinates)
381 bool MarkAllGluePoints() { return MarkGluePoints(nullptr,false); }
382 bool UnmarkAllGluePoints() { return MarkGluePoints(nullptr,true); }
384 // Selects the first marked point (P1) which is hit by rPnt
385 // and from there it searches the first non-marked point(P2).
386 // In case of success the marking of
387 // P1 is deleted, a mark is set at P2.
388 void MarkNextGluePoint();
390 // Draw a selection frame for glue point marking.
391 // This routine will just be started in case that HasMarkablePoints() returns sal_True.
392 // The GlueEditMode sal_True is disregarded.
393 // bool BegMarkGluePoints(const Point& rPnt, OutputDevice* pOut);
394 bool BegMarkGluePoints(const Point& rPnt, bool bUnmark = false);
395 void MovMarkGluePoints(const Point& rPnt);
396 void EndMarkGluePoints();
397 void BrkMarkGluePoints();
398 bool IsMarkGluePoints() const { return (nullptr != mpMarkGluePointsOverlay); }
400 // bRestraintPaint=sal_False causes the handles not to be drawn immediately.
401 // AdjustMarkHdl is just called in case of changes; usually this causes an Invalidate
402 // At the end of a redraw the handles are drawn automatically.
403 // The purpose is to avoid unnecessary flickering. -> This does not yet work, that's why sal_True!
404 void AdjustMarkHdl(SfxViewShell* pOtherShell = nullptr); //HMHBOOL bRestraintPaint=sal_True);
406 const tools::Rectangle& GetMarkedObjRect() const; // SnapRects of Objects, without line width
407 tools::Rectangle GetMarkedObjBoundRect() const; // incl. line width, overlapping rags, ...
408 const tools::Rectangle& GetMarkedPointsRect() const; // Enclosing rectangle of all marked points
409 const tools::Rectangle& GetMarkedGluePointsRect() const; // Enclosing rectangle of all marked glue points
410 const tools::Rectangle& GetAllMarkedRect() const { return GetMarkedObjRect(); }
411 tools::Rectangle GetAllMarkedBoundRect() const { return GetMarkedObjBoundRect(); }
413 // Will be always called, if the list of marked objects might be changed.
414 // If you override this method, be sure that you call the
415 // methods of the base class!
416 virtual void MarkListHasChanged();
418 // Entering (Editing) of a maybe marked object group. If there are several
419 // object groups marked, the most upper group is selected. After that
420 // all member objects of the group are directly accessible. All other
421 // objects may not be processed in the meantime (until the next
422 // LeaveGroup()). With markings which overlaps pages, every page is processed
423 // separately. The method returns sal_True, if at least one group was entered.
424 void EnterMarkedGroup();
426 // Rotation center point and start point of the axis of reflextion, respectively
427 const Point& GetRef1() const { return maRef1; }
428 void SetRef1(const Point& rPt);
430 // End point of the axis of reflextion
431 const Point& GetRef2() const { return maRef2; }
432 void SetRef2(const Point& rPt);
433 /// Get access to the view shell owning this draw view, if any.
434 virtual SfxViewShell* GetSfxViewShell() const;
438 // - Hit tolarances:
439 // It has to be declared in logical coordinates. So please translate the
440 // wanted pixel value with PixelToLogic in Logical values.
441 // Taking as example a logical value of 100:
442 // - For a horizontal hairline (Object with height 0), the generated data is +/-100, i.e.
443 // a vertical area of 200 logical units is sensitive.
444 // - For a polygon, a rectangular of the size (200,200) is generated and a
445 // touch test between Poly and this Rect is processed.
446 // - Obects which respond SdrObject::HasEdit()==TRUE ( e.g. a text frame ),
447 // are specially treated: An additional sensitive area with a width of
448 // 2*Tol (200 units for this example) is created around the object.
449 // When an object is directly hit, the Edit method is called.
450 // In opposite, a hit in the surrounding sensitive area enables Dragging.
453 #endif // INCLUDED_SVX_SVDMRKV_HXX
455 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */