LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
chart::DragMethod_Base Class Reference

#include <DragMethod_Base.hxx>

Inheritance diagram for chart::DragMethod_Base:
[legend]
Collaboration diagram for chart::DragMethod_Base:
[legend]

Public Member Functions

 DragMethod_Base (DrawViewWrapper &rDrawViewWrapper, OUString aObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel, ActionDescriptionProvider::ActionType eActionType=ActionDescriptionProvider::ActionType::Move)
 
virtual ~DragMethod_Base () override
 
OUString getUndoDescription () const
 
virtual OUString GetSdrDragComment () const 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
 

Protected Member Functions

rtl::Reference<::chart::ChartModel > getChartModel () const
 
- 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 ()
 

Protected Attributes

DrawViewWrapperm_rDrawViewWrapper
 
OUString m_aObjectCID
 
ActionDescriptionProvider::ActionType m_eActionType
 

Private Attributes

unotools::WeakReference<::chart::ChartModel > m_xChartModel
 

Detailed Description

Definition at line 32 of file DragMethod_Base.hxx.

Constructor & Destructor Documentation

◆ DragMethod_Base()

chart::DragMethod_Base::DragMethod_Base ( DrawViewWrapper rDrawViewWrapper,
OUString  aObjectCID,
const rtl::Reference<::chart::ChartModel > &  xChartModel,
ActionDescriptionProvider::ActionType  eActionType = ActionDescriptionProvider::ActionType::Move 
)

Definition at line 35 of file DragMethod_Base.cxx.

References get(), and SdrDragMethod::setMoveOnly().

◆ ~DragMethod_Base()

chart::DragMethod_Base::~DragMethod_Base ( )
overridevirtual

Definition at line 47 of file DragMethod_Base.cxx.

Member Function Documentation

◆ getChartModel()

rtl::Reference<::chart::ChartModel > chart::DragMethod_Base::getChartModel ( ) const
protected

◆ GetSdrDragComment()

OUString chart::DragMethod_Base::GetSdrDragComment ( ) const
overridevirtual

Implements SdrDragMethod.

Reimplemented in chart::DragMethod_PieSegment, and chart::DragMethod_RotateDiagram.

Definition at line 62 of file DragMethod_Base.cxx.

References getUndoDescription().

◆ GetSdrDragPointer()

PointerStyle chart::DragMethod_Base::GetSdrDragPointer ( ) const
overridevirtual

◆ getUndoDescription()

OUString chart::DragMethod_Base::getUndoDescription ( ) const

Member Data Documentation

◆ m_aObjectCID

OUString chart::DragMethod_Base::m_aObjectCID
protected

◆ m_eActionType

ActionDescriptionProvider::ActionType chart::DragMethod_Base::m_eActionType
protected

Definition at line 51 of file DragMethod_Base.hxx.

Referenced by getUndoDescription().

◆ m_rDrawViewWrapper

DrawViewWrapper& chart::DragMethod_Base::m_rDrawViewWrapper
protected

◆ m_xChartModel

unotools::WeakReference<::chart::ChartModel> chart::DragMethod_Base::m_xChartModel
private

Definition at line 54 of file DragMethod_Base.hxx.

Referenced by getChartModel().


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