LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
SdrObjConnection Class Referencefinal

Utility class SdrObjConnection. More...

#include <svdoedge.hxx>

Collaboration diagram for SdrObjConnection:
[legend]

Public Member Functions

 SdrObjConnection ()
 
void ResetVars ()
 
bool TakeGluePoint (SdrGluePoint &rGP) const
 
void SetBestConnection (bool rB)
 
void SetBestVertex (bool rB)
 
void SetAutoVertex (bool rB)
 
void SetConnectorId (sal_uInt16 nId)
 
bool IsBestConnection () const
 
bool IsAutoVertex () const
 
sal_uInt16 GetConnectorId () const
 
SdrObjectGetObject () const
 

Private Attributes

Point aObjOfs
 
SdrObjectpObj
 
sal_uInt16 nConId
 
bool bBestConn: 1
 
bool bBestVertex: 1
 
bool bAutoVertex: 1
 
bool bAutoCorner: 1
 

Friends

class SdrEdgeObj
 
class ImpEdgeHdl
 
class SdrCreateView
 

Detailed Description

Utility class SdrObjConnection.

Definition at line 39 of file svdoedge.hxx.

Constructor & Destructor Documentation

◆ SdrObjConnection()

SdrObjConnection::SdrObjConnection ( )
inline

Definition at line 55 of file svdoedge.hxx.

References ResetVars().

Member Function Documentation

◆ GetConnectorId()

sal_uInt16 SdrObjConnection::GetConnectorId ( ) const
inline

Definition at line 67 of file svdoedge.hxx.

References nConId.

Referenced by SdrEdgeObj::getGluePointIndex().

◆ GetObject()

SdrObject * SdrObjConnection::GetObject ( ) const
inline

Definition at line 68 of file svdoedge.hxx.

References pObj.

Referenced by SdrEdgeObj::applySpecialDrag(), and SdrEdgeObj::setGluePointIndex().

◆ IsAutoVertex()

bool SdrObjConnection::IsAutoVertex ( ) const
inline

Definition at line 66 of file svdoedge.hxx.

References bAutoVertex.

Referenced by SdrEdgeObj::getGluePointIndex().

◆ IsBestConnection()

bool SdrObjConnection::IsBestConnection ( ) const
inline

Definition at line 65 of file svdoedge.hxx.

References bBestConn.

Referenced by SdrEdgeObj::getGluePointIndex().

◆ ResetVars()

void SdrObjConnection::ResetVars ( )

Definition at line 49 of file svdoedge.cxx.

References bAutoCorner, bAutoVertex, bBestConn, bBestVertex, nConId, and pObj.

Referenced by SdrEdgeObj::ImpFindConnector(), and SdrObjConnection().

◆ SetAutoVertex()

void SdrObjConnection::SetAutoVertex ( bool  rB)
inline

Definition at line 62 of file svdoedge.hxx.

References bAutoVertex.

Referenced by SdrEdgeObj::setGluePointIndex().

◆ SetBestConnection()

void SdrObjConnection::SetBestConnection ( bool  rB)
inline

Definition at line 60 of file svdoedge.hxx.

References bBestConn.

Referenced by SdrEdgeObj::setGluePointIndex().

◆ SetBestVertex()

void SdrObjConnection::SetBestVertex ( bool  rB)
inline

Definition at line 61 of file svdoedge.hxx.

References bBestVertex.

Referenced by SdrEdgeObj::setGluePointIndex().

◆ SetConnectorId()

void SdrObjConnection::SetConnectorId ( sal_uInt16  nId)
inline

Definition at line 63 of file svdoedge.hxx.

References nConId, and nId.

Referenced by SdrEdgeObj::setGluePointIndex().

◆ TakeGluePoint()

bool SdrObjConnection::TakeGluePoint ( SdrGluePoint rGP) const

Friends And Related Function Documentation

◆ ImpEdgeHdl

friend class ImpEdgeHdl
friend

Definition at line 42 of file svdoedge.hxx.

◆ SdrCreateView

friend class SdrCreateView
friend

Definition at line 43 of file svdoedge.hxx.

◆ SdrEdgeObj

friend class SdrEdgeObj
friend

Definition at line 41 of file svdoedge.hxx.

Member Data Documentation

◆ aObjOfs

Point SdrObjConnection::aObjOfs
private

◆ bAutoCorner

bool SdrObjConnection::bAutoCorner
private

Definition at line 52 of file svdoedge.hxx.

Referenced by SdrEdgeObj::ImpFindConnector(), ResetVars(), and TakeGluePoint().

◆ bAutoVertex

bool SdrObjConnection::bAutoVertex
private

◆ bBestConn

bool SdrObjConnection::bBestConn
private

◆ bBestVertex

bool SdrObjConnection::bBestVertex
private

◆ nConId

sal_uInt16 SdrObjConnection::nConId
private

◆ pObj

SdrObject* SdrObjConnection::pObj
private

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