LibreOffice Module svx (master) 1
|
#include <dragmt3d.hxx>
Public Member Functions | |
E3dDragMethod (SdrDragView &rView, const SdrMarkList &rMark, E3dDragConstraint eConstr, bool bFull) | |
virtual OUString | GetSdrDragComment () const override |
virtual bool | BeginSdrDrag () override |
virtual void | MoveSdrDrag (const Point &rPnt) override |
virtual void | CancelSdrDrag () override |
virtual bool | EndSdrDrag (bool bCopy) override |
virtual void | CreateOverlayGeometry (sdr::overlay::OverlayManager &rOverlayManager, const sdr::contact::ObjectContact &rObjectContact) 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 | |
::std::vector< E3dDragMethodUnit > | maGrp |
E3dDragConstraint | meConstraint |
Point | maLastPos |
tools::Rectangle | maFullBound |
bool | mbMoveFull |
bool | mbMovedAtAll |
Definition at line 56 of file dragmt3d.hxx.
E3dDragMethod::E3dDragMethod | ( | SdrDragView & | rView, |
const SdrMarkList & | rMark, | ||
E3dDragConstraint | eConstr, | ||
bool | bFull | ||
) |
Definition at line 40 of file dragmt3d.cxx.
References basegfx::B3DPolyPolygon::clear(), E3dObject::CreateWireframe(), DynCastE3dObject(), E3dObject::GetFullTransform(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), E3dObject::getParentE3dSceneFromE3dObject(), SdrAttrObj::GetSnapRect(), E3dObject::GetTransform(), SdrObject::HasFillStyle(), SdrObject::HasLineStyle(), basegfx::B3DHomMatrix::invert(), E3dDragMethodUnit::maDisplayTransform, maFullBound, maGrp, E3dDragMethodUnit::maInitTransform, E3dDragMethodUnit::maInvDisplayTransform, E3dDragMethodUnit::maTransform, E3dDragMethodUnit::maWireframePoly, mbMoveFull, basegfx::B3DPolyPolygon::transform(), and tools::Rectangle::Union().
|
overridevirtual |
Implements SdrDragMethod.
Definition at line 114 of file dragmt3d.cxx.
References tools::Rectangle::Center(), SdrDragMethod::DragStat(), GetAngle(), SdrDragStat::GetStart(), maFullBound, maGrp, maLastPos, mbMoveFull, meConstraint, E3dDragMethodUnit::mnLastAngle, E3dDragMethodUnit::mnStartAngle, SdrDragStat::SetRef1(), SdrDragMethod::Show(), and Z.
|
overridevirtual |
Reimplemented from SdrDragMethod.
Definition at line 180 of file dragmt3d.cxx.
References SdrDragMethod::Hide(), maGrp, E3dDragMethodUnit::maInitTransform, mbMovedAtAll, mbMoveFull, E3dDragMethodUnit::mr3DObj, and E3dObject::SetTransform().
|
overridevirtual |
Reimplemented from SdrDragMethod.
Definition at line 214 of file dragmt3d.cxx.
References basegfx::B2DPolyPolygon::append(), basegfx::B2DPolyPolygon::count(), basegfx::B3DPolyPolygon::count(), basegfx::utils::createB2DPolyPolygonFromB3DPolyPolygon(), drawinglayer::geometry::ViewInformation3D::getDeviceToView(), sdr::contact::ViewContactOfE3dScene::getObjectTransformation(), drawinglayer::geometry::ViewInformation3D::getOrientation(), drawinglayer::geometry::ViewInformation3D::getProjection(), E3dObject::getRootE3dSceneFromE3dObject(), SdrDragMethod::getSdrDragView(), SdrPaintView::GetSdrPageView(), SdrObject::GetViewContact(), sdr::contact::ViewContactOfE3dScene::getViewInformation3D(), SdrPageView::HasMarkedObjPageView(), SdrDragMethod::insertNewlyCreatedOverlayObjectForSdrDragMethod(), comphelper::LibreOfficeKit::isActive(), E3dDragMethodUnit::maDisplayTransform, maGrp, E3dDragMethodUnit::maWireframePoly, E3dDragMethodUnit::mr3DObj, and basegfx::B2DPolyPolygon::transform().
|
overridevirtual |
Implements SdrDragMethod.
Definition at line 141 of file dragmt3d.cxx.
References SdrEditView::AddUndo(), SdrEditView::BegUndo(), SdrEditView::EndUndo(), SdrDragMethod::getSdrDragView(), SdrDragMethod::Hide(), SdrEditView::IsUndoEnabled(), maGrp, E3dDragMethodUnit::maInitTransform, E3dDragMethodUnit::maTransform, mbMovedAtAll, mbMoveFull, E3dDragMethodUnit::mr3DObj, E3dObject::SetTransform(), and SvxResId().
|
overridevirtual |
Implements SdrDragMethod.
Definition at line 107 of file dragmt3d.cxx.
|
overridevirtual |
Implements SdrDragMethod.
Reimplemented in E3dDragRotate, and E3dDragMove.
Definition at line 206 of file dragmt3d.cxx.
References mbMovedAtAll.
Referenced by E3dDragRotate::MoveSdrDrag(), and E3dDragMove::MoveSdrDrag().
|
protected |
Definition at line 62 of file dragmt3d.hxx.
Referenced by BeginSdrDrag(), E3dDragMethod(), E3dDragMove::E3dDragMove(), and E3dDragRotate::MoveSdrDrag().
|
protected |
Definition at line 59 of file dragmt3d.hxx.
Referenced by BeginSdrDrag(), CancelSdrDrag(), CreateOverlayGeometry(), E3dDragMethod(), E3dDragRotate::E3dDragRotate(), EndSdrDrag(), E3dDragRotate::MoveSdrDrag(), and E3dDragMove::MoveSdrDrag().
|
protected |
Definition at line 61 of file dragmt3d.hxx.
Referenced by BeginSdrDrag(), E3dDragRotate::MoveSdrDrag(), and E3dDragMove::MoveSdrDrag().
|
protected |
Definition at line 64 of file dragmt3d.hxx.
Referenced by CancelSdrDrag(), EndSdrDrag(), and MoveSdrDrag().
|
protected |
Definition at line 63 of file dragmt3d.hxx.
Referenced by BeginSdrDrag(), CancelSdrDrag(), E3dDragMethod(), EndSdrDrag(), E3dDragRotate::MoveSdrDrag(), and E3dDragMove::MoveSdrDrag().
|
protected |
Definition at line 60 of file dragmt3d.hxx.
Referenced by BeginSdrDrag(), and E3dDragRotate::MoveSdrDrag().