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 void MoveSdrDrag (const Point &rPnt) 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 void CancelSdrDrag ()
 
virtual void CreateOverlayGeometry (sdr::overlay::OverlayManager &rOverlayManager, const sdr::contact::ObjectContact &rObjectContact)
 
void destroyOverlayGeometry ()
 
virtual basegfx::B2DHomMatrix getCurrentTransformation ()
 
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 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 ( SdrDragView rNewView)
explicit

Definition at line 3523 of file svddrgmt.cxx.

References SdrDragMethod::setSolidDraggingActive().

Member Function Documentation

bool SdrDragCrop::BeginSdrDrag ( )
overridevirtual

Reimplemented from SdrDragObjOwn.

Definition at line 3545 of file svddrgmt.cxx.

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

bool SdrDragCrop::EndSdrDrag ( bool  bCopy)
overridevirtual

Reimplemented from SdrDragObjOwn.

Definition at line 3559 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::B2DRange::getHeight(), tools::Rectangle::GetHeight(), SdrModel::GetItemPool(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), basegfx::B2DRange::getMaxX(), basegfx::B2DRange::getMaxY(), SdrObject::GetMergedItem(), SfxItemPool::GetMetric(), basegfx::B2DRange::getMinX(), basegfx::B2DRange::getMinY(), SdrPaintView::GetModel(), basegfx::utils::B2DHomMatrixBufferedDecompose::getRotate(), basegfx::utils::B2DHomMatrixBufferedDecompose::getScale(), SdrDragMethod::getSdrDragView(), SdrObject::getSdrModelFromSdrObject(), basegfx::utils::B2DHomMatrixBufferedDecompose::getShearX(), basegfx::utils::B2DHomMatrixBufferedDecompose::getTranslate(), basegfx::B2DRange::getWidth(), tools::Rectangle::GetWidth(), Tuple2D< double >::getX(), Tuple2D< double >::getY(), 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(), Tuple2D< double >::setX(), Tuple2D< double >::setY(), tools::Rectangle::Top(), basegfx::B2DRange::transform(), basegfx::B2DHomMatrix::translate(), SdrTextObj::TRGetBaseGeometry(), SdrTextObj::TRSetBaseGeometry(), Upper, UpperLeft, UpperRight, X, and Y.

OUString SdrDragCrop::GetSdrDragComment ( ) const
overridevirtual
PointerStyle SdrDragCrop::GetSdrDragPointer ( ) const
overridevirtual

Reimplemented from SdrDragObjOwn.

Definition at line 3850 of file svddrgmt.cxx.


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