20#ifndef INCLUDED_SVX_SVDEDTV_HXX
21#define INCLUDED_SVX_SVDEDTV_HXX
120 void ImpBroadcastEdgesOfMarkedNodes();
123 void ImpConvertTo(
bool bPath,
bool bLineToArea);
132 void ImpCheckToTopBtmPossible();
138 static bool ImpCanConvertForCombine1(
const SdrObject* pObj);
139 static bool ImpCanConvertForCombine(
const SdrObject* pObj);
146 static bool ImpCanDismantle(
const SdrObject* pObj,
bool bMakeLines);
157 std::vector<rtl::Reference<SdrObject>> DeleteMarkedList(
SdrMarkList const& rMark);
160 virtual void CheckPossibilities();
196 void AddUndo(std::unique_ptr<SdrUndoAction> pUndo)
208 bool IsUndoEnabled()
const;
213 void EndTextEditAllViews()
const;
214 void EndTextEditCurrentView(
bool bDontDeleteReally =
false);
216 std::vector< std::unique_ptr<SdrUndoAction> > CreateConnectorUndo(
const SdrObject& rO );
217 void AddUndoActions( std::vector< std::unique_ptr<SdrUndoAction> > );
220 void InsertNewLayer(
const OUString& rName, sal_uInt16 nPos);
222 void DeleteLayer(
const OUString& rName);
226 void ForceMarkedObjToAnotherPage();
230 void DeleteMarkedObj();
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);
241 void MirrorMarkedObj(
const Point& rRef1,
const Point& rRef2,
bool bCopy=
false);
242 void MirrorMarkedObjHorizontal();
243 void MirrorMarkedObjVertical();
247 void DistortMarkedObj(
const tools::Rectangle& rRef,
const XPolygon& rDistortedRect,
bool bNoContortion,
bool bCopy=
false);
250 void 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;
272 void CombineMarkedTextObjects();
283 void CombineMarkedObjects(
bool bNoPolyPoly =
true);
290 void DistributeMarkedObjects(sal_uInt16 SlotID);
295 void EqualizeMarkedObjects(
bool bWidth);
300 void DismantleMarkedObjects(
bool bMakeLines=
false);
301 bool IsCombinePossible(
bool bNoPolyPoly=
false)
const;
302 bool IsDismantlePossible(
bool bMakeLines=
false)
const;
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);
335 void SetGeoAttrToMarked(
const SfxItemSet& rAttr,
bool addPageMargin =
false);
344 void SetStyleSheetToMarked(
SfxStyleSheet* pStyleSheet,
bool bDontRemoveHardAttr);
363 void UnGroupMarked();
376 void ConvertMarkedToPathObj(
bool bLineToArea);
377 void ConvertMarkedToPolyObj();
381 bool IsAlignPossible()
const;
384 void MovMarkedToTop();
387 void MovMarkedToBtm();
390 void PutMarkedToTop();
393 void PutMarkedToBtm();
397 void PutMarkedInFrontOfObj(
const SdrObject* pRefObj);
401 void PutMarkedBehindObj(
const SdrObject* pRefObj);
404 void ReverseOrderOfMarked();
425 virtual void ObjOrderChanged(
SdrObject* pObj,
size_t nOldPos,
size_t nNewPos);
bool IsConvertToPolyObjPossible() const
bool m_bContortionPossible
bool IsUnGroupPossible() const
void MirrorAllMarkedVertical()
bool m_bDismantleMakeLinesPossible
bool IsMoveAllowed() const
bool m_bMoreThanOneNoMovRot
bool IsConvertToPathObjPossible() const
bool IsGroupEnterPossible() const
void AddUndo(std::unique_ptr< SdrUndoAction > pUndo)
bool m_bCombineNoPolyPolyPossible
void BegUndo(const OUString &rComment, const OUString &rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE)
bool m_bImportMtfPossible
void ForcePossibilities() const
bool m_bMirrorFreeAllowed
void ForceMarkedToAnotherPage()
void ResizeAllMarked(const Point &rRef, const Fraction &xFact, const Fraction &yFact)
bool IsImportMtfPossible() const
void MirrorAllMarkedHorizontal()
bool IsReverseOrderPossible() const
void RotateAllMarked(const Point &rRef, Degree100 nAngle)
bool IsConvertToContourPossible() const
bool IsToTopPossible() const
void MoveAllMarked(const Size &rSiz, bool bCopy=false)
bool m_bOrthoDesiredOnMarked
void SetUndoComment(const OUString &rComment, const OUString &rObjDescr)
void BegUndo(const OUString &rComment)
bool IsToBtmPossible() const
bool m_bResizeFreeAllowed
bool m_bRotateFreeAllowed
bool m_bResizePropAllowed
bool m_bReverseOrderPossible
bool m_bEdgeRadiusAllowed
bool m_bPossibilitiesDirty
bool m_bDismantlePossible
void SetAllMarkedRect(const tools::Rectangle &rRect)
bool m_bTransparenceAllowed
bool IsGroupPossible() const
virtual void ModelHasChanged() override
virtual void MarkListHasChanged()
void AddUndo(std::unique_ptr< SdrUndoAction > pUndo)
void SetUndoComment(const OUString &rComment)
void SetAttributes(const SfxItemSet &rSet, bool bReplaceAll)
SfxStyleSheet * GetStyleSheet() const
void GetAttributes(SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
SdrModel & GetModel() const
void SetStyleSheet(SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
Abstract base class (ABC) for all UndoActions of DrawingEngine.
Aggregation of arbitrarily many UndoActions to a single UndoAction.
Helper class for the communication between the dialog In order to break open Metafiles (sd/source/ui/...
#define SVXCORE_DLLPUBLIC