48 bool setSelection(
const css::uno::Reference< css::drawing::XShape >& xShape );
60 ,
bool bIsRightMouse,
bool bWaitingForDoubleClick );
80 ,
bool bGivenObjectMayBeResult );
83 ,
bool bGivenObjectMayBeResult );
87 ,
const OUString& rNameOfSelectedObject
93 bool bGetDiagramInsteadOf_Wall=
false );
The DrawViewWrapper should help us to reduce effort if the underlying DrawingLayer changes.
static OUString getHitObjectCID(const Point &rMPos, DrawViewWrapper const &rDrawViewWrapper, bool bGetDiagramInsteadOf_Wall=false)
static SdrObject * getMarkHandlesObject(SdrObject *pObj)
SdrObject * m_pSelectedObj
static bool findNamedParent(SdrObject *&pInOutObject, OUString &rOutName, bool bGivenObjectMayBeResult)
static bool isRotateableObject(std::u16string_view rCID, const rtl::Reference<::chart::ChartModel > &xChartModel)
virtual ~SelectionHelper()
SelectionHelper(SdrObject *pSelectedObj)
virtual bool getMarkHandles(SdrHdlList &rHdlList) override
static E3dScene * getSceneToRotate(SdrObject *pObj)
SdrObject * getObjectToMark()
static bool isDragableObjectHitTwice(const Point &rMPos, const OUString &rNameOfSelectedObject, const DrawViewWrapper &rDrawViewWrapper)
virtual bool getFrameDragSingles() override
void remindSelectionBeforeMouseDown()
void resetPossibleSelectionAfterSingleClickWasEnsured()
bool isDragableObjectSelected() const
bool hasSelection() const
bool setSelection(const css::uno::Reference< css::drawing::XShape > &xShape)
bool isRotateableObjectSelected(const rtl::Reference<::chart::ChartModel > &xChartModel) const
ObjectIdentifier m_aSelectedOID_selectOnlyIfNoDoubleClickIsFollowing
bool isAdditionalShapeSelected() const
ObjectIdentifier m_aSelectedOID
const ObjectIdentifier & getSelectedOID() const
OUString const & getSelectedCID() const
bool maybeSwitchSelectionAfterSingleClickWasEnsured()
ObjectIdentifier m_aSelectedOID_beforeMouseDown
void adaptSelectionToNewPos(const Point &rMousePos, DrawViewWrapper const *pDrawViewWrapper, bool bIsRightMouse, bool bWaitingForDoubleClick)
bool isSelectionDifferentFromBeforeMouseDown() const
bool isResizeableObjectSelected() const
void applySelection(DrawViewWrapper *pDrawViewWrapper)
bool setSelection(const OUString &rCID)
css::uno::Reference< css::drawing::XShape > const & getSelectedAdditionalShape() const