LibreOffice Module chart2 (master) 1
|
#include <DragMethod_PieSegment.hxx>
Public Member Functions | |
DragMethod_PieSegment (DrawViewWrapper &rDrawViewWrapper, const OUString &rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel) | |
virtual | ~DragMethod_PieSegment () override |
virtual OUString | GetSdrDragComment () const override |
virtual bool | BeginSdrDrag () override |
virtual void | MoveSdrDrag (const Point &rPnt) override |
virtual bool | EndSdrDrag (bool bCopy) override |
virtual basegfx::B2DHomMatrix | getCurrentTransformation () const override |
Public Member Functions inherited from chart::DragMethod_Base | |
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 |
Private Attributes | |
::basegfx::B2DVector | m_aStartVector |
double | m_fInitialOffset |
double | m_fAdditionalOffset |
::basegfx::B2DVector | m_aDragDirection |
double | m_fDragRange |
Additional Inherited Members | |
Protected Attributes inherited from chart::DragMethod_Base | |
DrawViewWrapper & | m_rDrawViewWrapper |
OUString | m_aObjectCID |
ActionDescriptionProvider::ActionType | m_eActionType |
Definition at line 27 of file DragMethod_PieSegment.hxx.
chart::DragMethod_PieSegment::DragMethod_PieSegment | ( | DrawViewWrapper & | rDrawViewWrapper, |
const OUString & | rObjectCID, | ||
const rtl::Reference<::chart::ChartModel > & | xChartModel | ||
) |
Definition at line 38 of file DragMethod_PieSegment.cxx.
References chart::ObjectIdentifier::getDragParameterString(), m_aDragDirection, chart::DragMethod_Base::m_aObjectCID, m_fDragRange, m_fInitialOffset, chart::ObjectIdentifier::parsePieSegmentDragParameterString(), and basegfx::B2DVector::scalar().
|
overridevirtual |
Definition at line 69 of file DragMethod_PieSegment.cxx.
|
overridevirtual |
Implements SdrDragMethod.
Definition at line 78 of file DragMethod_PieSegment.cxx.
References SdrDragMethod::DragStat(), m_aStartVector, SdrDragMethod::Show(), Point::X(), and Point::Y().
|
overrideprotectedvirtual |
Reimplemented from SdrDragMethod.
Definition at line 138 of file DragMethod_PieSegment.cxx.
References SdrDragMethod::addSdrDragEntry(), chart::DrawViewWrapper::GetPageView(), chart::DrawViewWrapper::getSelectedObject(), chart::DragMethod_Base::m_rDrawViewWrapper, and SdrObject::TakeXorPoly().
|
overridevirtual |
Implements SdrDragMethod.
Definition at line 108 of file DragMethod_PieSegment.cxx.
References DBG_UNHANDLED_EXCEPTION, chart::DragMethod_Base::getChartModel(), chart::ObjectIdentifier::getObjectPropertySet(), SdrDragMethod::Hide(), chart::DragMethod_Base::m_aObjectCID, m_fAdditionalOffset, and m_fInitialOffset.
|
overridevirtual |
Reimplemented from SdrDragMethod.
Definition at line 130 of file DragMethod_PieSegment.cxx.
References SdrDragMethod::DragStat(), and basegfx::B2DHomMatrix::translate().
|
overridevirtual |
Reimplemented from chart::DragMethod_Base.
Definition at line 72 of file DragMethod_PieSegment.cxx.
References aStr, m_fAdditionalOffset, m_fInitialOffset, and chart::SchResId().
|
overridevirtual |
Implements SdrDragMethod.
Definition at line 85 of file DragMethod_PieSegment.cxx.
References SdrDragMethod::DragStat(), SdrDragMethod::Hide(), m_aDragDirection, m_aStartVector, m_fAdditionalOffset, m_fDragRange, m_fInitialOffset, SdrDragStat::NextMove(), basegfx::B2DVector::scalar(), SdrDragMethod::Show(), Point::X(), and Point::Y().
|
private |
Definition at line 48 of file DragMethod_PieSegment.hxx.
Referenced by DragMethod_PieSegment(), and MoveSdrDrag().
|
private |
Definition at line 45 of file DragMethod_PieSegment.hxx.
Referenced by BeginSdrDrag(), and MoveSdrDrag().
|
private |
Definition at line 47 of file DragMethod_PieSegment.hxx.
Referenced by EndSdrDrag(), GetSdrDragComment(), and MoveSdrDrag().
|
private |
Definition at line 49 of file DragMethod_PieSegment.hxx.
Referenced by DragMethod_PieSegment(), and MoveSdrDrag().
|
private |
Definition at line 46 of file DragMethod_PieSegment.hxx.
Referenced by DragMethod_PieSegment(), EndSdrDrag(), GetSdrDragComment(), and MoveSdrDrag().