Lines Matching refs:pObj

63 	pObj=NULL;  in ResetVars()
78 if (pObj!=NULL) { // Ein Obj muss schon angedockt sein! in TakeGluePoint()
80 rGP=pObj->GetVertexGluePoint(nConId); in TakeGluePoint()
83 rGP=pObj->GetCornerGluePoint(nConId); in TakeGluePoint()
86 const SdrGluePointList* pGPL=pObj->GetGluePointList(); in TakeGluePoint()
97 Point aPt(rGP.GetAbsolutePos(*pObj)); in TakeGluePoint()
468 void SdrEdgeObj::ConnectToNode(FASTBOOL bTail1, SdrObject* pObj) in ConnectToNode() argument
472 if (pObj!=NULL) { in ConnectToNode()
473 pObj->AddListener(*this); in ConnectToNode()
474 rCon.pObj=pObj; in ConnectToNode()
486 if (rCon.pObj!=NULL) { in DisconnectFromNode()
487 rCon.pObj->RemoveListener(*this); in DisconnectFromNode()
488 rCon.pObj=NULL; in DisconnectFromNode()
494 SdrObject* pObj=GetConnection(bTail1).pObj; in GetConnectedNode() local
495 if (pObj!=NULL && (pObj->GetPage()!=pPage || !pObj->IsInserted())) pObj=NULL; in GetConnectedNode()
496 return pObj; in GetConnectedNode()
504 if (rCon.pObj!=NULL && rCon.pObj->GetPage()==pPage && nPtAnz!=0) { in CheckNodeConnection()
505 const SdrGluePointList* pGPL=rCon.pObj->GetGluePointList(); in CheckNodeConnection()
511 bRet=aTail==(*pGPL)[i].GetAbsolutePos(*rCon.pObj); in CheckNodeConnection()
513 SdrGluePoint aPt(rCon.pObj->GetVertexGluePoint(i-nConAnz)); in CheckNodeConnection()
514 bRet=aTail==aPt.GetAbsolutePos(*rCon.pObj); in CheckNodeConnection()
516 SdrGluePoint aPt(rCon.pObj->GetCornerGluePoint(i-nConAnz-4)); in CheckNodeConnection()
517 bRet=aTail==aPt.GetAbsolutePos(*rCon.pObj); in CheckNodeConnection()
612 sal_uInt16 SdrEdgeObj::ImpCalcEscAngle(SdrObject* pObj, const Point& rPt) const in ImpCalcEscAngle() argument
614 if (pObj==NULL) return SDRESC_ALL; in ImpCalcEscAngle()
615 Rectangle aR(pObj->GetSnapRect()); in ImpCalcEscAngle()
741 FASTBOOL bCon1=rCon1.pObj!=NULL && rCon1.pObj->GetPage()==pPage; // && rCon1.pObj->IsInserted(); in ImpCalcEdgeTrack()
742 FASTBOOL bCon2=rCon2.pObj!=NULL && rCon2.pObj->GetPage()==pPage; // && rCon2.pObj->IsInserted(); in ImpCalcEdgeTrack()
746 if (rCon1.pObj==(SdrObject*)this) in ImpCalcEdgeTrack()
753 aBoundRect1 = rCon1.pObj->GetCurrentBoundRect(); in ImpCalcEdgeTrack()
771 if (rCon2.pObj==(SdrObject*)this) { // sicherheitshalber Abfragen #44515# in ImpCalcEdgeTrack()
776 aBoundRect2 = rCon2.pObj->GetCurrentBoundRect(); in ImpCalcEdgeTrack()
809 if (nEsc1==SDRESC_SMART) nEsc1=ImpCalcEscAngle(rCon1.pObj,aPt1-rCon1.aObjOfs); in ImpCalcEdgeTrack()
816 if (nEsc2==SDRESC_SMART) nEsc2=ImpCalcEscAngle(rCon2.pObj,aPt2-rCon2.aObjOfs); in ImpCalcEdgeTrack()
1570 FASTBOOL bObj1=aCon1.pObj!=NULL && aCon1.pObj->GetBroadcaster()==&rBC; in Notify()
1571 FASTBOOL bObj2=aCon2.pObj!=NULL && aCon2.pObj->GetBroadcaster()==&rBC; in Notify()
1575 if (bObj1) aCon1.pObj=NULL; in Notify()
1576 if (bObj2) aCon2.pObj=NULL; in Notify()
1591 (bObj1 && aCon1.pObj->GetPage()==pPage) || in Notify()
1592 (bObj2 && aCon2.pObj->GetPage()==pPage) || in Notify()
1616 if( NULL != aCon1.pObj ) in Reformat()
1619 Notify( *const_cast<SfxBroadcaster*>(aCon1.pObj->GetBroadcaster()), aHint ); in Reformat()
1622 if( NULL != aCon2.pObj ) in Reformat()
1625 Notify( *const_cast<SfxBroadcaster*>(aCon2.pObj->GetBroadcaster()), aHint ); in Reformat()
1636 aCon1.pObj=NULL; in operator =()
1637 aCon2.pObj=NULL; in operator =()
1746 if (aCon1.pObj!=NULL && aCon1.bBestVertex) pHdl->Set1PixMore(sal_True); in GetHdl()
1749 if (aCon2.pObj!=NULL && aCon2.bBestVertex) pHdl->Set1PixMore(sal_True); in GetHdl()
1868 if(pDraggedOne->pObj) in applySpecialDrag()
1872 SdrObject* pNewConnection = pDraggedOne->pObj; in applySpecialDrag()
1873 pDraggedOne->pObj = 0; in applySpecialDrag()
1992 if (aCon1.pObj && (aCon1.bBestConn || aCon1.bBestVertex)) in ImplAddConnectorOverlay()
1993 aPt1 = aCon1.pObj->GetSnapRect().Center(); in ImplAddConnectorOverlay()
1995 if (aCon2.pObj && (aCon2.bBestConn || aCon2.bBestVertex)) in ImplAddConnectorOverlay()
1996 aPt2 = aCon2.pObj->GetSnapRect().Center(); in ImplAddConnectorOverlay()
2027 ConnectToNode(sal_True,aCon1.pObj); in BegCreate()
2043 ConnectToNode(sal_False,aCon2.pObj); in MovCreate()
2053 ConnectToNode(sal_True,aCon1.pObj); in EndCreate()
2054 ConnectToNode(sal_False,aCon2.pObj); in EndCreate()
2119 SdrObject* pObj=pOL->GetObj(no); in ImpFindConnector() local
2120 if (rVisLayer.IsSet(pObj->GetLayer()) && pObj->IsVisible() && // only visible objects in ImpFindConnector()
2121 (pThis==NULL || pObj!=(SdrObject*)pThis) && // nicht an mich selbst connecten in ImpFindConnector()
2122 pObj->IsNode()) in ImpFindConnector()
2124 Rectangle aObjBound(pObj->GetCurrentBoundRect()); in ImpFindConnector()
2128 FASTBOOL bEdge=HAS_BASE(SdrEdgeObj,pObj); // kein BestCon fuer Edge in ImpFindConnector()
2132 const SdrGluePointList* pGPL=pObj->GetGluePointList(); in ImpFindConnector()
2148 aConPos=rGP.GetAbsolutePos(*pObj); in ImpFindConnector()
2154 SdrGluePoint aPt(pObj->GetVertexGluePoint(nConNum)); in ImpFindConnector()
2155 aConPos=aPt.GetAbsolutePos(*pObj); in ImpFindConnector()
2161 SdrGluePoint aPt(pObj->GetCornerGluePoint(nConNum)); in ImpFindConnector()
2162 aConPos=aPt.GetAbsolutePos(*pObj); in ImpFindConnector()
2184 aTestCon.pObj=pObj; in ImpFindConnector()
2197 SdrObjectPrimitiveHit(*pObj, rPt, nBoundHitTol, rPV, &rVisLayer, false)) in ImpFindConnector()
2204 aTestCon.pObj=pObj; in ImpFindConnector()
2289 FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage; in NbcRotate()
2290 FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage; in NbcRotate()
2320 FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage; in NbcMirror()
2321 FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage; in NbcMirror()
2351 FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage; in NbcShear()
2352 FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage; in NbcShear()
2460 if (aCon1.pObj!=rEGeo.aCon1.pObj) { in RestGeoData()
2461 if (aCon1.pObj!=NULL) aCon1.pObj->RemoveListener(*this); in RestGeoData()
2463 if (aCon1.pObj!=NULL) aCon1.pObj->AddListener(*this); in RestGeoData()
2465 if (aCon2.pObj!=rEGeo.aCon2.pObj) { in RestGeoData()
2466 if (aCon2.pObj!=NULL) aCon2.pObj->RemoveListener(*this); in RestGeoData()
2468 if (aCon2.pObj!=NULL) aCon2.pObj->AddListener(*this); in RestGeoData()