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 38 of file svdoedge.hxx.

Constructor & Destructor Documentation

SdrObjConnection::SdrObjConnection ( )
inline

Definition at line 54 of file svdoedge.hxx.

References ResetVars().

Member Function Documentation

sal_uInt16 SdrObjConnection::GetConnectorId ( ) const
inline

Definition at line 66 of file svdoedge.hxx.

References nConId.

Referenced by SdrEdgeObj::getGluePointIndex().

SdrObject* SdrObjConnection::GetObject ( ) const
inline

Definition at line 67 of file svdoedge.hxx.

References pObj.

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

bool SdrObjConnection::IsAutoVertex ( ) const
inline

Definition at line 65 of file svdoedge.hxx.

References bAutoVertex.

Referenced by SdrEdgeObj::getGluePointIndex().

bool SdrObjConnection::IsBestConnection ( ) const
inline

Definition at line 64 of file svdoedge.hxx.

References bBestConn.

Referenced by SdrEdgeObj::getGluePointIndex().

void SdrObjConnection::ResetVars ( )

Definition at line 53 of file svdoedge.cxx.

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

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

void SdrObjConnection::SetAutoVertex ( bool  rB)
inline

Definition at line 61 of file svdoedge.hxx.

References bAutoVertex.

Referenced by SdrEdgeObj::setGluePointIndex().

void SdrObjConnection::SetBestConnection ( bool  rB)
inline

Definition at line 59 of file svdoedge.hxx.

References bBestConn.

Referenced by SdrEdgeObj::setGluePointIndex().

void SdrObjConnection::SetBestVertex ( bool  rB)
inline

Definition at line 60 of file svdoedge.hxx.

References bBestVertex.

Referenced by SdrEdgeObj::setGluePointIndex().

void SdrObjConnection::SetConnectorId ( sal_uInt16  nId)
inline

Definition at line 62 of file svdoedge.hxx.

Referenced by SdrEdgeObj::setGluePointIndex().

bool SdrObjConnection::TakeGluePoint ( SdrGluePoint rGP) const

Friends And Related Function Documentation

friend class ImpEdgeHdl
friend

Definition at line 41 of file svdoedge.hxx.

friend class SdrCreateView
friend

Definition at line 42 of file svdoedge.hxx.

friend class SdrEdgeObj
friend

Definition at line 40 of file svdoedge.hxx.

Member Data Documentation

Point SdrObjConnection::aObjOfs
private
bool SdrObjConnection::bAutoCorner
private

Definition at line 51 of file svdoedge.hxx.

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

bool SdrObjConnection::bAutoVertex
private
bool SdrObjConnection::bBestConn
private
bool SdrObjConnection::bBestVertex
private
sal_uInt16 SdrObjConnection::nConId
private
SdrObject* SdrObjConnection::pObj
private

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