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

#include <svddrgm1.hxx>

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

Public Member Functions

 SdrDragGradient (SdrDragView &rNewView, bool bGrad=true)
 
bool IsGradient () const
 
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 CancelSdrDrag () 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 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
 

Private Attributes

SdrHdlGradientpIAOHandle
 
bool const bIsGradient: 1
 

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 (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 ()
 

Detailed Description

Definition at line 117 of file svddrgm1.hxx.

Constructor & Destructor Documentation

SdrDragGradient::SdrDragGradient ( SdrDragView rNewView,
bool  bGrad = true 
)

Definition at line 2598 of file svddrgmt.cxx.

Member Function Documentation

bool SdrDragGradient::BeginSdrDrag ( )
overridevirtual
void SdrDragGradient::CancelSdrDrag ( )
overridevirtual
bool SdrDragGradient::EndSdrDrag ( bool  bCopy)
overridevirtual
OUString SdrDragGradient::GetSdrDragComment ( ) const
overridevirtual

Implements SdrDragMethod.

Definition at line 2605 of file svddrgmt.cxx.

References SdrDragMethod::ImpGetDescriptionStr(), and IsGradient().

PointerStyle SdrDragGradient::GetSdrDragPointer ( ) const
overridevirtual

Implements SdrDragMethod.

Definition at line 2750 of file svddrgmt.cxx.

bool SdrDragGradient::IsGradient ( ) const
inline

Definition at line 129 of file svddrgm1.hxx.

References bIsGradient.

Referenced by BeginSdrDrag(), and GetSdrDragComment().

void SdrDragGradient::MoveSdrDrag ( const Point rPnt)
overridevirtual

Member Data Documentation

bool const SdrDragGradient::bIsGradient
private

Definition at line 124 of file svddrgm1.hxx.

Referenced by IsGradient().

SdrHdlGradient* SdrDragGradient::pIAOHandle
private

Definition at line 121 of file svddrgm1.hxx.

Referenced by BeginSdrDrag(), CancelSdrDrag(), EndSdrDrag(), and MoveSdrDrag().


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