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

#include <svddrgm1.hxx>

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

Public Member Functions

 SdrDragCrook (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 void applyCurrentTransformationToSdrObject (SdrObject &rTarget) override
 
virtual void applyCurrentTransformationToPolyPolygon (basegfx::B2DPolyPolygon &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 void CancelSdrDrag ()
 
virtual void CreateOverlayGeometry (sdr::overlay::OverlayManager &rOverlayManager, const sdr::contact::ObjectContact &rObjectContact)
 
void destroyOverlayGeometry ()
 
virtual basegfx::B2DHomMatrix getCurrentTransformation ()
 
bool getMoveOnly () const
 
bool getSolidDraggingActive () const
 

Protected Member Functions

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 (const char *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 ()
 

Private Member Functions

void MovAllPoints (basegfx::B2DPolyPolygon &rTarget)
 
void MovCrookPoint (Point &rPnt, Point *pC1, Point *pC2)
 

Private Attributes

tools::Rectangle aMarkRect
 
Point aMarkCenter
 
Point aCenter
 
Point aStart
 
Fraction aFact
 
Point aRad
 
bool bContortionAllowed
 
bool bNoContortionAllowed
 
bool bContortion
 
bool bResizeAllowed
 
bool bResize
 
bool bRotateAllowed
 
bool bRotate
 
bool bVertical
 
bool bValid
 
bool bLft
 
bool bRgt
 
bool bUpr
 
bool bLwr
 
bool bAtCenter
 
long nAngle
 
long nMarkSize
 
SdrCrookMode eMode
 

Detailed Description

Definition at line 139 of file svddrgm1.hxx.

Constructor & Destructor Documentation

SdrDragCrook::SdrDragCrook ( SdrDragView rNewView)
explicit

Definition at line 2756 of file svddrgmt.cxx.

References Rotate().

Member Function Documentation

void SdrDragCrook::applyCurrentTransformationToPolyPolygon ( basegfx::B2DPolyPolygon rTarget)
overridevirtual

Reimplemented from SdrDragMethod.

Definition at line 3298 of file svddrgmt.cxx.

References MovAllPoints().

void SdrDragCrook::applyCurrentTransformationToSdrObject ( SdrObject rTarget)
overridevirtual
bool SdrDragCrook::BeginSdrDrag ( )
overridevirtual
void SdrDragCrook::createSdrDragEntries ( )
overrideprotectedvirtual
bool SdrDragCrook::EndSdrDrag ( bool  bCopy)
overridevirtual
OUString SdrDragCrook::GetSdrDragComment ( ) const
overridevirtual
PointerStyle SdrDragCrook::GetSdrDragPointer ( ) const
overridevirtual

Implements SdrDragMethod.

Definition at line 3381 of file svddrgmt.cxx.

void SdrDragCrook::MovAllPoints ( basegfx::B2DPolyPolygon rTarget)
private
void SdrDragCrook::MovCrookPoint ( Point rPnt,
Point pC1,
Point pC2 
)
private
void SdrDragCrook::MoveSdrDrag ( const Point rPnt)
overridevirtual

Member Data Documentation

Point SdrDragCrook::aCenter
private
Fraction SdrDragCrook::aFact
private
Point SdrDragCrook::aMarkCenter
private
tools::Rectangle SdrDragCrook::aMarkRect
private
Point SdrDragCrook::aRad
private
Point SdrDragCrook::aStart
private

Definition at line 145 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

bool SdrDragCrook::bAtCenter
private

Definition at line 161 of file svddrgm1.hxx.

Referenced by GetSdrDragComment(), and MoveSdrDrag().

bool SdrDragCrook::bContortion
private
bool SdrDragCrook::bContortionAllowed
private

Definition at line 148 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

bool SdrDragCrook::bLft
private

Definition at line 157 of file svddrgm1.hxx.

Referenced by MoveSdrDrag().

bool SdrDragCrook::bLwr
private

Definition at line 160 of file svddrgm1.hxx.

Referenced by MoveSdrDrag().

bool SdrDragCrook::bNoContortionAllowed
private

Definition at line 149 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

bool SdrDragCrook::bResize
private

Definition at line 152 of file svddrgm1.hxx.

Referenced by EndSdrDrag(), MovAllPoints(), MovCrookPoint(), and MoveSdrDrag().

bool SdrDragCrook::bResizeAllowed
private

Definition at line 151 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

bool SdrDragCrook::bRgt
private

Definition at line 158 of file svddrgm1.hxx.

Referenced by MoveSdrDrag().

bool SdrDragCrook::bRotate
private
bool SdrDragCrook::bRotateAllowed
private

Definition at line 153 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().

bool SdrDragCrook::bUpr
private

Definition at line 159 of file svddrgm1.hxx.

Referenced by MoveSdrDrag().

bool SdrDragCrook::bValid
private

Definition at line 156 of file svddrgm1.hxx.

Referenced by GetSdrDragComment(), and MoveSdrDrag().

bool SdrDragCrook::bVertical
private
SdrCrookMode SdrDragCrook::eMode
private
long SdrDragCrook::nAngle
private
long SdrDragCrook::nMarkSize
private

Definition at line 163 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), and MoveSdrDrag().


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