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

#include <svddrgmt.hxx>

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

Public Member Functions

 SdrDragResize (SdrDragView &rNewView)
 
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
 
virtual basegfx::B2DHomMatrix getCurrentTransformation () const override
 
virtual void applyCurrentTransformationToSdrObject (SdrObject &rTarget) 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
 

Protected Attributes

Fraction aXFact
 
Fraction aYFact
 

Additional Inherited Members

- 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 257 of file svddrgmt.hxx.

Constructor & Destructor Documentation

◆ SdrDragResize()

SdrDragResize::SdrDragResize ( SdrDragView rNewView)

Definition at line 1716 of file svddrgmt.cxx.

Member Function Documentation

◆ applyCurrentTransformationToSdrObject()

void SdrDragResize::applyCurrentTransformationToSdrObject ( SdrObject rTarget)
overridevirtual

Reimplemented from SdrDragMethod.

Definition at line 2007 of file svddrgmt.cxx.

References aXFact, aYFact, SdrDragMethod::DragStat(), and rTarget.

◆ BeginSdrDrag()

bool SdrDragResize::BeginSdrDrag ( )
overridevirtual

◆ EndSdrDrag()

bool SdrDragResize::EndSdrDrag ( bool  bCopy)
overridevirtual

◆ getCurrentTransformation()

basegfx::B2DHomMatrix SdrDragResize::getCurrentTransformation ( ) const
overridevirtual

◆ GetSdrDragComment()

OUString SdrDragResize::GetSdrDragComment ( ) const
overridevirtual

◆ GetSdrDragPointer()

PointerStyle SdrDragResize::GetSdrDragPointer ( ) const
overridevirtual

Implements SdrDragMethod.

Definition at line 2032 of file svddrgmt.cxx.

References SdrDragMethod::GetDragHdl(), and SdrHdl::GetPointer().

◆ MoveSdrDrag()

void SdrDragResize::MoveSdrDrag ( const Point rPnt)
overridevirtual

Member Data Documentation

◆ aXFact

Fraction SdrDragResize::aXFact
protected

◆ aYFact

Fraction SdrDragResize::aYFact
protected

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