LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
SdrEditView Class Reference

#include <svdedtv.hxx>

Inheritance diagram for SdrEditView:
[legend]
Collaboration diagram for SdrEditView:
[legend]

Public Member Functions

void BegUndo ()
 
void BegUndo (const OUString &rComment)
 
void BegUndo (const OUString &rComment, const OUString &rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE)
 
void EndUndo ()
 
void AddUndo (std::unique_ptr< SdrUndoAction > pUndo)
 
void SetUndoComment (const OUString &rComment, const OUString &rObjDescr)
 
bool IsUndoEnabled () const
 
void EndTextEditAllViews () const
 Checks if this or other views have an active text edit, if true, end them. More...
 
std::vector< std::unique_ptr< SdrUndoAction > > CreateConnectorUndo (SdrObject &rO)
 
void AddUndoActions (std::vector< std::unique_ptr< SdrUndoAction > >)
 
void InsertNewLayer (const OUString &rName, sal_uInt16 nPos)
 
void DeleteLayer (const OUString &rName)
 
void ForceMarkedObjToAnotherPage ()
 
void ForceMarkedToAnotherPage ()
 
void DeleteMarkedObj ()
 
void SetMarkedObjRect (const tools::Rectangle &rRect)
 
void MoveMarkedObj (const Size &rSiz, bool bCopy=false)
 
void ResizeMarkedObj (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bCopy=false)
 
void ResizeMultMarkedObj (const Point &rRef, const Fraction &xFact, const Fraction &yFact, const bool bWdh, const bool bHgt)
 
long GetMarkedObjRotate () const
 
void RotateMarkedObj (const Point &rRef, long nAngle, bool bCopy=false)
 
void MirrorMarkedObj (const Point &rRef1, const Point &rRef2, bool bCopy=false)
 
void MirrorMarkedObjHorizontal ()
 
void MirrorMarkedObjVertical ()
 
long GetMarkedObjShear () const
 
void ShearMarkedObj (const Point &rRef, long nAngle, bool bVShear=false, bool bCopy=false)
 
void CrookMarkedObj (const Point &rRef, const Point &rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bCopy=false)
 
void DistortMarkedObj (const tools::Rectangle &rRef, const XPolygon &rDistortedRect, bool bNoContortion, bool bCopy=false)
 
void CopyMarkedObj ()
 
void SetAllMarkedRect (const tools::Rectangle &rRect)
 
void MoveAllMarked (const Size &rSiz, bool bCopy=false)
 
void ResizeAllMarked (const Point &rRef, const Fraction &xFact, const Fraction &yFact)
 
void RotateAllMarked (const Point &rRef, long nAngle)
 
void MirrorAllMarkedHorizontal ()
 
void MirrorAllMarkedVertical ()
 
void CopyMarked ()
 
bool IsMoveAllowed () const
 
bool IsResizeAllowed (bool bProp=false) const
 
bool IsRotateAllowed (bool b90Deg=false) const
 
bool IsMirrorAllowed (bool b45Deg=false, bool b90Deg=false) const
 
bool IsTransparenceAllowed () const
 
bool IsGradientAllowed () const
 
bool IsShearAllowed () const
 
bool IsEdgeRadiusAllowed () const
 
bool IsCrookAllowed (bool bNoContortion=false) const
 
bool IsCropAllowed () const
 
bool IsDistortAllowed (bool bNoContortion=false) const
 
void CombineMarkedTextObjects ()
 
void CombineMarkedObjects (bool bNoPolyPoly=true)
 
void MergeMarkedObjects (SdrMergeMode eMode)
 
void DistributeMarkedObjects (weld::Window *pParent)
 
void EqualizeMarkedObjects (bool bWidth)
 
void DismantleMarkedObjects (bool bMakeLines=false)
 
bool IsCombinePossible (bool bNoPolyPoly=false) const
 
bool IsDismantlePossible (bool bMakeLines=false) const
 
bool InsertObjectAtView (SdrObject *pObj, SdrPageView &rPV, SdrInsertFlags nOptions=SdrInsertFlags::NONE)
 
void ReplaceObjectAtView (SdrObject *pOldObj, SdrPageView &rPV, SdrObject *pNewObj, bool bMark=true)
 
void SetNotPersistAttrToMarked (const SfxItemSet &rAttr)
 
void MergeNotPersistAttrFromMarked (SfxItemSet &rAttr) const
 
void MergeAttrFromMarked (SfxItemSet &rAttr, bool bOnlyHardAttr) const
 
SfxItemSet GetAttrFromMarked (bool bOnlyHardAttr) const
 
void SetAttrToMarked (const SfxItemSet &rAttr, bool bReplaceAll)
 
SfxItemSet GetGeoAttrFromMarked () const
 
void SetGeoAttrToMarked (const SfxItemSet &rAttr)
 
SfxStyleSheetGetStyleSheetFromMarked () const
 
void SetStyleSheetToMarked (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
 
void GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
 
void SetAttributes (const SfxItemSet &rSet, bool bReplaceAll)
 
SfxStyleSheetGetStyleSheet () const
 
void SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
 
void GroupMarked ()
 
void UnGroupMarked ()
 
bool IsGroupPossible () const
 
bool IsUnGroupPossible () const
 
bool IsGroupEnterPossible () const
 
bool IsConvertToPathObjPossible () const
 
bool IsConvertToPolyObjPossible () const
 
bool IsConvertToContourPossible () const
 
void ConvertMarkedToPathObj (bool bLineToArea)
 
void ConvertMarkedToPolyObj ()
 
void AlignMarkedObjects (SdrHorAlign eHor, SdrVertAlign eVert)
 
bool IsAlignPossible () const
 
void MovMarkedToTop ()
 
void MovMarkedToBtm ()
 
void PutMarkedToTop ()
 
void PutMarkedToBtm ()
 
void PutMarkedInFrontOfObj (const SdrObject *pRefObj)
 
void PutMarkedBehindObj (const SdrObject *pRefObj)
 
void ReverseOrderOfMarked ()
 
bool IsToTopPossible () const
 
bool IsToBtmPossible () const
 
bool IsReverseOrderPossible () const
 
virtual SdrObjectGetMaxToTopObj (SdrObject *pObj) const
 
virtual SdrObjectGetMaxToBtmObj (SdrObject *pObj) const
 
virtual void ObjOrderChanged (SdrObject *pObj, size_t nOldPos, size_t nNewPos)
 
void DoImportMarkedMtf (SvdProgressInfo *pProgrInfo=nullptr)
 
bool IsImportMtfPossible () const
 
virtual void MarkListHasChanged () override
 
virtual void ModelHasChanged () override
 
- Public Member Functions inherited from SdrMarkView
virtual bool IsAction () const override
 
virtual void MovAction (const Point &rPnt) override
 
virtual void EndAction () override
 
virtual void BckAction () override
 
virtual void BrkAction () override
 
virtual void TakeActionRect (tools::Rectangle &rRect) const override
 
virtual void ClearPageView () override
 
virtual void HideSdrPage () override
 
bool IsObjMarkable (SdrObject const *pObj, SdrPageView const *pPV) const
 
bool IsMarking () const
 
void BegMarkObj (const Point &rPnt, bool bUnmark=false)
 
void MovMarkObj (const Point &rPnt)
 
bool EndMarkObj ()
 
void BrkMarkObj ()
 
bool IsMarkObj () const
 
void SetDragMode (SdrDragMode eMode)
 
SdrDragMode GetDragMode () const
 
void SetFrameHandles (bool bOn)
 
bool IsFrameHandles () const
 
bool HasMultipleMarkableObjects () const
 
void SetEditMode (SdrViewEditMode eMode)
 
SdrViewEditMode GetEditMode () const
 
void SetEditMode (bool bOn)
 
bool IsEditMode () const
 
void SetCreateMode (bool bOn)
 
bool IsCreateMode () const
 
void SetGluePointEditMode (bool bOn)
 
bool IsGluePointEditMode () const
 
void SetDesignMode (bool bOn=true)
 
bool IsDesignMode () const
 
void SetFrameDragSingles (bool bOn=true)
 
bool IsFrameDragSingles () const
 
bool HasMarkableObj () const
 
const SdrMarkListGetMarkedObjectList () const
 
size_t TryToFindMarkedObject (const SdrObject *pObj) const
 
SdrPageViewGetSdrPageViewOfMarkedByIndex (size_t nNum) const
 
SdrMarkGetSdrMarkByIndex (size_t nNum) const
 
SdrObjectGetMarkedObjectByIndex (size_t nNum) const
 
size_t GetMarkedObjectCount () const
 
void SortMarkedObjects () const
 
bool AreObjectsMarked () const
 
OUString const & GetDescriptionOfMarkedObjects () const
 
OUString const & GetDescriptionOfMarkedPoints () const
 
OUString const & GetDescriptionOfMarkedGluePoints () const
 
const SdrMarkListGetEdgesOfMarkedNodes () const
 
const SdrMarkListGetMarkedEdgesOfMarkedNodes () const
 
const std::vector< SdrObject * > & GetTransitiveHullOfMarkedObjects () const
 
void hideMarkHandles ()
 
void showMarkHandles ()
 
bool areMarkHandlesHidden () const
 
bool IsMarkedHit (const Point &rPnt, short nTol=-2) const
 
bool IsMarkedObjHit (const Point &rPnt, short nTol=-2) const
 
SdrHdlPickHandle (const Point &rPnt) const
 
SdrObjectPickObj (const Point &rPnt, short nTol, SdrPageView *&rpPV, SdrSearchOptions nOptions, SdrObject **ppRootObj, bool *pbHitPassDirect=nullptr) const
 
SdrObjectPickObj (const Point &rPnt, short nTol, SdrPageView *&rpPV, SdrSearchOptions nOptions=SdrSearchOptions::NONE) const
 
bool MarkObj (const Point &rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false)
 
bool PickMarkedObj (const Point &rPnt, SdrObject *&rpObj, SdrPageView *&rpPV, SdrSearchOptions nOptions) const
 
bool MarkNextObj (bool bPrev=false)
 
bool MarkNextObj (const Point &rPnt, short nTol, bool bPrev)
 
void MarkObj (const tools::Rectangle &rRect, bool bUnmark)
 
void MarkObj (SdrObject *pObj, SdrPageView *pPV, bool bUnmark=false, bool bImpNoSetMarkHdl=false)
 
void MarkAllObj (SdrPageView *pPV=nullptr)
 
void UnmarkAllObj (SdrPageView const *pPV=nullptr)
 
bool IsObjMarked (SdrObject const *pObj) const
 
void UnMarkAll (SdrPageView const *pPV=nullptr)
 
sal_uInt16 GetMarkHdlSizePixel () const
 
void SetMarkHdlSizePixel (sal_uInt16 nSiz)
 
virtual bool HasMarkablePoints () const
 
virtual sal_Int32 GetMarkablePointCount () const
 
virtual bool HasMarkedPoints () const
 
bool IsPointMarkable (const SdrHdl &rHdl) const
 
virtual bool MarkPoint (SdrHdl &rHdl, bool bUnmark=false)
 
bool MarkPointHelper (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark)
 should only be used from outside svx for special ui elements More...
 
bool UnmarkPoint (SdrHdl &rHdl)
 
bool IsPointMarked (const SdrHdl &rHdl) const
 
bool MarkAllPoints ()
 
bool UnmarkAllPoints ()
 
void MarkNextPoint ()
 
size_t GetHdlNum (SdrHdl const *pHdl) const
 
SdrHdlGetHdl (size_t nHdlNum) const
 
const SdrHdlListGetHdlList () const
 
bool BegMarkPoints (const Point &rPnt, bool bUnmark=false)
 
void MovMarkPoints (const Point &rPnt)
 
bool EndMarkPoints ()
 
void BrkMarkPoints ()
 
bool IsMarkPoints () const
 
void SetPlusHandlesAlwaysVisible (bool bOn)
 
bool IsPlusHandlesAlwaysVisible () const
 
bool HasMarkableGluePoints () const
 
bool HasMarkedGluePoints () const
 
bool PickGluePoint (const Point &rPnt, SdrObject *&rpObj, sal_uInt16 &rnId, SdrPageView *&rpPV) const
 
bool MarkGluePoint (const SdrObject *pObj, sal_uInt16 nId, bool bUnmark)
 
void UnmarkGluePoint (const SdrObject *pObj, sal_uInt16 nId)
 
bool IsGluePointMarked (const SdrObject *pObj, sal_uInt16 nId) const
 
SdrHdlGetGluePointHdl (const SdrObject *pObj, sal_uInt16 nId) const
 
bool MarkAllGluePoints ()
 
bool UnmarkAllGluePoints ()
 
void MarkNextGluePoint ()
 
bool BegMarkGluePoints (const Point &rPnt, bool bUnmark=false)
 
void MovMarkGluePoints (const Point &rPnt)
 
void EndMarkGluePoints ()
 
void BrkMarkGluePoints ()
 
bool IsMarkGluePoints () const
 
void AdjustMarkHdl (SfxViewShell *pOtherShell=nullptr)
 
const tools::RectangleGetMarkedObjRect () const
 
tools::Rectangle GetMarkedObjBoundRect () const
 
const tools::RectangleGetMarkedPointsRect () const
 
const tools::RectangleGetMarkedGluePointsRect () const
 
const tools::RectangleGetAllMarkedRect () const
 
tools::Rectangle GetAllMarkedBoundRect () const
 
void EnterMarkedGroup ()
 
const PointGetRef1 () const
 
void SetRef1 (const Point &rPt)
 
const PointGetRef2 () const
 
void SetRef2 (const Point &rPt)
 
virtual SfxViewShellGetSfxViewShell () const
 Get access to the view shell owning this draw view, if any. More...
 
- Public Member Functions inherited from SdrSnapView
void SetSnapGridWidth (const Fraction &rX, const Fraction &rY)
 
const FractionGetSnapGridWidthX () const
 
const FractionGetSnapGridWidthY () const
 
void SetSnapMagnetic (const Size &rSiz)
 
void SetSnapMagneticPixel (sal_uInt16 nPix)
 
sal_uInt16 GetSnapMagneticPixel () const
 
void RecalcLogicSnapMagnetic (const OutputDevice &rOut)
 
void SetActualWin (const OutputDevice *pWin)
 
SdrSnap SnapPos (Point &rPnt, const SdrPageView *pPV) const
 
Point GetSnapPos (const Point &rPnt, const SdrPageView *pPV) const
 
void CheckSnap (const Point &rPt, long &nBestXSnap, long &nBestYSnap, bool &bXSnapped, bool &bYSnapped) const
 
bool IsSnapEnabled () const
 
bool IsGridSnap () const
 
bool IsBordSnap () const
 
bool IsHlplSnap () const
 
bool IsOFrmSnap () const
 
bool IsOPntSnap () const
 
bool IsOConSnap () const
 
void SetSnapEnabled (bool bOn)
 
void SetGridSnap (bool bOn)
 
void SetBordSnap (bool bOn)
 
void SetHlplSnap (bool bOn)
 
void SetOFrmSnap (bool bOn)
 
void SetOPntSnap (bool bOn)
 
void SetOConSnap (bool bOn)
 
void SetMoveSnapOnlyTopLeft (bool bOn)
 
bool IsMoveSnapOnlyTopLeft () const
 
void BegSetPageOrg (const Point &rPnt)
 
void MovSetPageOrg (const Point &rPnt)
 
void EndSetPageOrg ()
 
void BrkSetPageOrg ()
 
bool IsSetPageOrg () const
 
bool PickHelpLine (const Point &rPnt, short nTol, const OutputDevice &rOut, sal_uInt16 &rnHelpLineNum, SdrPageView *&rpPV) const
 
bool BegDragHelpLine (sal_uInt16 nHelpLineNum, SdrPageView *pPV)
 
void BegDragHelpLine (const Point &rPnt, SdrHelpLineKind eNewKind)
 
PointerStyle GetDraggedHelpLinePointer () const
 
void MovDragHelpLine (const Point &rPnt)
 
bool EndDragHelpLine ()
 
void BrkDragHelpLine ()
 
bool IsDragHelpLine () const
 
void SetAngleSnapEnabled (bool bOn)
 
bool IsAngleSnapEnabled () const
 
void SetSnapAngle (long nAngle)
 
long GetSnapAngle () const
 
void SetOrtho (bool bOn)
 
bool IsOrtho () const
 
void SetBigOrtho (bool bOn)
 
bool IsBigOrtho () const
 
void SetMoveOnlyDragging (bool bOn)
 
bool IsMoveOnlyDragging () const
 
void SetSlantButShear (bool bOn)
 
bool IsSlantButShear () const
 
void SetCrookNoContortion (bool bOn)
 
bool IsCrookNoContortion () const
 
void SetCrookMode (SdrCrookMode eMode)
 
SdrCrookMode GetCrookMode () const
 
void SetEliminatePolyPoints (bool bOn)
 
bool IsEliminatePolyPoints () const
 
void SetEliminatePolyPointLimitAngle (long nAngle)
 
long GetEliminatePolyPointLimitAngle () const
 
- Public Member Functions inherited from SdrPaintView
bool IsBufferedOutputAllowed () const
 
void SetBufferedOutputAllowed (bool bNew)
 
bool IsBufferedOverlayAllowed () const
 
void SetBufferedOverlayAllowed (bool bNew)
 
bool IsPagePaintingAllowed () const
 
void SetPagePaintingAllowed (bool bNew)
 
virtual rtl::Reference< sdr::overlay::OverlayManagerCreateOverlayManager (OutputDevice &rDevice) const
 
sal_uInt32 PaintWindowCount () const
 
SdrPaintWindowFindPaintWindow (const OutputDevice &rOut) const
 
SdrPaintWindowGetPaintWindow (sal_uInt32 nIndex) const
 
OutputDeviceGetFirstOutputDevice () const
 
bool ImpIsGlueVisible ()
 
SdrModelgetSdrModelFromSdrView () const
 
SdrModelGetModel () const
 
virtual bool IsTextEdit () const
 
void SetActualWin (const OutputDevice *pWin)
 
void SetMinMoveDistancePixel (sal_uInt16 nVal)
 
void SetHitTolerancePixel (sal_uInt16 nVal)
 
sal_uInt16 GetHitTolerancePixel () const
 
sal_uInt16 getHitTolLog () const
 
const SdrDragStatGetDragStat () const
 
virtual SdrPageViewShowSdrPage (SdrPage *pPage)
 
SdrPageViewGetSdrPageView () const
 
virtual void AddWindowToPaintView (OutputDevice *pNewWin, vcl::Window *pWindow)
 
virtual void DeleteWindowFromPaintView (OutputDevice *pOldWin)
 
void SetLayerVisible (const OUString &rName, bool bShow)
 
bool IsLayerVisible (const OUString &rName) const
 
void SetLayerLocked (const OUString &rName, bool bLock=true)
 
bool IsLayerLocked (const OUString &rName) const
 
void SetLayerPrintable (const OUString &rName, bool bPrn)
 
bool IsLayerPrintable (const OUString &rName) const
 
void PrePaint ()
 
virtual void CompleteRedraw (OutputDevice *pOut, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr)
 
virtual SdrPaintWindowBeginCompleteRedraw (OutputDevice *pOut)
 
void DoCompleteRedraw (SdrPaintWindow &rPaintWindow, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr)
 
virtual void EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer)
 
SdrPaintWindowBeginDrawLayers (OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect=false)
 
void UpdateDrawLayersRegion (OutputDevice *pOut, const vcl::Region &rReg)
 
void EndDrawLayers (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer)
 
bool IsPageVisible () const
 Draw Page as a white area or not. More...
 
bool IsPageShadowVisible () const
 Draw Page shadow or not. More...
 
bool IsPageBorderVisible () const
 Draw Page as a white area or not. More...
 
bool IsBordVisible () const
 Draw Border line or not. More...
 
bool IsGridVisible () const
 Draw Grid or not. More...
 
bool IsGridFront () const
 Draw Grid in front of objects or behind them. More...
 
bool IsHlplVisible () const
 Draw Help line of the Page or not. More...
 
bool IsHlplFront () const
 Draw Help line in front of the objects or behind them. More...
 
const ColorGetGridColor () const
 
void SetPageVisible (bool bOn=true)
 
void SetPageShadowVisible (bool bOn)
 
void SetPageBorderVisible (bool bOn=true)
 
void SetBordVisible (bool bOn=true)
 
void SetGridVisible (bool bOn)
 
void SetGridFront (bool bOn)
 
void SetHlplVisible (bool bOn=true)
 
void SetHlplFront (bool bOn)
 
void SetGlueVisible (bool bOn=true)
 
bool IsPreviewRenderer () const
 
void SetPreviewRenderer (bool bOn)
 
bool getHideOle () const
 
bool getHideChart () const
 
bool getHideDraw () const
 
bool getHideFormControl () const
 
void setHideOle (bool bNew)
 
void setHideChart (bool bNew)
 
void setHideDraw (bool bNew)
 
void setHideFormControl (bool bNew)
 
void SetGridCoarse (const Size &rSiz)
 
void SetGridFine (const Size &rSiz)
 
const SizeGetGridCoarse () const
 
const SizeGetGridFine () const
 
void InvalidateAllWin ()
 
void InvalidateAllWin (const tools::Rectangle &rRect)
 
virtual void InvalidateOneWin (OutputDevice &rWin)
 If the View should not call Invalidate() on the windows, override the following 2 methods and do something else. More...
 
virtual void InvalidateOneWin (OutputDevice &rWin, const tools::Rectangle &rRect)
 
void SetActiveLayer (const OUString &rName)
 
const OUString & GetActiveLayer () const
 
void LeaveOneGroup ()
 Leave an object group of all visible Pages (like chdir .. in MS-DOS) More...
 
void LeaveAllGroup ()
 Leave all entered object groups of all visible Pages (like chdir \ in MS-DOS) More...
 
bool IsGroupEntered () const
 Determine, whether Leave is useful or not. More...
 
void SetDefaultAttr (const SfxItemSet &rAttr, bool bReplaceAll)
 Default attributes at the View Newly created objects are assigned these attributes by default when they are created. More...
 
const SfxItemSetGetDefaultAttr () const
 
void SetDefaultStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
 
void SetNotPersistDefaultAttr (const SfxItemSet &rAttr)
 
void MergeNotPersistDefaultAttr (SfxItemSet &rAttr) const
 
bool IsSwapAsynchron () const
 Execute a swap-in of e.g. More...
 
void SetSwapAsynchron (bool bJa=true)
 
virtual bool KeyInput (const KeyEvent &rKEvt, vcl::Window *pWin)
 
virtual bool MouseButtonDown (const MouseEvent &, OutputDevice *)
 
virtual bool MouseButtonUp (const MouseEvent &, OutputDevice *)
 
virtual bool Command (const CommandEvent &, vcl::Window *)
 
void GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
 
void SetAttributes (const SfxItemSet &rSet, bool bReplaceAll)
 
SfxStyleSheetGetStyleSheet () const
 
void SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
 
virtual void MakeVisible (const tools::Rectangle &rRect, vcl::Window &rWin)
 
virtual void DoConnect (SdrOle2Obj *pOleObj)
 For Plugins Is called by the Paint of the OLE object. More...
 
bool IsAnimationEnabled () const
 Enable/disable animations for Paint Is used by e.g. More...
 
void SetAnimationEnabled (bool bEnable=true)
 
void SetAnimationPause (bool bSet)
 Set/unset pause state for animations. More...
 
void SetAnimationMode (const SdrAnimationMode eMode)
 Mode when starting an animation in the Paint Handler: More...
 
void ShowItemBrowser (bool bShow)
 The Browser is destroyed for bShow=false. More...
 
bool IsItemBrowserVisible () const
 
vcl::WindowGetItemBrowser () const
 
void VisAreaChanged (const OutputDevice *pOut)
 Must be called by the App when scrolling etc. More...
 
void VisAreaChanged ()
 
bool IsPrintPreview () const
 
void SetPrintPreview (bool bOn=true)
 
const svtools::ColorConfiggetColorConfig () const
 
void onChangeColorConfig ()
 
void SetApplicationBackgroundColor (Color aBackgroundColor)
 
void SetApplicationDocumentColor (Color aDocumentColor)
 
void SetAnimationTimer (sal_uInt32 nTime)
 
const SvtOptionsDrawinglayergetOptionsDrawinglayer () const
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
- Public Member Functions inherited from SfxRepeatTarget
virtual ~SfxRepeatTarget ()=0
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
size_t GetSizeOfVector () const
 
SfxListenerGetListener (size_t nNo) const
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 
virtual void ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0
 

Protected Member Functions

void ImpBroadcastEdgesOfMarkedNodes ()
 
void ImpConvertTo (bool bPath, bool bLineToArea)
 
SdrObjectImpConvertOneObj (SdrObject *pObj, bool bPath, bool bLineToArea)
 
void ImpCheckToTopBtmPossible ()
 
void ImpCopyAttributes (const SdrObject *pSource, SdrObject *pDest) const
 
void ImpDismantleOneObject (const SdrObject *pObj, SdrObjList &rOL, size_t &rPos, SdrPageView *pPV, bool bMakeLines)
 
bool ImpDelLayerCheck (SdrObjList const *pOL, SdrLayerID nDelID) const
 
void ImpDelLayerDelObjs (SdrObjList *pOL, SdrLayerID nDelID)
 
std::vector< SdrObject * > DeleteMarkedList (SdrMarkList const &rMark)
 
virtual void CheckPossibilities ()
 
void ForcePossibilities () const
 
 SdrEditView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrEditView () override
 
- Protected Member Functions inherited from SdrMarkView
bool getPossibleGridOffsetForSdrObject (basegfx::B2DVector &rOffset, const SdrObject *pObj, const SdrPageView *pPV) const
 
bool getPossibleGridOffsetForPosition (basegfx::B2DVector &rOffset, const basegfx::B2DPoint &rPoint, const SdrPageView *pPV) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SetMarkHandles (SfxViewShell *pOtherShell)
 
void SetMarkRects ()
 
void CheckMarked ()
 
void AddDragModeHdl (SdrDragMode eMode)
 
virtual bool MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override
 handle mouse over effects for handles More...
 
virtual bool RequestHelp (const HelpEvent &rHEvt) override
 
virtual void AddCustomHdl ()
 
void ForceRefToMarked ()
 
void ForceUndirtyMrkPnt () const
 
virtual SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObject *pObj, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay) const
 
SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj) const
 
SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj, const SdrMarkList *pMarkList) const
 
bool ImpIsFrameHandles () const
 
OUString ImpGetDescriptionString (const char *pStrCacheID, ImpGetDescriptionOptions nOpt=ImpGetDescriptionOptions::NONE) const
 
bool ImpMarkPoint (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark)
 
virtual bool MarkPoints (const tools::Rectangle *pRect, bool bUnmark)
 
bool MarkGluePoints (const tools::Rectangle *pRect, bool bUnmark)
 
void SetMoveOutside (bool bOn)
 
bool MarkableObjectsExceed (int n) const
 
 SdrMarkView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrMarkView () override
 
SdrMarkListGetMarkedObjectListWriteAccess ()
 
- Protected Member Functions inherited from SdrSnapView
 SdrSnapView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrSnapView () override
 
- Protected Member Functions inherited from SdrPaintView
void DeletePaintWindow (SdrPaintWindow &rOld)
 
void ConfigurationChanged (::utl::ConfigurationBroadcaster *, ConfigurationHints) override
 
void InitOverlayManager (rtl::Reference< sdr::overlay::OverlayManager > xOverlayManager) const
 
sal_uInt16 ImpGetMinMovLogic (short nMinMov, const OutputDevice *pOut) const
 
sal_uInt16 ImpGetHitTolLogic (short nHitTol, const OutputDevice *pOut) const
 
void FlushComeBackTimer () const
 
void TheresNewMapMode ()
 
void ImpSetGlueVisible2 (bool bOn)
 
void ImpSetGlueVisible3 (bool bOn)
 
void ImpSetGlueVisible4 (bool bOn)
 
void GlueInvalidate () const
 
 SdrPaintView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrPaintView () override
 
void ImpFormLayerDrawing (SdrPaintWindow &rPaintWindow)
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 

Static Protected Member Functions

static bool ImpCanConvertForCombine1 (const SdrObject *pObj)
 
static bool ImpCanConvertForCombine (const SdrObject *pObj)
 
static basegfx::B2DPolyPolygon ImpGetPolyPolygon1 (const SdrObject *pObj)
 
static basegfx::B2DPolyPolygon ImpGetPolyPolygon (const SdrObject *pObj)
 
static basegfx::B2DPolygon ImpCombineToSinglePolygon (const basegfx::B2DPolyPolygon &rPolyPolygon)
 
static bool ImpCanDismantle (const basegfx::B2DPolyPolygon &rPpolyPpolygon, bool bMakeLines)
 
static bool ImpCanDismantle (const SdrObject *pObj, bool bMakeLines)
 
static void ImpCrookObj (SdrObject *pO, const Point &rRef, const Point &rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bRotate, const tools::Rectangle &rMarkRect)
 
static void ImpDistortObj (SdrObject *pO, const tools::Rectangle &rRef, const XPolygon &rDistortedRect, bool bNoContortion)
 
- Static Protected Member Functions inherited from SdrPaintView
static vcl::Region OptimizeDrawLayersRegion (OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect)
 

Protected Attributes

bool m_bPossibilitiesDirty: 1
 
bool m_bReadOnly: 1
 
bool m_bGroupPossible: 1
 
bool m_bUnGroupPossible: 1
 
bool m_bGrpEnterPossible: 1
 
bool m_bToTopPossible: 1
 
bool m_bToBtmPossible: 1
 
bool m_bReverseOrderPossible: 1
 
bool m_bImportMtfPossible: 1
 
bool m_bCombinePossible: 1
 
bool m_bDismantlePossible: 1
 
bool m_bCombineNoPolyPolyPossible: 1
 
bool m_bDismantleMakeLinesPossible: 1
 
bool m_bOrthoDesiredOnMarked: 1
 
bool m_bOneOrMoreMovable: 1
 
bool m_bMoreThanOneNoMovRot: 1
 
bool m_bContortionPossible: 1
 
bool m_bMoveAllowed: 1
 
bool m_bResizeFreeAllowed: 1
 
bool m_bResizePropAllowed: 1
 
bool m_bRotateFreeAllowed: 1
 
bool m_bRotate90Allowed: 1
 
bool m_bMirrorFreeAllowed: 1
 
bool m_bMirror45Allowed: 1
 
bool m_bMirror90Allowed: 1
 
bool m_bShearAllowed: 1
 
bool m_bEdgeRadiusAllowed: 1
 
bool m_bTransparenceAllowed: 1
 
bool m_bCropAllowed: 1
 
bool m_bGradientAllowed: 1
 
bool m_bCanConvToPath: 1
 
bool m_bCanConvToPoly: 1
 
bool m_bCanConvToContour: 1
 
bool m_bMoveProtect: 1
 
bool m_bResizeProtect: 1
 
- Protected Attributes inherited from SdrMarkView
SdrObjectmpMarkedObj
 
SdrPageViewmpMarkedPV
 
Point maRef1
 
Point maRef2
 
SdrHdlList maHdlList
 
sdr::ViewSelection maSdrViewSelection
 
tools::Rectangle maMarkedObjRect
 
tools::Rectangle maMarkedPointsRect
 
tools::Rectangle maMarkedGluePointsRect
 
sal_uInt16 mnFrameHandlesLimit
 
SdrDragMode meDragMode
 
SdrViewEditMode meEditMode
 
SdrViewEditMode meEditMode0
 
bool mbDesignMode: 1
 
bool mbForceFrameHandles: 1
 
bool mbPlusHdlAlways: 1
 
bool mbInsPolyPoint: 1
 
bool mbMarkedObjRectDirty: 1
 
bool mbMrkPntDirty: 1
 
bool mbMarkedPointsRectsDirty: 1
 
bool mbMarkHandlesHidden: 1
 
- Protected Attributes inherited from SdrSnapView
class ImplPageOriginOverlaympPageOriginOverlay
 
class ImplHelpLineOverlaympHelpLineOverlay
 
Size aMagnSiz
 
Fraction aSnapWdtX
 
Fraction aSnapWdtY
 
sal_uInt16 nMagnSizPix
 
long nSnapAngle
 
long nEliminatePolyPointLimitAngle
 
SdrCrookMode eCrookMode
 
bool bSnapEnab: 1
 
bool bGridSnap: 1
 
bool bBordSnap: 1
 
bool bHlplSnap: 1
 
bool bOFrmSnap: 1
 
bool bOPntSnap: 1
 
bool bOConSnap: 1
 
bool bMoveSnapOnlyTopLeft: 1
 
bool bOrtho: 1
 
bool bBigOrtho: 1
 
bool bAngleSnapEnab: 1
 
bool bMoveOnlyDragging: 1
 
bool bSlantButShear: 1
 
bool bCrookNoContortion: 1
 
bool bEliminatePolyPoints: 1
 
- Protected Attributes inherited from SdrPaintView
SdrModelmpModel
 
VclPtr< SdrItemBrowsermpItemBrowser
 
VclPtr< OutputDevicempActualOutDev
 
VclPtr< OutputDevicempDragWin
 
SfxStyleSheetmpDefaultStyleSheet
 
OUString maActualLayer
 
OUString maMeasureLayer
 
std::vector< std::unique_ptr< SdrPaintWindow > > maPaintWindows
 
Size maGridBig
 
Size maGridFin
 
SdrDragStat maDragStat
 
tools::Rectangle maMaxWorkArea
 
SfxItemSet maDefaultAttr
 
Idle maComeBackIdle
 
SdrAnimationMode meAnimationMode
 
sal_uInt16 mnHitTolPix
 
sal_uInt16 mnMinMovPix
 
sal_uInt16 mnHitTolLog
 
sal_uInt16 mnMinMovLog
 
SvtOptionsDrawinglayer const maDrawinglayerOpt
 
bool mbPageVisible: 1
 
bool mbPageShadowVisible: 1
 
bool mbPageBorderVisible: 1
 
bool mbBordVisible: 1
 
bool mbGridVisible: 1
 
bool mbGridFront: 1
 
bool mbHlplVisible: 1
 
bool mbHlplFront: 1
 
bool mbGlueVisible: 1
 
bool mbGlueVisible2: 1
 
bool mbGlueVisible3: 1
 
bool mbGlueVisible4: 1
 
bool mbSomeObjChgdFlag: 1
 
bool mbSwapAsynchron: 1
 
bool mbPrintPreview: 1
 
bool mbAnimationPause: 1
 
bool mbBufferedOutputAllowed: 1
 
bool mbBufferedOverlayAllowed: 1
 
bool mbPagePaintingAllowed: 1
 
bool mbPreviewRenderer: 1
 
bool mbHideOle: 1
 
bool mbHideChart: 1
 
bool mbHideDraw: 1
 
bool mbHideFormControl: 1
 
svtools::ColorConfig maColorConfig
 
Color maGridColor
 

Private Member Functions

SVX_DLLPRIVATE void ImpClearVars ()
 
SVX_DLLPRIVATE void ImpResetPossibilityFlags ()
 

Friends

class SdrPageView
 
class SdrDragDistort
 
class SdrDragCrook
 

Detailed Description

Definition at line 71 of file svdedtv.hxx.

Constructor & Destructor Documentation

SdrEditView::SdrEditView ( SdrModel rSdrModel,
OutputDevice pOut 
)
protected

Definition at line 92 of file svdedtv.cxx.

References ImpClearVars().

SdrEditView::~SdrEditView ( )
overrideprotectedvirtual

Definition at line 100 of file svdedtv.cxx.

Member Function Documentation

void SdrEditView::AddUndo ( std::unique_ptr< SdrUndoAction pUndo)
inline
void SdrEditView::AddUndoActions ( std::vector< std::unique_ptr< SdrUndoAction > >  aUndoActions)
void SdrEditView::AlignMarkedObjects ( SdrHorAlign  eHor,
SdrVertAlign  eVert 
)
void SdrEditView::BegUndo ( )
inline

Definition at line 179 of file svdedtv.hxx.

Referenced by AlignMarkedObjects(), E3dView::Break3DObj(), E3dView::ConvertMarkedObjTo3D(), E3dView::ConvertMarkedToPolyObj(), CrookMarkedObj(), DeleteLayer(), SdrGlueEditView::DeleteMarkedGluePoints(), DeleteMarkedList(), DeleteMarkedObj(), SdrPolyEditView::DeleteMarkedPoints(), DistortMarkedObj(), SdrDragView::EndDragObj(), E3dDragMethod::EndSdrDrag(), SdrDragShear::EndSdrDrag(), SdrDragCrook::EndSdrDrag(), SdrDragCrop::EndSdrDrag(), SdrDragObjOwn::EndSdrDrag(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrGlueEditView::ImpCopyMarkedGluePoints(), MirrorMarkedObj(), SdrGlueEditView::MoveMarkedGluePoints(), MoveMarkedObj(), SdrPolyEditView::MoveMarkedPoints(), E3dView::Paste(), SdrExchangeView::Paste(), SdrGlueEditView::ResizeMarkedGluePoints(), ResizeMarkedObj(), SdrPolyEditView::ResizeMarkedPoints(), ResizeMultMarkedObj(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrGlueEditView::RotateMarkedGluePoints(), RotateMarkedObj(), SdrPolyEditView::RotateMarkedPoints(), SdrObjEditView::SdrEndTextEdit(), SdrUndoObjSetText::SdrRepeat(), SdrObjEditView::SetAttributes(), SetAttrToMarked(), SetGeoAttrToMarked(), SdrGlueEditView::SetMarkedGluePointsAlign(), SdrGlueEditView::SetMarkedGluePointsEscDir(), SdrGlueEditView::SetMarkedGluePointsPercent(), SetMarkedObjRect(), SdrPolyEditView::SetMarkedPointsSmooth(), SdrPolyEditView::SetMarkedSegmentsKind(), SetStyleSheetToMarked(), ShearMarkedObj(), and SdrExternalToolEdit::Update().

void SdrEditView::BegUndo ( const OUString &  rComment)
inline

Definition at line 180 of file svdedtv.hxx.

void SdrEditView::BegUndo ( const OUString &  rComment,
const OUString &  rObjDescr,
SdrRepeatFunc  eFunc = SdrRepeatFunc::NONE 
)
inline

Definition at line 181 of file svdedtv.hxx.

void SdrEditView::CheckPossibilities ( )
protectedvirtual

Reimplemented in E3dView.

Definition at line 458 of file svdedtv.cxx.

References SdrObjTransformInfoRec::bCanConvToContour, SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bEdgeRadiusAllowed, SdrObjTransformInfoRec::bMirror45Allowed, SdrObjTransformInfoRec::bMirror90Allowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bMoveAllowed, SdrObjTransformInfoRec::bNoContortion, SdrObjTransformInfoRec::bNoOrthoDesired, SdrObjTransformInfoRec::bResizeFreeAllowed, SdrObjTransformInfoRec::bResizePropAllowed, SdrObjTransformInfoRec::bRotate90Allowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, SdrObjTransformInfoRec::bTransparenceAllowed, SdrMarkView::CheckMarked(), SfxItemSet::Get(), SdrEdgeObj::GetConnectedNode(), SfxItemSet::GetItemState(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItemSet(), SdrOle2Obj::GetObjRef(), SdrObject::GetOutlinerParaObject(), SdrMark::GetPageView(), SdrMarkView::GetSdrMarkByIndex(), SdrObject::GetSubList(), SdrGrafObj::HasGDIMetaFile(), ImpCanConvertForCombine(), ImpCanDismantle(), ImpCheckToTopBtmPossible(), ImpResetPossibilityFlags(), SdrGrafObj::isEmbeddedPdfData(), SdrGrafObj::isEmbeddedVectorGraphicData(), SdrGrafObj::IsEPS(), SdrObject::IsMoveProtect(), SdrPageView::IsReadOnly(), SdrObject::IsResizeProtect(), m_bCanConvToContour, m_bCanConvToPath, m_bCanConvToPoly, m_bCombineNoPolyPolyPossible, m_bCombinePossible, m_bContortionPossible, m_bCropAllowed, m_bDismantleMakeLinesPossible, m_bDismantlePossible, m_bEdgeRadiusAllowed, m_bGradientAllowed, m_bGroupPossible, m_bGrpEnterPossible, m_bImportMtfPossible, m_bMirror45Allowed, m_bMirror90Allowed, m_bMirrorFreeAllowed, m_bMoreThanOneNoMovRot, m_bMoveAllowed, m_bMoveProtect, m_bOneOrMoreMovable, m_bOrthoDesiredOnMarked, m_bPossibilitiesDirty, m_bReadOnly, m_bResizeFreeAllowed, m_bResizePropAllowed, m_bResizeProtect, m_bReverseOrderPossible, m_bRotate90Allowed, m_bRotateFreeAllowed, m_bShearAllowed, m_bTransparenceAllowed, m_bUnGroupPossible, SdrPaintView::mbSomeObjChgdFlag, SdrMarkView::SortMarkedObjects(), SdrObject::TakeObjInfo(), and XATTR_FILLSTYLE.

Referenced by E3dView::CheckPossibilities().

void SdrEditView::CombineMarkedObjects ( bool  bNoPolyPoly = true)
void SdrEditView::CombineMarkedTextObjects ( )
void SdrEditView::ConvertMarkedToPathObj ( bool  bLineToArea)

Definition at line 2043 of file svdedtv2.cxx.

Referenced by SdrUndoGroup::SdrRepeat().

void SdrEditView::ConvertMarkedToPolyObj ( )

Definition at line 2048 of file svdedtv2.cxx.

Referenced by E3dView::ConvertMarkedToPolyObj(), and SdrUndoGroup::SdrRepeat().

void SdrEditView::CopyMarked ( )
inline

Definition at line 234 of file svdedtv.hxx.

void SdrEditView::CopyMarkedObj ( )
std::vector< std::unique_ptr< SdrUndoAction > > SdrEditView::CreateConnectorUndo ( SdrObject rO)
void SdrEditView::CrookMarkedObj ( const Point rRef,
const Point rRad,
SdrCrookMode  eMode,
bool  bVertical,
bool  bNoContortion,
bool  bCopy = false 
)
void SdrEditView::DeleteLayer ( const OUString &  rName)
std::vector< SdrObject * > SdrEditView::DeleteMarkedList ( SdrMarkList const &  rMark)
protected
void SdrEditView::DeleteMarkedObj ( )
void SdrEditView::DismantleMarkedObjects ( bool  bMakeLines = false)
void SdrEditView::DistortMarkedObj ( const tools::Rectangle rRef,
const XPolygon rDistortedRect,
bool  bNoContortion,
bool  bCopy = false 
)
void SdrEditView::DistributeMarkedObjects ( weld::Window pParent)
void SdrEditView::DoImportMarkedMtf ( SvdProgressInfo pProgrInfo = nullptr)
void SdrEditView::EndTextEditAllViews ( ) const
void SdrEditView::EndUndo ( )

Definition at line 278 of file svdedtv.cxx.

References SdrModel::EndUndo(), SdrModel::GetUndoBracketLevel(), ImpBroadcastEdgesOfMarkedNodes(), and SdrPaintView::mpModel.

Referenced by AlignMarkedObjects(), E3dView::Break3DObj(), E3dView::ConvertMarkedObjTo3D(), E3dView::ConvertMarkedToPolyObj(), CrookMarkedObj(), DeleteLayer(), SdrGlueEditView::DeleteMarkedGluePoints(), DeleteMarkedList(), DeleteMarkedObj(), SdrPolyEditView::DeleteMarkedPoints(), DistortMarkedObj(), SdrDragView::EndDragObj(), E3dDragMethod::EndSdrDrag(), SdrDragShear::EndSdrDrag(), SdrDragCrook::EndSdrDrag(), SdrDragCrop::EndSdrDrag(), SdrDragObjOwn::EndSdrDrag(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrGlueEditView::ImpCopyMarkedGluePoints(), MirrorMarkedObj(), SdrGlueEditView::MoveMarkedGluePoints(), MoveMarkedObj(), SdrPolyEditView::MoveMarkedPoints(), E3dView::Paste(), SdrExchangeView::Paste(), SdrGlueEditView::ResizeMarkedGluePoints(), ResizeMarkedObj(), SdrPolyEditView::ResizeMarkedPoints(), ResizeMultMarkedObj(), SdrPolyEditView::RipUpAtMarkedPoints(), SdrGlueEditView::RotateMarkedGluePoints(), RotateMarkedObj(), SdrPolyEditView::RotateMarkedPoints(), SdrObjEditView::SdrEndTextEdit(), SdrUndoObjSetText::SdrRepeat(), SdrObjEditView::SetAttributes(), SetAttrToMarked(), SetGeoAttrToMarked(), SdrGlueEditView::SetMarkedGluePointsAlign(), SdrGlueEditView::SetMarkedGluePointsEscDir(), SdrGlueEditView::SetMarkedGluePointsPercent(), SetMarkedObjRect(), SdrPolyEditView::SetMarkedPointsSmooth(), SdrPolyEditView::SetMarkedSegmentsKind(), SetStyleSheetToMarked(), ShearMarkedObj(), and SdrExternalToolEdit::Update().

void SdrEditView::EqualizeMarkedObjects ( bool  bWidth)
void SdrEditView::ForceMarkedObjToAnotherPage ( )
void SdrEditView::ForceMarkedToAnotherPage ( )
inline

Definition at line 204 of file svdedtv.hxx.

void SdrEditView::ForcePossibilities ( ) const
inlineprotected
SfxItemSet SdrEditView::GetAttrFromMarked ( bool  bOnlyHardAttr) const
void SdrEditView::GetAttributes ( SfxItemSet rTargetSet,
bool  bOnlyHardAttr 
) const
SfxItemSet SdrEditView::GetGeoAttrFromMarked ( ) const
long SdrEditView::GetMarkedObjRotate ( ) const
long SdrEditView::GetMarkedObjShear ( ) const
SdrObject * SdrEditView::GetMaxToBtmObj ( SdrObject pObj) const
virtual

Definition at line 64 of file svdedtv2.cxx.

SdrObject * SdrEditView::GetMaxToTopObj ( SdrObject pObj) const
virtual

Definition at line 59 of file svdedtv2.cxx.

SfxStyleSheet * SdrEditView::GetStyleSheet ( ) const
SfxStyleSheet * SdrEditView::GetStyleSheetFromMarked ( ) const
void SdrEditView::GroupMarked ( )
void SdrEditView::ImpBroadcastEdgesOfMarkedNodes ( )
protected
bool SdrEditView::ImpCanConvertForCombine ( const SdrObject pObj)
staticprotected
bool SdrEditView::ImpCanConvertForCombine1 ( const SdrObject pObj)
staticprotected
bool SdrEditView::ImpCanDismantle ( const basegfx::B2DPolyPolygon rPpolyPpolygon,
bool  bMakeLines 
)
staticprotected
bool SdrEditView::ImpCanDismantle ( const SdrObject pObj,
bool  bMakeLines 
)
staticprotected
void SdrEditView::ImpCheckToTopBtmPossible ( )
protected
void SdrEditView::ImpClearVars ( )
private

Definition at line 86 of file svdedtv.cxx.

Referenced by SdrEditView().

basegfx::B2DPolygon SdrEditView::ImpCombineToSinglePolygon ( const basegfx::B2DPolyPolygon rPolyPolygon)
staticprotected
SdrObject * SdrEditView::ImpConvertOneObj ( SdrObject pObj,
bool  bPath,
bool  bLineToArea 
)
protected
void SdrEditView::ImpConvertTo ( bool  bPath,
bool  bLineToArea 
)
protected
void SdrEditView::ImpCopyAttributes ( const SdrObject pSource,
SdrObject pDest 
) const
protected
void SdrEditView::ImpCrookObj ( SdrObject pO,
const Point rRef,
const Point rRad,
SdrCrookMode  eMode,
bool  bVertical,
bool  bNoContortion,
bool  bRotate,
const tools::Rectangle rMarkRect 
)
staticprotected
bool SdrEditView::ImpDelLayerCheck ( SdrObjList const *  pOL,
SdrLayerID  nDelID 
) const
protected
void SdrEditView::ImpDelLayerDelObjs ( SdrObjList pOL,
SdrLayerID  nDelID 
)
protected
void SdrEditView::ImpDismantleOneObject ( const SdrObject pObj,
SdrObjList rOL,
size_t &  rPos,
SdrPageView pPV,
bool  bMakeLines 
)
protected
void SdrEditView::ImpDistortObj ( SdrObject pO,
const tools::Rectangle rRef,
const XPolygon rDistortedRect,
bool  bNoContortion 
)
staticprotected
basegfx::B2DPolyPolygon SdrEditView::ImpGetPolyPolygon ( const SdrObject pObj)
staticprotected
basegfx::B2DPolyPolygon SdrEditView::ImpGetPolyPolygon1 ( const SdrObject pObj)
staticprotected
void SdrEditView::ImpResetPossibilityFlags ( )
private

Definition at line 45 of file svdedtv.cxx.

Referenced by CheckPossibilities().

void SdrEditView::InsertNewLayer ( const OUString &  rName,
sal_uInt16  nPos 
)
bool SdrEditView::InsertObjectAtView ( SdrObject pObj,
SdrPageView rPV,
SdrInsertFlags  nOptions = SdrInsertFlags::NONE 
)
bool SdrEditView::IsAlignPossible ( ) const
bool SdrEditView::IsCombinePossible ( bool  bNoPolyPoly = false) const
bool SdrEditView::IsConvertToContourPossible ( ) const
inline

Definition at line 348 of file svdedtv.hxx.

bool SdrEditView::IsConvertToPathObjPossible ( ) const
inline

Definition at line 346 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat(), and E3dView::IsConvertTo3DObjPossible().

bool SdrEditView::IsConvertToPolyObjPossible ( ) const
inline

Definition at line 347 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat(), and E3dView::IsConvertTo3DObjPossible().

bool SdrEditView::IsCrookAllowed ( bool  bNoContortion = false) const
bool SdrEditView::IsCropAllowed ( ) const

Definition at line 397 of file svdedtv.cxx.

References ForcePossibilities(), and m_bCropAllowed.

Referenced by SdrDragView::BegDragObj().

bool SdrEditView::IsDismantlePossible ( bool  bMakeLines = false) const
bool SdrEditView::IsDistortAllowed ( bool  bNoContortion = false) const
bool SdrEditView::IsEdgeRadiusAllowed ( ) const

Definition at line 416 of file svdedtv.cxx.

References ForcePossibilities(), and m_bEdgeRadiusAllowed.

bool SdrEditView::IsGradientAllowed ( ) const

Definition at line 403 of file svdedtv.cxx.

References ForcePossibilities(), and m_bGradientAllowed.

Referenced by SdrDragView::BegDragObj(), and SdrView::GetPreferredPointer().

bool SdrEditView::IsGroupEnterPossible ( ) const
inline

Definition at line 340 of file svdedtv.hxx.

bool SdrEditView::IsGroupPossible ( ) const
inline

Definition at line 338 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat().

bool SdrEditView::IsImportMtfPossible ( ) const
inline

Definition at line 405 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat(), and E3dView::IsConvertTo3DObjPossible().

bool SdrEditView::IsMirrorAllowed ( bool  b45Deg = false,
bool  b90Deg = false 
) const
bool SdrEditView::IsMoveAllowed ( ) const
inline

Definition at line 235 of file svdedtv.hxx.

Referenced by SdrDragView::BegDragObj(), and SdrView::GetPreferredPointer().

bool SdrEditView::IsResizeAllowed ( bool  bProp = false) const
bool SdrEditView::IsReverseOrderPossible ( ) const
inline

Definition at line 386 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat().

bool SdrEditView::IsRotateAllowed ( bool  b90Deg = false) const
bool SdrEditView::IsShearAllowed ( ) const
bool SdrEditView::IsToBtmPossible ( ) const
inline

Definition at line 385 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat().

bool SdrEditView::IsToTopPossible ( ) const
inline

Definition at line 384 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat().

bool SdrEditView::IsTransparenceAllowed ( ) const
bool SdrEditView::IsUndoEnabled ( ) const
bool SdrEditView::IsUnGroupPossible ( ) const
inline

Definition at line 339 of file svdedtv.hxx.

Referenced by SdrUndoGroup::CanSdrRepeat().

void SdrEditView::MarkListHasChanged ( )
overridevirtual
void SdrEditView::MergeAttrFromMarked ( SfxItemSet rAttr,
bool  bOnlyHardAttr 
) const
void SdrEditView::MergeMarkedObjects ( SdrMergeMode  eMode)
void SdrEditView::MergeNotPersistAttrFromMarked ( SfxItemSet rAttr) const
void SdrEditView::MirrorAllMarkedHorizontal ( )
inline

Definition at line 232 of file svdedtv.hxx.

void SdrEditView::MirrorAllMarkedVertical ( )
inline

Definition at line 233 of file svdedtv.hxx.

void SdrEditView::MirrorMarkedObj ( const Point rRef1,
const Point rRef2,
bool  bCopy = false 
)
void SdrEditView::MirrorMarkedObjHorizontal ( )
void SdrEditView::MirrorMarkedObjVertical ( )
void SdrEditView::ModelHasChanged ( )
overridevirtual

Reimplemented from SdrMarkView.

Reimplemented in SdrObjEditView.

Definition at line 360 of file svdedtv.cxx.

References m_bPossibilitiesDirty, and SdrMarkView::ModelHasChanged().

Referenced by SdrObjEditView::ModelHasChanged().

void SdrEditView::MoveAllMarked ( const Size rSiz,
bool  bCopy = false 
)
inline

Definition at line 229 of file svdedtv.hxx.

void SdrEditView::MoveMarkedObj ( const Size rSiz,
bool  bCopy = false 
)
void SdrEditView::MovMarkedToBtm ( )
void SdrEditView::MovMarkedToTop ( )
void SdrEditView::ObjOrderChanged ( SdrObject pObj,
size_t  nOldPos,
size_t  nNewPos 
)
virtual

Definition at line 69 of file svdedtv2.cxx.

void SdrEditView::PutMarkedBehindObj ( const SdrObject pRefObj)
void SdrEditView::PutMarkedInFrontOfObj ( const SdrObject pRefObj)
void SdrEditView::PutMarkedToBtm ( )

Definition at line 351 of file svdedtv2.cxx.

Referenced by SdrUndoGroup::SdrRepeat().

void SdrEditView::PutMarkedToTop ( )

Definition at line 250 of file svdedtv2.cxx.

Referenced by SdrUndoGroup::SdrRepeat().

void SdrEditView::ReplaceObjectAtView ( SdrObject pOldObj,
SdrPageView rPV,
SdrObject pNewObj,
bool  bMark = true 
)
void SdrEditView::ResizeAllMarked ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
)
inline

Definition at line 230 of file svdedtv.hxx.

void SdrEditView::ResizeMarkedObj ( const Point rRef,
const Fraction xFact,
const Fraction yFact,
bool  bCopy = false 
)
void SdrEditView::ResizeMultMarkedObj ( const Point rRef,
const Fraction xFact,
const Fraction yFact,
const bool  bWdh,
const bool  bHgt 
)
void SdrEditView::ReverseOrderOfMarked ( )
void SdrEditView::RotateAllMarked ( const Point rRef,
long  nAngle 
)
inline

Definition at line 231 of file svdedtv.hxx.

void SdrEditView::RotateMarkedObj ( const Point rRef,
long  nAngle,
bool  bCopy = false 
)
void SdrEditView::SetAllMarkedRect ( const tools::Rectangle rRect)
inline

Definition at line 228 of file svdedtv.hxx.

void SdrEditView::SetAttributes ( const SfxItemSet rSet,
bool  bReplaceAll 
)
void SdrEditView::SetAttrToMarked ( const SfxItemSet rAttr,
bool  bReplaceAll 
)

Definition at line 953 of file svdedtv1.cxx.

References AddUndo(), AddUndoActions(), SdrMarkView::AreObjectsMarked(), BegUndo(), SdrObject::BroadcastObjectChange(), ChangeAttr, CreateConnectorUndo(), Application::CreateMessageDialog(), EE_FEATURE_END, EE_FEATURE_START, EndTextEditAllViews(), EndUndo(), SfxWhichIter::FirstWhich(), SfxItemSet::Get(), GetAllCharPropIds(), SfxItemIter::GetCurItem(), SfxItemSet::GetItemState(), SdrObject::GetLastBoundRect(), SdrMarkView::GetMarkedObjectCount(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItem(), SdrObject::GetMergedItemSet(), SdrPaintView::GetModel(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SdrMarkView::GetSdrMarkByIndex(), SdrObject::GetViewContact(), SdrMarkView::ImpGetDescriptionString(), sdr::contact::ViewContact::isAnimatedInAnyViewObjectContact(), IsInvalidItem(), IsUndoEnabled(), SfxItemIter::NextItem(), SfxWhichIter::NextWhich(), SdrTextObj::RemoveOutlinerCharacterAttribs(), SDRATTR_3DOBJ_BACKSCALE, SDRATTR_3DOBJ_DEPTH, SDRATTR_3DOBJ_END_ANGLE, SDRATTR_3DOBJ_PERCENT_DIAGONAL, SDRATTR_3DSCENE_DISTANCE, SDRATTR_TEXT_CONTOURFRAME, SDRATTR_TEXT_MINFRAMEHEIGHT, SearchOutlinerItems(), SdrObject::SendUserCall(), SdrPaintView::SetAnimationTimer(), SdrObject::SetChanged(), SdrObject::SetMergedItem(), SdrObject::SetMergedItemSetAndBroadcast(), SetNotPersistAttrToMarked(), XATTR_LINEENDWIDTH, XATTR_LINESTARTWIDTH, and XATTR_LINEWIDTH.

Referenced by SdrObjEditView::ApplyFormatPaintBrush(), E3dView::Set3DAttributes(), SetAttributes(), and SetGeoAttrToMarked().

void SdrEditView::SetGeoAttrToMarked ( const SfxItemSet rAttr)
void SdrEditView::SetMarkedObjRect ( const tools::Rectangle rRect)
void SdrEditView::SetNotPersistAttrToMarked ( const SfxItemSet rAttr)
void SdrEditView::SetStyleSheet ( SfxStyleSheet pStyleSheet,
bool  bDontRemoveHardAttr 
)
void SdrEditView::SetStyleSheetToMarked ( SfxStyleSheet pStyleSheet,
bool  bDontRemoveHardAttr 
)
void SdrEditView::SetUndoComment ( const OUString &  rComment,
const OUString &  rObjDescr 
)
inline

Definition at line 185 of file svdedtv.hxx.

void SdrEditView::ShearMarkedObj ( const Point rRef,
long  nAngle,
bool  bVShear = false,
bool  bCopy = false 
)
void SdrEditView::UnGroupMarked ( )

Friends And Related Function Documentation

friend class SdrDragCrook
friend

Definition at line 75 of file svdedtv.hxx.

Referenced by SdrDragView::BegDragObj().

friend class SdrDragDistort
friend

Definition at line 74 of file svdedtv.hxx.

Referenced by SdrDragView::BegDragObj().

friend class SdrPageView
friend

Definition at line 73 of file svdedtv.hxx.

Member Data Documentation

bool SdrEditView::m_bCanConvToContour
protected

Definition at line 112 of file svdedtv.hxx.

Referenced by CheckPossibilities().

bool SdrEditView::m_bCanConvToPath
protected

Definition at line 110 of file svdedtv.hxx.

Referenced by CheckPossibilities().

bool SdrEditView::m_bCanConvToPoly
protected

Definition at line 111 of file svdedtv.hxx.

Referenced by CheckPossibilities().

bool SdrEditView::m_bCombineNoPolyPolyPossible
protected

Definition at line 91 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsCombinePossible().

bool SdrEditView::m_bCombinePossible
protected

Definition at line 89 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsCombinePossible().

bool SdrEditView::m_bContortionPossible
protected

Definition at line 96 of file svdedtv.hxx.

Referenced by CheckPossibilities(), IsCrookAllowed(), and IsDistortAllowed().

bool SdrEditView::m_bCropAllowed
protected

Definition at line 108 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsCropAllowed().

bool SdrEditView::m_bDismantleMakeLinesPossible
protected

Definition at line 92 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsDismantlePossible().

bool SdrEditView::m_bDismantlePossible
protected

Definition at line 90 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsDismantlePossible().

bool SdrEditView::m_bEdgeRadiusAllowed
protected

Definition at line 106 of file svdedtv.hxx.

Referenced by CheckPossibilities(), IsEdgeRadiusAllowed(), and SetGeoAttrToMarked().

bool SdrEditView::m_bGradientAllowed
protected

Definition at line 109 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsGradientAllowed().

bool SdrEditView::m_bGroupPossible
protected

Definition at line 82 of file svdedtv.hxx.

Referenced by E3dView::CheckPossibilities(), and CheckPossibilities().

bool SdrEditView::m_bGrpEnterPossible
protected

Definition at line 84 of file svdedtv.hxx.

Referenced by E3dView::CheckPossibilities(), and CheckPossibilities().

bool SdrEditView::m_bImportMtfPossible
protected

Definition at line 88 of file svdedtv.hxx.

Referenced by CheckPossibilities().

bool SdrEditView::m_bMirror45Allowed
protected

Definition at line 103 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsMirrorAllowed().

bool SdrEditView::m_bMirror90Allowed
protected

Definition at line 104 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsMirrorAllowed().

bool SdrEditView::m_bMirrorFreeAllowed
protected

Definition at line 102 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsMirrorAllowed().

bool SdrEditView::m_bMoreThanOneNoMovRot
protected

Definition at line 95 of file svdedtv.hxx.

Referenced by CheckPossibilities().

bool SdrEditView::m_bMoveAllowed
protected
bool SdrEditView::m_bMoveProtect
protected
bool SdrEditView::m_bOneOrMoreMovable
protected

Definition at line 94 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsAlignPossible().

bool SdrEditView::m_bOrthoDesiredOnMarked
protected

Definition at line 93 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and SdrDragView::IsOrthoDesired().

bool SdrEditView::m_bPossibilitiesDirty
protected

Definition at line 80 of file svdedtv.hxx.

Referenced by CheckPossibilities(), MarkListHasChanged(), and ModelHasChanged().

bool SdrEditView::m_bReadOnly
protected

Definition at line 81 of file svdedtv.hxx.

Referenced by CheckPossibilities().

bool SdrEditView::m_bResizeFreeAllowed
protected

Definition at line 98 of file svdedtv.hxx.

Referenced by CheckPossibilities(), IsResizeAllowed(), and SetGeoAttrToMarked().

bool SdrEditView::m_bResizePropAllowed
protected

Definition at line 99 of file svdedtv.hxx.

Referenced by CheckPossibilities(), IsResizeAllowed(), and SetGeoAttrToMarked().

bool SdrEditView::m_bResizeProtect
protected
bool SdrEditView::m_bReverseOrderPossible
protected

Definition at line 87 of file svdedtv.hxx.

Referenced by CheckPossibilities().

bool SdrEditView::m_bRotate90Allowed
protected

Definition at line 101 of file svdedtv.hxx.

Referenced by CheckPossibilities(), IsRotateAllowed(), and SetGeoAttrToMarked().

bool SdrEditView::m_bRotateFreeAllowed
protected
bool SdrEditView::m_bShearAllowed
protected

Definition at line 105 of file svdedtv.hxx.

Referenced by CheckPossibilities(), IsShearAllowed(), and SetGeoAttrToMarked().

bool SdrEditView::m_bToBtmPossible
protected

Definition at line 86 of file svdedtv.hxx.

bool SdrEditView::m_bToTopPossible
protected

Definition at line 85 of file svdedtv.hxx.

bool SdrEditView::m_bTransparenceAllowed
protected

Definition at line 107 of file svdedtv.hxx.

Referenced by CheckPossibilities(), and IsTransparenceAllowed().

bool SdrEditView::m_bUnGroupPossible
protected

Definition at line 83 of file svdedtv.hxx.

Referenced by E3dView::CheckPossibilities(), and CheckPossibilities().


The documentation for this class was generated from the following files: