LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
chart::SelectionHelper Class Referencefinal

#include <SelectionHelper.hxx>

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

Public Member Functions

 SelectionHelper (SdrObject *pSelectedObj)
 
virtual ~SelectionHelper ()
 
virtual bool getMarkHandles (SdrHdlList &rHdlList) override
 
virtual bool getFrameDragSingles () override
 
SdrObjectgetObjectToMark ()
 
virtual bool getMarkHandles (SdrHdlList &rHdlList)=0
 
virtual bool getFrameDragSingles ()=0
 

Static Public Member Functions

static bool findNamedParent (SdrObject *&pInOutObject, OUString &rOutName, bool bGivenObjectMayBeResult)
 
static bool findNamedParent (SdrObject *&pInOutObject, ObjectIdentifier &rOutObject, bool bGivenObjectMayBeResult)
 
static SdrObjectgetMarkHandlesObject (SdrObject *pObj)
 
static E3dScenegetSceneToRotate (SdrObject *pObj)
 
static bool isDragableObjectHitTwice (const Point &rMPos, const OUString &rNameOfSelectedObject, const DrawViewWrapper &rDrawViewWrapper)
 
static OUString getHitObjectCID (const Point &rMPos, DrawViewWrapper const &rDrawViewWrapper, bool bGetDiagramInsteadOf_Wall=false)
 
static bool isRotateableObject (std::u16string_view rCID, const rtl::Reference<::chart::ChartModel > &xChartModel)
 

Private Attributes

SdrObjectm_pSelectedObj
 
SdrObjectm_pMarkObj
 

Additional Inherited Members

- Protected Member Functions inherited from chart::MarkHandleProvider
 ~MarkHandleProvider ()
 

Detailed Description

Definition at line 75 of file SelectionHelper.hxx.

Constructor & Destructor Documentation

◆ SelectionHelper()

chart::SelectionHelper::SelectionHelper ( SdrObject pSelectedObj)
explicit

Definition at line 456 of file SelectionHelper.cxx.

◆ ~SelectionHelper()

chart::SelectionHelper::~SelectionHelper ( )
virtual

Definition at line 461 of file SelectionHelper.cxx.

Member Function Documentation

◆ findNamedParent() [1/2]

bool chart::SelectionHelper::findNamedParent ( SdrObject *&  pInOutObject,
ObjectIdentifier rOutObject,
bool  bGivenObjectMayBeResult 
)
static

Definition at line 355 of file SelectionHelper.cxx.

References aName, and findNamedParent().

◆ findNamedParent() [2/2]

bool chart::SelectionHelper::findNamedParent ( SdrObject *&  pInOutObject,
OUString &  rOutName,
bool  bGivenObjectMayBeResult 
)
static

◆ getFrameDragSingles()

bool chart::SelectionHelper::getFrameDragSingles ( )
overridevirtual

Implements chart::MarkHandleProvider.

Definition at line 465 of file SelectionHelper.cxx.

References DynCastE3dObject(), and m_pSelectedObj.

◆ getHitObjectCID()

OUString chart::SelectionHelper::getHitObjectCID ( const Point rMPos,
DrawViewWrapper const &  rDrawViewWrapper,
bool  bGetDiagramInsteadOf_Wall = false 
)
static

◆ getMarkHandles()

bool chart::SelectionHelper::getMarkHandles ( SdrHdlList rHdlList)
overridevirtual

◆ getMarkHandlesObject()

SdrObject * chart::SelectionHelper::getMarkHandlesObject ( SdrObject pObj)
static

◆ getObjectToMark()

SdrObject * chart::SelectionHelper::getObjectToMark ( )

◆ getSceneToRotate()

E3dScene * chart::SelectionHelper::getSceneToRotate ( SdrObject pObj)
static

◆ isDragableObjectHitTwice()

bool chart::SelectionHelper::isDragableObjectHitTwice ( const Point rMPos,
const OUString &  rNameOfSelectedObject,
const DrawViewWrapper rDrawViewWrapper 
)
static

◆ isRotateableObject()

bool chart::SelectionHelper::isRotateableObject ( std::u16string_view  rCID,
const rtl::Reference<::chart::ChartModel > &  xChartModel 
)
static

Member Data Documentation

◆ m_pMarkObj

SdrObject* chart::SelectionHelper::m_pMarkObj
private

Definition at line 110 of file SelectionHelper.hxx.

Referenced by getMarkHandles(), and getObjectToMark().

◆ m_pSelectedObj

SdrObject* chart::SelectionHelper::m_pSelectedObj
private

Definition at line 109 of file SelectionHelper.hxx.

Referenced by getFrameDragSingles(), getMarkHandles(), and getObjectToMark().


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