LibreOffice Module svx (master) 1
svdedtv.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_SVDEDTV_HXX
21#define INCLUDED_SVX_SVDEDTV_HXX
22
23#include <svx/svdmrkv.hxx>
24#include <svx/xpoly.hxx>
25#include <svx/svdmodel.hxx>
26#include <svx/svxdllapi.h>
27#include <svx/svdundo.hxx>
29
30class SfxUndoAction;
31class SdrUndoAction;
32class SdrUndoGroup;
33class SfxStyleSheet;
34class SdrLayer;
35class SvdProgressInfo;
36
37enum class SdrHorAlign {
38 NONE,
39 Left,
40 Right,
41 Center
42};
43
44enum class SdrVertAlign {
45 NONE,
46 Top,
47 Bottom,
48 Center
49};
50
51enum class SdrMergeMode {
52 Merge,
55};
56
57// Options for InsertObject()
59{
60 NONE = 0x0000,
61 DONTMARK = 0x0001, /* object will not be marked (the actual marking remains) */
62 ADDMARK = 0x0002, /* object will be added an existing selection */
63 SETDEFATTR = 0x0004, /* actual attributes (+StyleSheet) are assigned to the object */
64 SETDEFLAYER = 0x0008, /* actual layer is assigned to the object */
65};
66namespace o3tl
67{
68 template<> struct typed_flags<SdrInsertFlags> : is_typed_flags<SdrInsertFlags, 0x0f> {};
69}
70
72{
73 friend class SdrPageView;
74 friend class SdrDragDistort;
75 friend class SdrDragCrook;
76
77protected:
78
79 // cache the transformation queries, etc. a little
81 bool m_bReadOnly : 1;
94 bool m_bOneOrMoreMovable : 1; // at least one object is moveable
95 bool m_bMoreThanOneNoMovRot : 1; // more than one object is not movable nor turnable (Crook)
96 bool m_bContortionPossible : 1; // all polygones (grouped if necessary)
115
116private:
117 SVX_DLLPRIVATE void ImpResetPossibilityFlags();
118
119protected:
120 void ImpBroadcastEdgesOfMarkedNodes();
121
122 // convert the objects marked in poly resp. bezier
123 void ImpConvertTo(bool bPath, bool bLineToArea);
124
125 // converts an object, when positive it removes the old one from its List
126 // and inserts the new one instead. including Undo.
127 // Nor MarkEntry nor ModelChgBroadcast is created.
128 rtl::Reference<SdrObject> ImpConvertOneObj(SdrObject* pObj, bool bPath, bool bLineToArea);
129
130 // set both flags: bToTopPossible and bToBtmPossible.
131 // bToTopPossibleDirty and bToBtmPossibleDirty are reset at the same time
132 void ImpCheckToTopBtmPossible();
133
134 // for CombineMarkedObjects and DismantleMarkedObjects
135 void ImpCopyAttributes(const SdrObject* pSource, SdrObject* pDest) const;
136
137 // for CombineMarkedObjects
138 static bool ImpCanConvertForCombine1(const SdrObject* pObj);
139 static bool ImpCanConvertForCombine(const SdrObject* pObj);
140 static basegfx::B2DPolyPolygon ImpGetPolyPolygon1(const SdrObject* pObj);
141 static basegfx::B2DPolyPolygon ImpGetPolyPolygon(const SdrObject* pObj);
142 static basegfx::B2DPolygon ImpCombineToSinglePolygon(const basegfx::B2DPolyPolygon& rPolyPolygon);
143
144 // for DismantleMarkedObjects
145 static bool ImpCanDismantle(const basegfx::B2DPolyPolygon& rPpolyPpolygon, bool bMakeLines);
146 static bool ImpCanDismantle(const SdrObject* pObj, bool bMakeLines);
147 void ImpDismantleOneObject(const SdrObject* pObj, SdrObjList& rOL, size_t& rPos, SdrPageView* pPV, bool bMakeLines);
148 static void ImpCrookObj(SdrObject* pO, const Point& rRef, const Point& rRad, SdrCrookMode eMode,
149 bool bVertical, bool bNoContortion, bool bRotate, const tools::Rectangle& rMarkRect);
150 static void ImpDistortObj(SdrObject* pO, const tools::Rectangle& rRef, const XPolygon& rDistortedRect, bool bNoContortion);
151 bool ImpDelLayerCheck(SdrObjList const * pOL, SdrLayerID nDelID) const;
152 void ImpDelLayerDelObjs(SdrObjList* pOL, SdrLayerID nDelID);
153
154 // Removes all objects of the MarkList from their ObjLists including Undo.
155 // The entries in rMark remain.
156 // @return a list of objects that must be deleted after the outermost EndUndo
157 std::vector<rtl::Reference<SdrObject>> DeleteMarkedList(SdrMarkList const& rMark); // DeleteMarked -> DeleteMarkedList
158
159 // Check possibilities of all marked objects
160 virtual void CheckPossibilities();
161 void ForcePossibilities() const { if (m_bPossibilitiesDirty || mbSomeObjChgdFlag) const_cast<SdrEditView*>(this)->CheckPossibilities(); }
162
163protected:
164 // #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
166 SdrModel& rSdrModel,
167 OutputDevice* pOut);
168
169 virtual ~SdrEditView() override;
170
171public:
172 // each call of an undo-capable method from its view, generates an undo action.
173 // If one wishes to group method calls into one, these calls should be put
174 // between BegUndo() and EndUndo() calls (unlimited).
175 // The comment used for the UndoAction is the first BegUndo(String).
176 // In this case NotifyNewUndoAction is called at the last EndUndo().
177 // NotifyNewUndoAction() is not called for an empty group
178 void BegUndo()
179 {
180 // open undo-grouping
181 GetModel().BegUndo();
182 }
183 void BegUndo(const OUString& rComment)
184 {
185 // open undo-grouping
186 GetModel().BegUndo(rComment);
187 }
188 void BegUndo(const OUString& rComment, const OUString& rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE)
189 {
190 // open undo-grouping
191 GetModel().BegUndo(rComment,rObjDescr,eFunc);
192 }
193
194 void EndUndo(); // close undo-grouping (incl. BroadcastEdges)
195
196 void AddUndo(std::unique_ptr<SdrUndoAction> pUndo)
197 {
198 // add action
199 GetModel().AddUndo(std::move(pUndo));
200 }
201
202 // only after first BegUndo or before last EndUndo:
203 void SetUndoComment(const OUString& rComment, const OUString& rObjDescr)
204 {
205 GetModel().SetUndoComment(rComment,rObjDescr);
206 }
207
208 bool IsUndoEnabled() const;
209
213 void EndTextEditAllViews() const;
214 void EndTextEditCurrentView(bool bDontDeleteReally = false);
215
216 std::vector< std::unique_ptr<SdrUndoAction> > CreateConnectorUndo( const SdrObject& rO );
217 void AddUndoActions( std::vector< std::unique_ptr<SdrUndoAction> > );
218
219 // Layermanagement with Undo.
220 void InsertNewLayer(const OUString& rName, sal_uInt16 nPos);
221 // Delete a layer including all objects contained
222 void DeleteLayer(const OUString& rName);
223
224 // Marked objects which are outside a page
225 // are assigned to another page; at the moment without undo!!!
226 void ForceMarkedObjToAnotherPage();
227 void ForceMarkedToAnotherPage() { ForceMarkedObjToAnotherPage(); }
228
229 // delete all marked objects
230 void DeleteMarkedObj();
231
232 // Set a logical enclosing rectangle for all marked objects.
233 // It is not guaranteed if this succeeds, as a horizontal
234 // line has always a height of 0
235 void SetMarkedObjRect(const tools::Rectangle& rRect);
236 void MoveMarkedObj(const Size& rSiz, bool bCopy=false);
237 void ResizeMarkedObj(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy=false);
238 void ResizeMultMarkedObj(const Point& rRef, const Fraction& xFact, const Fraction& yFact, const bool bWdh, const bool bHgt);
239 Degree100 GetMarkedObjRotate() const;
240 void RotateMarkedObj(const Point& rRef, Degree100 nAngle, bool bCopy=false);
241 void MirrorMarkedObj(const Point& rRef1, const Point& rRef2, bool bCopy=false);
242 void MirrorMarkedObjHorizontal();
243 void MirrorMarkedObjVertical();
244 Degree100 GetMarkedObjShear() const;
245 void ShearMarkedObj(const Point& rRef, Degree100 nAngle, bool bVShear=false, bool bCopy=false);
246 void CrookMarkedObj(const Point& rRef, const Point& rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bCopy=false);
247 void DistortMarkedObj(const tools::Rectangle& rRef, const XPolygon& rDistortedRect, bool bNoContortion, bool bCopy=false);
248
249 // copy marked objects and mark them instead of the old ones
250 void CopyMarkedObj();
251 void SetAllMarkedRect(const tools::Rectangle& rRect) { SetMarkedObjRect(rRect); }
252 void MoveAllMarked(const Size& rSiz, bool bCopy=false) { MoveMarkedObj(rSiz,bCopy); }
253 void ResizeAllMarked(const Point& rRef, const Fraction& xFact, const Fraction& yFact) { ResizeMarkedObj(rRef,xFact,yFact); }
254 void RotateAllMarked(const Point& rRef, Degree100 nAngle) { RotateMarkedObj(rRef,nAngle); }
255 void MirrorAllMarkedHorizontal() { MirrorMarkedObjHorizontal(); }
256 void MirrorAllMarkedVertical() { MirrorMarkedObjVertical(); }
257 void CopyMarked() { CopyMarkedObj(); }
258 bool IsMoveAllowed() const { ForcePossibilities(); return m_bMoveAllowed && !m_bMoveProtect; }
259 bool IsResizeAllowed(bool bProp=false) const;
260 bool IsRotateAllowed(bool b90Deg=false) const;
261 bool IsMirrorAllowed(bool b45Deg=false, bool b90Deg=false) const;
262 bool IsTransparenceAllowed() const;
263 bool IsGradientAllowed() const;
264 bool IsShearAllowed() const;
265 bool IsEdgeRadiusAllowed() const;
266 bool IsCrookAllowed(bool bNoContortion=false) const;
267 bool IsCropAllowed() const;
268 bool IsDistortAllowed(bool bNoContortion=false) const;
269
270 // Consolidate the text from multiple, selected TextObjects,
271 // attempting to identify paragraph fragments and join them together
272 void CombineMarkedTextObjects();
273
274 // Unite several objects to a polygon:
275 // - rectangles/circles/text... are implicitly converted.
276 // - polygones are closed automatically
277 // - attributes and layer are taken from the first object marked
278 // (thus from lowest Z-order).
279 // - group objects are included when all (!) member objects of
280 // the group can be changed. If a group includes for example
281 // a bitmap or an OLE-object, the complete group is not considered.
282 // bNoPolyPoly=TRUE: all is grouped to one single polygon
283 void CombineMarkedObjects(bool bNoPolyPoly = true);
284
285 // for combining multiple polygons, with direct support of the modes
286 // SID_POLY_MERGE, SID_POLY_SUBSTRACT, SID_POLY_INTERSECT
287 void MergeMarkedObjects(SdrMergeMode eMode);
288
289 // for distribution dialog function
290 void DistributeMarkedObjects(sal_uInt16 SlotID);
291
292 // for setting either the width or height of all selected
293 // objects to the width/height of the last selected object
294 // of the selection
295 void EqualizeMarkedObjects(bool bWidth);
296
297 // Decompose marked polypolygon objects into polygons.
298 // Grouped objects are searched and decomposed, if all member objects are PathObjs.
299 // bMakeLines=TRUE: all polygones are decomposed into single lines resp. bezier segments
300 void DismantleMarkedObjects(bool bMakeLines=false);
301 bool IsCombinePossible(bool bNoPolyPoly=false) const;
302 bool IsDismantlePossible(bool bMakeLines=false) const;
303
304 // Inserts a new, completely constructed object. Subsequently the object belongs to
305 // the model. After insertion the object is marked (if not prevented by nOptions).
306 // Sometimes the object is not inserted, but deleted, this is the case when
307 // the target layer is locked or not visible. In this case
308 // the method returns FALSE.
309 // Amongst others the method does not create an undo-action.
310 bool InsertObjectAtView(SdrObject* pObj, SdrPageView& rPV, SdrInsertFlags nOptions=SdrInsertFlags::NONE);
311
312 // Replace one drawing object by another.
313 // *pNewObj belongs to me, *pOldObj is changed into Undo.
314 // In any case an undo grouping is required and should be applied, e.g.:
315 // aStr+=" replace";
316 // BegUndo(aStr);
317 // ReplaceObject(...);
318
319 // EndUndo();
320 void ReplaceObjectAtView(SdrObject* pOldObj, SdrPageView& rPV, SdrObject* pNewObj, bool bMark=true);
321
322 void SetNotPersistAttrToMarked(const SfxItemSet& rAttr);
323 void MergeNotPersistAttrFromMarked(SfxItemSet& rAttr) const;
324 void MergeAttrFromMarked(SfxItemSet& rAttr, bool bOnlyHardAttr) const;
325 SfxItemSet GetAttrFromMarked(bool bOnlyHardAttr) const;
326 void SetAttrToMarked(const SfxItemSet& rAttr, bool bReplaceAll);
327
328 // geometrical attribute (position, size, rotation angle)
329 // A PageOrigin set at a position is taken into account.
330 SfxItemSet GetGeoAttrFromMarked() const;
331 // In LOK, interactive shape movement uses this function
332 // in that case, margin is not taken into account
333 // and the final position of the shape becomes incorrect
334 // However, "Position and Size" dialog and other cases already add the margins.
335 void SetGeoAttrToMarked(const SfxItemSet& rAttr, bool addPageMargin = false);
336
337 // Returns NULL if:
338 // - nothing is marked,
339 // - no stylesheet is set at the marked object
340 // - point the marked objects to different StyleSheets for multiple selections
341 SfxStyleSheet* GetStyleSheetFromMarked() const;
342
343 // at the moment without undo :(
344 void SetStyleSheetToMarked(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr);
345
346 /* new interface src537 */
347 void GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const;
348
349 void SetAttributes(const SfxItemSet& rSet, bool bReplaceAll);
350 SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(bool& rOk) const;
351 void SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr);
352
353 // Group all marked objects to a single group.
354 // Subsequently mark the new group . If the group spawns multiple
355 // pages a group is created per page.
356 // All groups created are subsequently marked.
357 // The method creates SdrObjGroup-instances.
358 void GroupMarked();
359
360 // All marked object groups are dissolved (1 level).
361 // Now all previously marked member objects are marked.
362 // Previously marked objects, which are not group objects, remain marked.
363 void UnGroupMarked();
364
365 bool IsGroupPossible() const { ForcePossibilities(); return m_bGroupPossible; }
366 bool IsUnGroupPossible() const { ForcePossibilities(); return m_bUnGroupPossible; }
367 bool IsGroupEnterPossible() const { ForcePossibilities(); return m_bGrpEnterPossible; }
368
369 // Convert marked objects to polygones/Beziercurves. The bool-functions
370 // return sal_True, if at least one marked object could be converted.
371 // Also member objects of group objects are converted.
372 // For a better description see: SdrObj.HXX
373 bool IsConvertToPathObjPossible() const { ForcePossibilities(); return m_bCanConvToPath; }
374 bool IsConvertToPolyObjPossible() const { ForcePossibilities(); return m_bCanConvToPoly; }
375 bool IsConvertToContourPossible() const { ForcePossibilities(); return m_bCanConvToContour; }
376 void ConvertMarkedToPathObj(bool bLineToArea);
377 void ConvertMarkedToPolyObj();
378
379 // Align all marked objects vertically. Normally the SnapRect of an object is used.
380 void AlignMarkedObjects(SdrHorAlign eHor, SdrVertAlign eVert);
381 bool IsAlignPossible() const;
382
383 // move marked objects "up"
384 void MovMarkedToTop();
385
386 // move marked objects "down"
387 void MovMarkedToBtm();
388
389 // move marked objects "at top"
390 void PutMarkedToTop();
391
392 // move marked objects "at bottom"
393 void PutMarkedToBtm();
394
395 // move marked immediately before the object passed
396 // NULL -> as PutMarkedToTop();
397 void PutMarkedInFrontOfObj(const SdrObject* pRefObj);
398
399 // move marked immediately after object passed
400 // NULL -> as PutMarkedToBtm();
401 void PutMarkedBehindObj(const SdrObject* pRefObj);
402
403 // swap Z-Order of marked objects
404 void ReverseOrderOfMarked();
405
406 // Check if forward, backward is possible.
407 // GetMaxToBtmObj() is only partly taken into account by these methods.
408 // Which means it can happen that IsToTopPossible() returns sal_True,
409 // but MovMarkedToTop() changes nothing (e.g. for multiple selections),
410 // as restriction derived via a view by GetMaxToTopObj() prevents this.
411 bool IsToTopPossible() const { ForcePossibilities(); return m_bToTopPossible; }
412 bool IsToBtmPossible() const { ForcePossibilities(); return m_bToBtmPossible; }
413 bool IsReverseOrderPossible() const { ForcePossibilities(); return m_bReverseOrderPossible; }
414
415 // Using this method the view determines how far an object
416 // can be moved forward or backward (Z-order).
417 // The object returned is not "obsolete". When NULL is
418 // returned there is not such a restriction.
419 virtual SdrObject* GetMaxToTopObj(SdrObject* pObj) const;
420 virtual SdrObject* GetMaxToBtmObj(SdrObject* pObj) const;
421
422 // Next method is called, if via ToTop, ToBtm, ... the
423 // sequence of object has been changed. It is called after
424 // each SdrObjList::SetObjectOrdNum(nOldPos,nNewPos);
425 virtual void ObjOrderChanged(SdrObject* pObj, size_t nOldPos, size_t nNewPos);
426
427 // If one or more objects of the type SdrGrafObj or SdrOle2Obj
428 // are marked and these are capable to deliver a StarView-metafile,
429 // this methods converts the metafile to a drawing object.
430 // The SdrGrafObjs/SdrOle2Objs are replaced by the new objects.
431 void DoImportMarkedMtf(SvdProgressInfo *pProgrInfo=nullptr);
432 bool IsImportMtfPossible() const { ForcePossibilities(); return m_bImportMtfPossible; }
433
434 // override SdrMarkView, for internal use
435 virtual void MarkListHasChanged() override;
436 virtual void ModelHasChanged() override;
437};
438
439#endif // INCLUDED_SVX_SVDEDTV_HXX
440
441/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SdrCrookMode eMode
Definition: svddrgm1.hxx:164
bool bVertical
Definition: svddrgm1.hxx:155
Degree100 nAngle
Definition: svddrgm1.hxx:162
bool IsConvertToPolyObjPossible() const
Definition: svdedtv.hxx:374
bool m_bContortionPossible
Definition: svdedtv.hxx:96
bool IsUnGroupPossible() const
Definition: svdedtv.hxx:366
bool m_bGroupPossible
Definition: svdedtv.hxx:82
bool m_bToTopPossible
Definition: svdedtv.hxx:85
void MirrorAllMarkedVertical()
Definition: svdedtv.hxx:256
bool m_bResizeProtect
Definition: svdedtv.hxx:114
bool m_bCanConvToContour
Definition: svdedtv.hxx:112
bool m_bDismantleMakeLinesPossible
Definition: svdedtv.hxx:92
bool IsMoveAllowed() const
Definition: svdedtv.hxx:258
bool m_bShearAllowed
Definition: svdedtv.hxx:105
bool m_bMoreThanOneNoMovRot
Definition: svdedtv.hxx:95
bool m_bCanConvToPath
Definition: svdedtv.hxx:110
bool m_bMoveAllowed
Definition: svdedtv.hxx:97
bool IsConvertToPathObjPossible() const
Definition: svdedtv.hxx:373
bool IsGroupEnterPossible() const
Definition: svdedtv.hxx:367
bool m_bMirror45Allowed
Definition: svdedtv.hxx:103
void AddUndo(std::unique_ptr< SdrUndoAction > pUndo)
Definition: svdedtv.hxx:196
void BegUndo()
Definition: svdedtv.hxx:178
bool m_bCombineNoPolyPolyPossible
Definition: svdedtv.hxx:91
void BegUndo(const OUString &rComment, const OUString &rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE)
Definition: svdedtv.hxx:188
bool m_bImportMtfPossible
Definition: svdedtv.hxx:88
void ForcePossibilities() const
Definition: svdedtv.hxx:161
bool m_bMirrorFreeAllowed
Definition: svdedtv.hxx:102
void ForceMarkedToAnotherPage()
Definition: svdedtv.hxx:227
void ResizeAllMarked(const Point &rRef, const Fraction &xFact, const Fraction &yFact)
Definition: svdedtv.hxx:253
bool IsImportMtfPossible() const
Definition: svdedtv.hxx:432
void MirrorAllMarkedHorizontal()
Definition: svdedtv.hxx:255
bool m_bGrpEnterPossible
Definition: svdedtv.hxx:84
bool IsReverseOrderPossible() const
Definition: svdedtv.hxx:413
void RotateAllMarked(const Point &rRef, Degree100 nAngle)
Definition: svdedtv.hxx:254
bool IsConvertToContourPossible() const
Definition: svdedtv.hxx:375
bool m_bUnGroupPossible
Definition: svdedtv.hxx:83
bool IsToTopPossible() const
Definition: svdedtv.hxx:411
void MoveAllMarked(const Size &rSiz, bool bCopy=false)
Definition: svdedtv.hxx:252
bool m_bToBtmPossible
Definition: svdedtv.hxx:86
bool m_bOrthoDesiredOnMarked
Definition: svdedtv.hxx:93
bool m_bCombinePossible
Definition: svdedtv.hxx:89
bool m_bMirror90Allowed
Definition: svdedtv.hxx:104
void SetUndoComment(const OUString &rComment, const OUString &rObjDescr)
Definition: svdedtv.hxx:203
void BegUndo(const OUString &rComment)
Definition: svdedtv.hxx:183
bool m_bRotate90Allowed
Definition: svdedtv.hxx:101
bool IsToBtmPossible() const
Definition: svdedtv.hxx:412
bool m_bResizeFreeAllowed
Definition: svdedtv.hxx:98
bool m_bRotateFreeAllowed
Definition: svdedtv.hxx:100
bool m_bResizePropAllowed
Definition: svdedtv.hxx:99
bool m_bGradientAllowed
Definition: svdedtv.hxx:109
bool m_bReverseOrderPossible
Definition: svdedtv.hxx:87
bool m_bEdgeRadiusAllowed
Definition: svdedtv.hxx:106
bool m_bPossibilitiesDirty
Definition: svdedtv.hxx:80
bool m_bReadOnly
Definition: svdedtv.hxx:81
bool m_bDismantlePossible
Definition: svdedtv.hxx:90
void SetAllMarkedRect(const tools::Rectangle &rRect)
Definition: svdedtv.hxx:251
bool m_bCropAllowed
Definition: svdedtv.hxx:108
bool m_bTransparenceAllowed
Definition: svdedtv.hxx:107
bool m_bOneOrMoreMovable
Definition: svdedtv.hxx:94
bool IsGroupPossible() const
Definition: svdedtv.hxx:365
bool m_bMoveProtect
Definition: svdedtv.hxx:113
void CopyMarked()
Definition: svdedtv.hxx:257
bool m_bCanConvToPoly
Definition: svdedtv.hxx:111
virtual void ModelHasChanged() override
Definition: svdmrkv.cxx:214
virtual void MarkListHasChanged()
Definition: svdmrkv.cxx:2708
void BegUndo()
Definition: svdmodel.cxx:382
void AddUndo(std::unique_ptr< SdrUndoAction > pUndo)
Definition: svdmodel.cxx:516
void SetUndoComment(const OUString &rComment)
Definition: svdmodel.cxx:485
Abstract DrawObject.
Definition: svdobj.hxx:260
void SetAttributes(const SfxItemSet &rSet, bool bReplaceAll)
Definition: svdpntv.cxx:1000
SfxStyleSheet * GetStyleSheet() const
Definition: svdpntv.cxx:1005
void GetAttributes(SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
Definition: svdpntv.cxx:985
SdrModel & GetModel() const
Definition: svdpntv.hxx:282
void SetStyleSheet(SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
Definition: svdpntv.cxx:1010
Abstract base class (ABC) for all UndoActions of DrawingEngine.
Definition: svdundo.hxx:61
Aggregation of arbitrarily many UndoActions to a single UndoAction.
Definition: svdundo.hxx:93
Helper class for the communication between the dialog In order to break open Metafiles (sd/source/ui/...
Definition: svdetc.hxx:111
NONE
SdrVertAlign
Definition: svdedtv.hxx:44
SdrHorAlign
Definition: svdedtv.hxx:37
SdrMergeMode
Definition: svdedtv.hxx:51
SdrInsertFlags
Definition: svdedtv.hxx:59
SdrCrookMode
Definition: svdsnpv.hxx:83
SdrRepeatFunc
Definition: svdtypes.hxx:66
#define SVX_DLLPRIVATE
Definition: svxdllapi.h:30
#define SVXCORE_DLLPUBLIC
Definition: svxdllapi.h:35
Left
Center
Right