LibreOffice Module svx (master) 1
Public Member Functions | List of all members
SdrDragCrop Class Reference

#include <svddrgm1.hxx>

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

Public Member Functions

 SdrDragCrop (SdrDragView &rNewView)
 
virtual OUString GetSdrDragComment () const override
 
virtual bool BeginSdrDrag () override
 
virtual bool EndSdrDrag (bool bCopy) override
 
virtual PointerStyle GetSdrDragPointer () const override
 
- Public Member Functions inherited from SdrDragObjOwn
 SdrDragObjOwn (SdrDragView &rNewView)
 
virtual ~SdrDragObjOwn () override
 
virtual OUString GetSdrDragComment () const override
 
virtual bool BeginSdrDrag () override
 
virtual void MoveSdrDrag (const Point &rPnt) override
 
virtual bool EndSdrDrag (bool bCopy) override
 
virtual PointerStyle GetSdrDragPointer () const override
 
- Public Member Functions inherited from SdrDragMethod
void resetSdrDragEntries ()
 
basegfx::B2DRange getCurrentRange () const
 
 SdrDragMethod (SdrDragView &rNewView)
 
virtual ~SdrDragMethod ()
 
void Show ()
 
void Hide ()
 
bool IsShiftPressed () const
 
void SetShiftPressed (bool bShiftPressed)
 
virtual OUString GetSdrDragComment () const =0
 
virtual bool BeginSdrDrag ()=0
 
virtual void MoveSdrDrag (const Point &rPnt)=0
 
virtual bool EndSdrDrag (bool bCopy)=0
 
virtual void CancelSdrDrag ()
 
virtual PointerStyle GetSdrDragPointer () const =0
 
virtual void CreateOverlayGeometry (sdr::overlay::OverlayManager &rOverlayManager, const sdr::contact::ObjectContact &rObjectContact)
 
void destroyOverlayGeometry ()
 
virtual basegfx::B2DHomMatrix getCurrentTransformation () const
 
virtual void applyCurrentTransformationToSdrObject (SdrObject &rTarget)
 
virtual void applyCurrentTransformationToPolyPolygon (basegfx::B2DPolyPolygon &rTarget)
 
bool getMoveOnly () const
 
bool getSolidDraggingActive () const
 

Additional Inherited Members

- Protected Member Functions inherited from SdrDragObjOwn
virtual void createSdrDragEntries () override
 
- Protected Member Functions inherited from SdrDragMethod
void clearSdrDragEntries ()
 
void addSdrDragEntry (std::unique_ptr< SdrDragEntry > pNew)
 
virtual void createSdrDragEntries ()
 
virtual void createSdrDragEntryForSdrObject (const SdrObject &rOriginal)
 
void insertNewlyCreatedOverlayObjectForSdrDragMethod (std::unique_ptr< sdr::overlay::OverlayObject > pOverlayObject, const sdr::contact::ObjectContact &rObjectContact, sdr::overlay::OverlayManager &rOverlayManager)
 
SdrDragViewgetSdrDragView ()
 
const SdrDragViewgetSdrDragView () const
 
void setMoveOnly (bool bNew)
 
void setSolidDraggingActive (bool bNew)
 
void createSdrDragEntries_SolidDrag ()
 
void createSdrDragEntries_PolygonDrag ()
 
void createSdrDragEntries_PointDrag ()
 
void createSdrDragEntries_GlueDrag ()
 
OUString ImpGetDescriptionStr (TranslateId pStrCacheID) const
 
SdrHdlGetDragHdl () const
 
SdrHdlKind GetDragHdlKind () const
 
SdrDragStatDragStat ()
 
const SdrDragStatDragStat () const
 
PointRef1 () const
 
PointRef2 () const
 
const SdrHdlListGetHdlList () const
 
void AddUndo (std::unique_ptr< SdrUndoAction > pUndo)
 
bool IsDragLimit ()
 
const tools::RectangleGetDragLimitRect ()
 
const SdrMarkListGetMarkedObjectList ()
 
Point GetSnapPos (const Point &rPt) const
 
SdrSnap SnapPos (Point &rPt) const
 
const tools::RectangleGetMarkedRect () const
 
SdrPageViewGetDragPV () const
 
SdrObjectGetDragObj () const
 
bool IsDraggingPoints () const
 
bool IsDraggingGluePoints () const
 
bool DoAddConnectorOverlays ()
 
drawinglayer::primitive2d::Primitive2DContainer AddConnectorOverlays ()
 

Detailed Description

Definition at line 219 of file svddrgm1.hxx.

Constructor & Destructor Documentation

◆ SdrDragCrop()

SdrDragCrop::SdrDragCrop ( SdrDragView rNewView)
explicit

Definition at line 3529 of file svddrgmt.cxx.

References SdrDragMethod::setSolidDraggingActive().

Member Function Documentation

◆ BeginSdrDrag()

bool SdrDragCrop::BeginSdrDrag ( )
overridevirtual

Reimplemented from SdrDragObjOwn.

Definition at line 3551 of file svddrgmt.cxx.

References SdrDragObjOwn::BeginSdrDrag(), and SdrDragMethod::GetDragHdl().

◆ EndSdrDrag()

bool SdrDragCrop::EndSdrDrag ( bool  bCopy)
overridevirtual

Reimplemented from SdrDragObjOwn.

Definition at line 3565 of file svddrgmt.cxx.

References basegfx::absolute(), SdrEditView::AddUndo(), SdrEditView::BegUndo(), tools::Rectangle::Bottom(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::utils::createScaleTranslateB2DHomMatrix(), SdrObject::Crop(), SdrDragMethod::DragStat(), SdrEditView::EndUndo(), basegfx::fTools::equal(), basegfx::fTools::equalZero(), basegfx::fround(), Application::GetDefaultDevice(), SdrDragMethod::GetDragHdlKind(), SdrObject::getFullDragClone(), SdrGrafObj::GetGraphicObject(), SdrGrafObj::GetGraphicType(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), tools::Rectangle::GetHeight(), SdrModel::GetItemPool(), MapMode::GetMapUnit(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), SdrObject::GetMergedItem(), SfxItemPool::GetMetric(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), SdrPaintView::GetModel(), GraphicObject::GetPrefMapMode(), GraphicObject::GetPrefSize(), basegfx::utils::B2DHomMatrixBufferedDecompose::getRotate(), basegfx::utils::B2DHomMatrixBufferedDecompose::getScale(), SdrDragMethod::getSdrDragView(), SdrObject::getSdrModelFromSdrObject(), basegfx::utils::B2DHomMatrixBufferedDecompose::getShearX(), basegfx::utils::B2DHomMatrixBufferedDecompose::getTranslate(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), tools::Rectangle::GetWidth(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Size::Height(), SdrDragMethod::Hide(), SdrDragMethod::ImpGetDescriptionStr(), basegfx::B2DHomMatrix::invert(), SdrGrafObj::IsMirrored(), tools::Rectangle::Left(), Left, OutputDevice::LogicToLogic(), Lower, LowerLeft, LowerRight, OutputDevice::PixelToLogic(), SfxItemSet::Put(), tools::Rectangle::Right(), Right, basegfx::B2DHomMatrix::scale(), SDRATTR_GRAFCROP(), SdrObjEditView::SetAttributes(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), tools::Rectangle::Top(), basegfx::B2DRange::transform(), basegfx::B2DHomMatrix::translate(), SdrTextObj::TRGetBaseGeometry(), SdrTextObj::TRSetBaseGeometry(), Upper, UpperLeft, UpperRight, Size::Width(), X, and Y.

◆ GetSdrDragComment()

OUString SdrDragCrop::GetSdrDragComment ( ) const
overridevirtual

◆ GetSdrDragPointer()

PointerStyle SdrDragCrop::GetSdrDragPointer ( ) const
overridevirtual

Reimplemented from SdrDragObjOwn.

Definition at line 3856 of file svddrgmt.cxx.


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