LibreOffice Module svx (master) 1
svdhdl.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#ifndef INCLUDED_SVX_SVDHDL_HXX
21#define INCLUDED_SVX_SVDHDL_HXX
22
23#include <tools/gen.hxx>
24#include <vcl/graph.hxx>
25
26#include <svx/svdoedge.hxx>
29#include <svx/svxdllapi.h>
30#include <deque>
31
32class OutputDevice;
33class SdrHdlList;
34class SdrMarkView;
35class SdrObject;
36class SdrPageView;
37class MouseEvent;
38class HelpEvent;
39
40namespace sdr::contact {
41 class ObjectContact;
42}
43
44// Every object must be able to create its handles. They will be fetched on
45// selection, registered at the View and made visible.
46// When a handle is touched by the mouse (IsHit()), from the view the matching mouse pointer
47// is picked up from the handle and passed to the app (on demand) to be switched on
48// Handles like e.g. rotation center or the mirror axis are generated by
49// the view if the correct transformation mode was selected by the controller.
50// SdrHdlKind::Move...SdrHdlKind::LowerRight should always be consecutive in the enum!
51
52enum class SdrHdlKind
53{
54 Move, // Handle to move the object
55 UpperLeft, // Upper left
56 Upper, // Upper
57 UpperRight, // Upper right
58 Left, // Left
59 Right, // Right
60 LowerLeft, // Bottom left
61 Lower, // Bottom
62 LowerRight, // Bottom right
63 Poly, // Select point in polygon or beziercurve
64 BezierWeight, // Weight of a beziercurve
65 Circle, // Angle to circle segment, corner radius to rectangle
66 Ref1, // Reference point 1, e.g. rotation center
67 Ref2, // Reference point 2, e.g. endpoint of mirror axis
68 MirrorAxis, // Mirror axis
69 Glue, // GluePoint
70 Anchor, // Anchor symbol (SD, SW)
71 Transparence, // Interactive transparence
72 Gradient, // Interactive gradient
73 Color, // Interactive color
74 User,
75 Anchor_TR, // #101688# Anchor handle with (0,0) at top right for SW
76
77 // for SJ and the CustomShapeHandles:
79
81};
82
83
85{
86 LightGreen = 0,
87 Cyan = 1,
88 LightCyan = 2,
89 Red = 3,
90 LightRed = 4,
91 Yellow = 5,
92};
93
94
96{
101 Circ_7x7,
102 Circ_9x9,
104 Elli_7x9,
105 Elli_9x11,
106 Elli_9x7,
107 Elli_11x9,
111 Crosshair,
112 Glue,
114 Anchor,
115
116 // #98388# add AnchorPressed to be able to animate anchor control, too.
118
119 // #101688# AnchorTR for SW
120 AnchorTR,
122
123 // for SJ and the CustomShapeHandles:
127};
128
129
131{
132 friend class SdrMarkView; // for the access to nObjHdlNum
133 friend class SdrHdlList;
134
135protected:
136 SdrObject* pObj; // does handle belong to an object?
137 SdrPageView* pPV; // does handle belong to an object in certain pageview?
138 SdrHdlList* pHdlList; // to store the handlesize
139 // OVERLAYMANAGER
141
143
145
146 Degree100 nRotationAngle; // turn handle or mousepointer
147 sal_uInt32 nObjHdlNum; // required by MarkView
148 sal_uInt32 nPolyNum; // Polygonpoint
149 sal_uInt32 nPPntNum; // Point number of the polygon
150 sal_uInt32 nSourceHdlNum; // still to implement
151
152 bool bSelect : 1; // is a polygon point selected?
153 bool b1PixMore : 1; // True=handle is shown 1 pixel larger
154 bool bPlusHdl : 1; // for Hld-Paint optimisation at MarkPoint/UnmarkPoint, and other ...
155
156 bool mbMoveOutside; // forces this handle to be moved outside of the selection rectangle
157
158 // create marker for this kind
159 virtual void CreateB2dIAObject();
160
161 // cleanup marker if one exists
162 void GetRidOfIAObject();
163
164private:
165 bool mbMouseOver; // is true if the mouse is over this handle
166
167protected:
168 std::unique_ptr<sdr::overlay::OverlayObject> CreateOverlayObject(
169 const basegfx::B2DPoint& rPos,
170 BitmapColorIndex eColIndex, BitmapMarkerKind eKindOfMarker,
171 Point aMoveOutsideOffset = Point());
172 static BitmapMarkerKind GetNextBigger(BitmapMarkerKind eKnd);
173
174 // Helper to support inserting a new OverlayObject. It will do all
175 // necessary stuff involved with that:
176 // - add GridOffset for non-linear ViewToDevice transformation (calc)
177 // - add to OverlayManager
178 // - add to local OverlayObjectList - ownership change (!)
179 // It is centralized here (and protected) to avoid that new usages/
180 // implementations forget one of these needed steps.
181 void insertNewlyCreatedOverlayObjectForSdrHdl(
182 std::unique_ptr<sdr::overlay::OverlayObject> pOverlayObject,
183 const sdr::contact::ObjectContact& rObjectContact,
184 sdr::overlay::OverlayManager& rOverlayManager);
185
186public:
187 SdrHdl();
188 explicit SdrHdl(const Point& rPnt, SdrHdlKind eNewKind);
189 virtual ~SdrHdl();
190
191 const sdr::overlay::OverlayObjectList& getOverlayObjectList() const { return maOverlayGroup; }
192
193 void SetHdlList(SdrHdlList* pList);
194 SdrHdlKind GetKind() const { return eKind; }
195 void Touch();
196
197 const Point& GetPos() const { return aPos; }
198 void SetPos(const Point& rPnt);
199
200 SdrPageView* GetPageView() const { return pPV; }
201 void SetPageView(SdrPageView* pNewPV) { pPV=pNewPV; }
202
203 SdrObject* GetObj() const { return pObj; }
204 void SetObj(SdrObject* pNewObj);
205
206 bool IsSelected() const { return bSelect; }
207 void SetSelected(bool bJa=true);
208
209 void Set1PixMore(bool bJa=true);
210 void SetRotationAngle(Degree100 n);
211
213 bool IsVertexHdl() const { return eKind==SdrHdlKind::Upper || eKind==SdrHdlKind::Lower || eKind==SdrHdlKind::Left || eKind==SdrHdlKind::Right; }
214
215 void SetObjHdlNum(sal_uInt32 nNum) { nObjHdlNum=nNum; }
216 sal_uInt32 GetObjHdlNum() const { return nObjHdlNum; }
217
218 void SetPolyNum(sal_uInt32 nNum) { nPolyNum=nNum; }
219 sal_uInt32 GetPolyNum() const { return nPolyNum; }
220
221 void SetPointNum(sal_uInt32 nNum) { nPPntNum=nNum; }
222 sal_uInt32 GetPointNum() const { return nPPntNum; }
223
224 void SetPlusHdl(bool bOn) { bPlusHdl=bOn; }
225 bool IsPlusHdl() const { return bPlusHdl; }
226
227 void SetSourceHdlNum(sal_uInt32 nNum) { nSourceHdlNum=nNum; }
228 sal_uInt32 GetSourceHdlNum() const { return nSourceHdlNum; }
229
230 virtual PointerStyle GetPointer() const;
231 bool IsHdlHit(const Point& rPnt) const;
232
233 virtual bool IsFocusHdl() const;
234
235 void SetMoveOutside( bool bMoveOutside );
236
239 virtual void onMouseEnter(const MouseEvent& rMEvt);
240
242 virtual void onHelpRequest();
243
246 virtual void onMouseLeave();
247
248 static BitmapEx createGluePointBitmap();
249};
250
251
252#define SDR_HANDLE_COLOR_SIZE_NORMAL Size(13, 13)
253#define SDR_HANDLE_COLOR_SIZE_SELECTED Size(17, 17)
254
256{
257 // size of colr markers
259
260 // color
262
263 // callback link when value changed
265
266 // use luminance values only
268
269 // create marker for this kind
270 SVX_DLLPRIVATE virtual void CreateB2dIAObject() override;
271
272 // help functions
273 SVX_DLLPRIVATE BitmapEx CreateColorDropper(Color aCol);
274 SVX_DLLPRIVATE static Color GetLuminance(const Color& rCol);
275
276public:
277 explicit SdrHdlColor(const Point& rRef, Color aCol, const Size& rSize, bool bLuminance);
278 virtual ~SdrHdlColor() override;
279
280 bool IsUseLuminance() const { return bUseLuminance; }
281
282 const Color& GetColor() const { return aMarkerColor; }
283 void SetColor(Color aNew, bool bCallLink = false);
284
285 void SetSize(const Size& rNew);
286
287 void SetColorChangeHdl(const Link<SdrHdlColor*,void>& rLink) { aColorChangeHdl = rLink; }
288};
289
290
291class SdrHdlGradient final : public SdrHdl
292{
293private:
294 // pointer to used color handles
297
298 // 2nd position
300
301 // is this a gradient or a transparence
302 bool bGradient : 1;
303
304 // select which handle to move
307
308 // create marker for this kind
309 virtual void CreateB2dIAObject() override;
310
311public:
312 SdrHdlGradient(const Point& rRef1, const Point& rRef2, bool bGrad);
313 virtual ~SdrHdlGradient() override;
314
315 bool IsGradient() const { return bGradient; }
316
317 // set the associated color handles
318 void SetColorHandles(SdrHdlColor* pL1, SdrHdlColor* pL2) { pColHdl1 = pL1; pColHdl2 = pL2; }
319 SdrHdlColor* GetColorHdl1() const { return pColHdl1; }
320 SdrHdlColor* GetColorHdl2() const { return pColHdl2; }
321
322 const Point& Get2ndPos() const { return a2ndPos; }
323 void Set2ndPos(const Point& rPnt);
324
325 // the link called by the color handles
326 DECL_LINK(ColorChangeHdl, SdrHdlColor*, void);
327
328 // transformation call, create gradient from this handle
329 void FromIAOToItem(SdrObject* pObj, bool bSetItemOnObject, bool bUndo);
330
331 // selection flags for interaction
332 bool IsMoveSingleHandle() const { return bMoveSingleHandle; }
333 void SetMoveSingleHandle(bool bNew) { bMoveSingleHandle = bNew; }
334 bool IsMoveFirstHandle() const { return bMoveFirstHandle; }
335 void SetMoveFirstHandle(bool bNew) { bMoveFirstHandle = bNew; }
336};
337
338
339// Mirror axis
340class SdrHdlLine final : public SdrHdl
341{
342 // create marker for this kind
343 virtual void CreateB2dIAObject() override;
344
347
348public:
349 SdrHdlLine(SdrHdl& rHdl1, SdrHdl& rHdl2, SdrHdlKind eNewKind) { eKind=eNewKind; pHdl1=&rHdl1; pHdl2=&rHdl2; }
350 virtual ~SdrHdlLine() override;
351
352 virtual PointerStyle GetPointer() const override;
353};
354
355// a SdrHdlBezWgt knows about its "base handle". Its draw method
356// draws additionally a line from its position to the position
357// of the base handle
358class SdrHdlBezWgt final : public SdrHdl
359{
360public:
361 // this is not a Copy-Ctor!!!
362 SdrHdlBezWgt(const SdrHdl* pRefHdl1, SdrHdlKind eNewKind=SdrHdlKind::BezierWeight) { eKind=eNewKind; pHdl1=pRefHdl1; }
363 virtual ~SdrHdlBezWgt() override;
364
365private:
366 // create marker for this kind
367 virtual void CreateB2dIAObject() override;
368
369 const SdrHdl* pHdl1;
370};
371
372
373class E3dVolumeMarker final : public SdrHdl
374{
376
377 // create marker for this kind
378 virtual void CreateB2dIAObject() override;
379
380public:
381 explicit E3dVolumeMarker(const basegfx::B2DPolyPolygon& rWireframePoly);
382};
383
384
385class ImpEdgeHdl final : public SdrHdl
386{
388
389 // create marker for this kind
390 virtual void CreateB2dIAObject() override;
391
392public:
393 ImpEdgeHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind),eLineCode(SdrEdgeLineCode::MiddleLine) {}
394 virtual ~ImpEdgeHdl() override;
395
396 void SetLineCode(SdrEdgeLineCode eCode);
398 bool IsHorzDrag() const;
399 virtual PointerStyle GetPointer() const override;
400};
401
402
403class ImpMeasureHdl final : public SdrHdl
404{
405 // create marker for this kind
406 virtual void CreateB2dIAObject() override;
407
408public:
409 ImpMeasureHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind) {}
410 virtual ~ImpMeasureHdl() override;
411
412 virtual PointerStyle GetPointer() const override;
413};
414
415
416class ImpTextframeHdl final : public SdrHdl
417{
419
420 // create marker for this kind
421 virtual void CreateB2dIAObject() override;
422
423public:
424 explicit ImpTextframeHdl(const tools::Rectangle& rRect);
425};
426
427
429{
432 std::deque<std::unique_ptr<SdrHdl>> maList;
433 sal_uInt16 nHdlSize;
434
435 bool bRotateShear : 1;
437 bool bMoveOutside : 1; // move handles outwards (for TextEdit)
438
440 SVX_DLLPRIVATE void operator=(const SdrHdlList&) = delete;
441
442public:
443 explicit SdrHdlList(SdrMarkView* pV);
444 ~SdrHdlList();
445 void Clear();
446
447 void TravelFocusHdl(bool bForward);
448 SdrHdl* GetFocusHdl() const;
449 void SetFocusHdl(SdrHdl* pNew);
450 void ResetFocusHdl();
451
452 // Access to View
453 SdrMarkView* GetView() const { return pView;}
454
455 // Sorting: 1.Level first reference point handle, then normal handles, next Glue, then User then Plushandles
456 // 2.Level PageView (Pointer)
457 // 3.Level Position (x+y)
458 void Sort();
459 size_t GetHdlCount() const { return maList.size(); }
460 SdrHdl* GetHdl(size_t nNum) const { return nNum < maList.size() ? maList[nNum].get() : nullptr; }
461 size_t GetHdlNum(const SdrHdl* pHdl) const;
462 void SetHdlSize(sal_uInt16 nSiz);
463 sal_uInt16 GetHdlSize() const { return nHdlSize; }
464 void SetMoveOutside(bool bOn);
465 bool IsMoveOutside() const { return bMoveOutside; }
466 void SetRotateShear(bool bOn);
467 bool IsRotateShear() const { return bRotateShear; }
468 void SetDistortShear(bool bOn);
469 bool IsDistortShear() const { return bDistortShear; }
470
471 // AddHdl takes ownership of the handle. It should be on the Heap
472 // as Clear() deletes it.
473 void AddHdl(std::unique_ptr<SdrHdl> pHdl);
474 std::unique_ptr<SdrHdl> RemoveHdl(size_t nNum);
475 void RemoveAllByKind(SdrHdlKind eKind);
476
477 // move the ownership of all the SdrHdl to rOther
478 void MoveTo(SdrHdlList& rOther);
479
480 // Last inserted handles are likely hit (if the handles are above each other)
481 SdrHdl* IsHdlListHit(const Point& rPnt) const;
482 SdrHdl* GetHdl(SdrHdlKind eKind1) const;
483};
484
485
487{
488public:
490 const Point& rPnt,
491 SdrHdlKind eNewKind,
492 double fShearX,
493 double fRotation);
494
495private:
496 // create marker for this kind
497 virtual void CreateB2dIAObject() override;
498
499 BitmapEx GetBitmapForHandle( const BitmapEx& rBitmap, int nSize );
500
501 // evtl. shear and rotation, equal to the object's one to allow adaptation of
502 // the visualization handles
503 double mfShearX;
505};
506
507
508class SdrCropViewHdl final : public SdrHdl
509{
510private:
514 double mfCropTop;
517
518public:
520 basegfx::B2DHomMatrix aObjectTransform,
521 Graphic aGraphic,
522 double fCropLeft,
523 double fCropTop,
524 double fCropRight,
525 double fCropBottom);
526
527private:
528 // create marker for this kind
529 virtual void CreateB2dIAObject() override;
530};
531
532
533#endif // INCLUDED_SVX_SVDHDL_HXX
534
535/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct _ADOUser User
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:1559
basegfx::B2DPolyPolygon aWireframePoly
Definition: svdhdl.hxx:375
E3dVolumeMarker(const basegfx::B2DPolyPolygon &rWireframePoly)
Definition: svdhdl.cxx:1554
ImpEdgeHdl(const Point &rPnt, SdrHdlKind eNewKind)
Definition: svdhdl.hxx:393
bool IsHorzDrag() const
Definition: svdhdl.cxx:1695
SdrEdgeLineCode GetLineCode() const
Definition: svdhdl.hxx:397
virtual PointerStyle GetPointer() const override
Definition: svdhdl.cxx:1682
virtual ~ImpEdgeHdl() override
Definition: svdhdl.cxx:1601
SdrEdgeLineCode eLineCode
Definition: svdhdl.hxx:387
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:1605
void SetLineCode(SdrEdgeLineCode eCode)
Definition: svdhdl.cxx:1670
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:1723
virtual ~ImpMeasureHdl() override
Definition: svdhdl.cxx:1719
ImpMeasureHdl(const Point &rPnt, SdrHdlKind eNewKind)
Definition: svdhdl.hxx:409
virtual PointerStyle GetPointer() const override
Definition: svdhdl.cxx:1779
ImpTextframeHdl(const tools::Rectangle &rRect)
Definition: svdhdl.cxx:1791
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:1797
const tools::Rectangle maRect
Definition: svdhdl.hxx:418
double mfShearX
Definition: svdhdl.hxx:503
double mfRotation
Definition: svdhdl.hxx:504
double mfCropRight
Definition: svdhdl.hxx:515
double mfCropBottom
Definition: svdhdl.hxx:516
double mfCropLeft
Definition: svdhdl.hxx:513
Graphic maGraphic
Definition: svdhdl.hxx:512
SdrCropViewHdl(basegfx::B2DHomMatrix aObjectTransform, Graphic aGraphic, double fCropLeft, double fCropTop, double fCropRight, double fCropBottom)
Definition: svdhdl.cxx:2466
basegfx::B2DHomMatrix maObjectTransform
Definition: svdhdl.hxx:511
double mfCropTop
Definition: svdhdl.hxx:514
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:2503
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:1497
const SdrHdl * pHdl1
Definition: svdhdl.hxx:369
virtual ~SdrHdlBezWgt() override
Definition: svdhdl.cxx:1495
SdrHdlBezWgt(const SdrHdl *pRefHdl1, SdrHdlKind eNewKind=SdrHdlKind::BezierWeight)
Definition: svdhdl.hxx:362
const Color & GetColor() const
Definition: svdhdl.hxx:282
Color aMarkerColor
Definition: svdhdl.hxx:261
void SetColorChangeHdl(const Link< SdrHdlColor *, void > &rLink)
Definition: svdhdl.hxx:287
Size aMarkerSize
Definition: svdhdl.hxx:258
bool bUseLuminance
Definition: svdhdl.hxx:267
bool IsUseLuminance() const
Definition: svdhdl.hxx:280
Link< SdrHdlColor *, void > aColorChangeHdl
Definition: svdhdl.hxx:264
bool IsMoveFirstHandle() const
Definition: svdhdl.hxx:334
bool bGradient
Definition: svdhdl.hxx:302
void FromIAOToItem(SdrObject *pObj, bool bSetItemOnObject, bool bUndo)
Definition: svdhdl.cxx:1369
SdrHdlColor * pColHdl2
Definition: svdhdl.hxx:296
virtual ~SdrHdlGradient() override
Definition: svdhdl.cxx:1265
const Point & Get2ndPos() const
Definition: svdhdl.hxx:322
SdrHdlColor * GetColorHdl2() const
Definition: svdhdl.hxx:320
void SetMoveFirstHandle(bool bNew)
Definition: svdhdl.hxx:335
bool bMoveFirstHandle
Definition: svdhdl.hxx:306
SdrHdlColor * pColHdl1
Definition: svdhdl.hxx:295
void SetMoveSingleHandle(bool bNew)
Definition: svdhdl.hxx:333
SdrHdlColor * GetColorHdl1() const
Definition: svdhdl.hxx:319
void Set2ndPos(const Point &rPnt)
Definition: svdhdl.cxx:1269
bool IsGradient() const
Definition: svdhdl.hxx:315
Point a2ndPos
Definition: svdhdl.hxx:299
bool bMoveSingleHandle
Definition: svdhdl.hxx:305
void SetColorHandles(SdrHdlColor *pL1, SdrHdlColor *pL2)
Definition: svdhdl.hxx:318
bool IsMoveSingleHandle() const
Definition: svdhdl.hxx:332
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:1281
SdrHdlGradient(const Point &rRef1, const Point &rRef2, bool bGrad)
Definition: svdhdl.cxx:1254
DECL_LINK(ColorChangeHdl, SdrHdlColor *, void)
virtual ~SdrHdlLine() override
Definition: svdhdl.cxx:1438
SdrHdlLine(SdrHdl &rHdl1, SdrHdl &rHdl2, SdrHdlKind eNewKind)
Definition: svdhdl.hxx:349
virtual PointerStyle GetPointer() const override
Definition: svdhdl.cxx:1489
virtual void CreateB2dIAObject() override
Definition: svdhdl.cxx:1440
SdrHdl * pHdl1
Definition: svdhdl.hxx:345
SdrHdl * pHdl2
Definition: svdhdl.hxx:346
bool bMoveOutside
Definition: svdhdl.hxx:437
bool IsMoveOutside() const
Definition: svdhdl.hxx:465
size_t GetHdlCount() const
Definition: svdhdl.hxx:459
size_t mnFocusIndex
Definition: svdhdl.hxx:430
std::deque< std::unique_ptr< SdrHdl > > maList
Definition: svdhdl.hxx:432
bool bRotateShear
Definition: svdhdl.hxx:435
sal_uInt16 GetHdlSize() const
Definition: svdhdl.hxx:463
sal_uInt16 nHdlSize
Definition: svdhdl.hxx:433
bool IsRotateShear() const
Definition: svdhdl.hxx:467
SdrMarkView * GetView() const
Definition: svdhdl.hxx:453
SVX_DLLPRIVATE SdrHdlList(const SdrHdlList &)=delete
bool bDistortShear
Definition: svdhdl.hxx:436
SVX_DLLPRIVATE void operator=(const SdrHdlList &)=delete
SdrMarkView * pView
Definition: svdhdl.hxx:431
bool IsDistortShear() const
Definition: svdhdl.hxx:469
SdrHdl * GetHdl(size_t nNum) const
Definition: svdhdl.hxx:460
void SetMoveOutside(bool bOn)
Definition: svdhdl.cxx:2206
bool bSelect
Definition: svdhdl.hxx:152
SdrPageView * GetPageView() const
Definition: svdhdl.hxx:200
SdrHdlKind eKind
Definition: svdhdl.hxx:144
bool IsSelected() const
Definition: svdhdl.hxx:206
Degree100 nRotationAngle
Definition: svdhdl.hxx:146
SdrHdlKind GetKind() const
Definition: svdhdl.hxx:194
sal_uInt32 GetObjHdlNum() const
Definition: svdhdl.hxx:216
sal_uInt32 nPPntNum
Definition: svdhdl.hxx:149
sal_uInt32 GetSourceHdlNum() const
Definition: svdhdl.hxx:228
SdrObject * pObj
Definition: svdhdl.hxx:136
bool IsVertexHdl() const
Definition: svdhdl.hxx:213
bool IsCornerHdl() const
Definition: svdhdl.hxx:212
sdr::overlay::OverlayObjectList maOverlayGroup
Definition: svdhdl.hxx:140
SdrHdlList * pHdlList
Definition: svdhdl.hxx:138
const sdr::overlay::OverlayObjectList & getOverlayObjectList() const
Definition: svdhdl.hxx:191
bool mbMouseOver
Definition: svdhdl.hxx:165
sal_uInt32 nPolyNum
Definition: svdhdl.hxx:148
sal_uInt32 nObjHdlNum
Definition: svdhdl.hxx:147
bool b1PixMore
Definition: svdhdl.hxx:153
sal_uInt32 GetPolyNum() const
Definition: svdhdl.hxx:219
bool IsPlusHdl() const
Definition: svdhdl.hxx:225
void SetPlusHdl(bool bOn)
Definition: svdhdl.hxx:224
SdrObject * GetObj() const
Definition: svdhdl.hxx:203
Point aPos
Definition: svdhdl.hxx:142
const Point & GetPos() const
Definition: svdhdl.hxx:197
sal_uInt32 GetPointNum() const
Definition: svdhdl.hxx:222
SdrPageView * pPV
Definition: svdhdl.hxx:137
bool mbMoveOutside
Definition: svdhdl.hxx:156
void SetObjHdlNum(sal_uInt32 nNum)
Definition: svdhdl.hxx:215
sal_uInt32 nSourceHdlNum
Definition: svdhdl.hxx:150
bool bPlusHdl
Definition: svdhdl.hxx:154
void SetPolyNum(sal_uInt32 nNum)
Definition: svdhdl.hxx:218
void SetPointNum(sal_uInt32 nNum)
Definition: svdhdl.hxx:221
void SetSourceHdlNum(sal_uInt32 nNum)
Definition: svdhdl.hxx:227
void SetPageView(SdrPageView *pNewPV)
Definition: svdhdl.hxx:201
Abstract DrawObject.
Definition: svdobj.hxx:261
@ Transparence
void Clear(EHistoryType eHistory)
Sort
PointerStyle
SdrHdlKind
Definition: svdhdl.hxx:53
BitmapColorIndex
Definition: svdhdl.hxx:85
BitmapMarkerKind
Definition: svdhdl.hxx:96
SdrEdgeLineCode
Definition: svdoedge.hxx:72
#define SVX_DLLPRIVATE
Definition: svxdllapi.h:30
#define SVXCORE_DLLPUBLIC
Definition: svxdllapi.h:35
Left
Right