Lines Matching refs:pObj
549 SdrObject* pObj=pOL->GetObj(nObjNum); in HasMarkableObj() local
550 if (IsObjMarkable(pObj,pPV)) { in HasMarkableObj()
568 SdrObject* pObj=pOL->GetObj(nObjNum); in GetMarkableObjCount() local
569 if (IsObjMarkable(pObj,pPV)) { in GetMarkableObjCount()
627 const SdrObject* pObj=GetMarkedObjectByIndex(0); in ImpIsFrameHandles() local
628 if (pObj->GetObjInventor()==SdrInventor) in ImpIsFrameHandles()
630 sal_uInt16 nIdent=pObj->GetObjIdentifier(); in ImpIsFrameHandles()
644 const SdrObject* pObj=pM->GetMarkedSdrObj(); in ImpIsFrameHandles() local
645 bFrmHdl=!pObj->IsPolyObj(); in ImpIsFrameHandles()
653 const SdrObject* pObj=pM->GetMarkedSdrObj(); in ImpIsFrameHandles() local
654 bFrmHdl=!pObj->hasSpecialDrag(); in ImpIsFrameHandles()
825 SdrObject* pObj=pM->GetMarkedSdrObj(); in SetMarkHandles() local
828 pObj->AddToHdlList(aHdl); in SetMarkHandles()
830 bool bPoly=pObj->IsPolyObj(); in SetMarkHandles()
835 pHdl->SetObj(pObj); in SetMarkHandles()
845 sal_uInt32 nPlusAnz=pObj->GetPlusHdlCount(*pHdl); in SetMarkHandles()
848 SdrHdl* pPlusHdl=pObj->GetPlusHdl(*pHdl,nPlusNum); in SetMarkHandles()
851 pPlusHdl->SetObj(pObj); in SetMarkHandles()
868 SdrObject* pObj=pM->GetMarkedSdrObj(); in SetMarkHandles() local
873 const SdrGluePointList* pGPL=pObj->GetGluePointList(); in SetMarkHandles()
886 Point aPos(rGP.GetAbsolutePos(*pObj)); in SetMarkHandles()
888 pGlueHdl->SetObj(pObj); in SetMarkHandles()
986 SdrObject* pObj = GetMarkedObjectByIndex(0); in AddDragModeHdl() local
988 const SfxItemSet& rSet = pObj->GetMergedItemSet(); in AddDragModeHdl()
1006 pModel->AddUndo(pModel->GetSdrUndoFactory().CreateUndoAttrObject(*pObj)); in AddDragModeHdl()
1013 pObj->SetMergedItemSetAndBroadcast(aNewSet); in AddDragModeHdl()
1022 aGradTransformer.GradToVec(aGradTransGradient, aGradTransVector, pObj); in AddDragModeHdl()
1034 pGradHdl->SetObj(pObj); in AddDragModeHdl()
1051 SdrObject* pObj = GetMarkedObjectByIndex(0); in AddDragModeHdl() local
1052 const SfxItemSet& rSet = pObj->GetMergedItemSet(); in AddDragModeHdl()
1064 aGradTransformer.GradToVec(aGradTransGradient, aGradTransVector, pObj); in AddDragModeHdl()
1076 pGradHdl->SetObj(pObj); in AddDragModeHdl()
1255 SdrObject* pObj=pM->GetMarkedSdrObj(); in CheckMarked() local
1257 SdrLayerID nLay=pObj->GetLayer(); in CheckMarked()
1258 sal_Bool bRaus=!pObj->IsInserted(); // Obj geloescht? in CheckMarked()
1259 if (!pObj->Is3DObj()) { in CheckMarked()
1260 bRaus=bRaus || pObj->GetPage()!=pPV->GetPage(); // Obj ploetzlich in anderer Page oder Group in CheckMarked()
1266 bRaus = !pObj->IsVisible(); // not visible objects can not be marked in CheckMarked()
1272 const SdrObjList* pOOL=pObj->GetObjList(); in CheckMarked()
1344 sal_Bool SdrMarkView::IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const in IsObjMarkable() argument
1346 if (pObj) in IsObjMarkable()
1348 if (pObj->IsMarkProtect() || in IsObjMarkable()
1349 (!bDesignMode && pObj->IsUnoObj())) in IsObjMarkable()
1356 return pPV!=NULL ? pPV->IsObjMarkable(pObj) : sal_True; in IsObjMarkable()
1384 SdrObject* pObj; in MarkObj() local
1389 sal_Bool bRet=PickObj(rPnt,(sal_uInt16)nTol,pObj,pPV,nOptions); in MarkObj()
1391 sal_Bool bUnmark=bToggle && IsObjMarked(pObj); in MarkObj()
1392 MarkObj(pObj,pPV,bUnmark); in MarkObj()
1531 SdrObject* pObj; in MarkNextObj() local
1535 pObj = pObjList->GetObj(pScene->RemapOrdNum(no)); in MarkNextObj()
1539 pObj = pObjList->GetObj(no); in MarkNextObj()
1542 if (CheckSingleSdrObjectHit(aPt,sal_uInt16(nTol),pObj,pPV,SDRSEARCH_TESTMARKABLE,0)) in MarkNextObj()
1544 if (TryToFindMarkedObject(pObj)==CONTAINER_ENTRY_NOTFOUND) { in MarkNextObj()
1545 pFndObj=pObj; in MarkNextObj()
1566 SdrObject* pObj; in MarkObj() local
1577 pObj=pObjList->GetObj(nO); in MarkObj()
1578 Rectangle aRect(pObj->GetCurrentBoundRect()); in MarkObj()
1581 if (IsObjMarkable(pObj,pPV)) in MarkObj()
1583 GetMarkedObjectListWriteAccess().InsertEntry(SdrMark(pObj,pPV)); in MarkObj()
1587 sal_uIntPtr nPos=TryToFindMarkedObject(pObj); in MarkObj()
1606 void SdrMarkView::MarkObj(SdrObject* pObj, SdrPageView* pPV, sal_Bool bUnmark, sal_Bool bImpNoSetMa… in MarkObj() argument
1608 if (pObj!=NULL && pPV!=NULL && IsObjMarkable(pObj, pPV)) { in MarkObj()
1612 GetMarkedObjectListWriteAccess().InsertEntry(SdrMark(pObj,pPV)); in MarkObj()
1616 sal_uIntPtr nPos=TryToFindMarkedObject(pObj); in MarkObj()
1633 sal_Bool SdrMarkView::IsObjMarked(SdrObject* pObj) const in IsObjMarked()
1637 sal_uIntPtr nPos=((SdrMarkView*)this)->TryToFindMarkedObject(pObj); in IsObjMarked()
1669 SdrObject* SdrMarkView::CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj… in CheckSingleSdrObjectHit() argument
1671 if(((nOptions & SDRSEARCH_IMPISMASTER) && pObj->IsNotVisibleAsMaster()) || (!pObj->IsVisible())) in CheckSingleSdrObjectHit()
1678 const bool bOLE(pObj->ISA(SdrOle2Obj)); in CheckSingleSdrObjectHit()
1679 const bool bTXT(pObj->ISA(SdrTextObj) && ((SdrTextObj*)pObj)->IsTextFrame()); in CheckSingleSdrObjectHit()
1681 Rectangle aRect(pObj->GetCurrentBoundRect()); in CheckSingleSdrObjectHit()
1686 if(bOLE || bTXT || pObj==((SdrObjEditView*)this)->GetTextEditObject()) in CheckSingleSdrObjectHit()
1698 if ((!bCheckIfMarkable || IsObjMarkable(pObj,pPV))) in CheckSingleSdrObjectHit()
1700 SdrObjList* pOL=pObj->GetSubList(); in CheckSingleSdrObjectHit()
1709 if ( pObj->ISA(SdrVirtObj) ) in CheckSingleSdrObjectHit()
1711 Point aOffset = static_cast<SdrVirtObj*>(pObj)->GetOffset(); in CheckSingleSdrObjectHit()
1719 if(!pMVisLay || pMVisLay->IsSet(pObj->GetLayer())) in CheckSingleSdrObjectHit()
1721 pRet = SdrObjectPrimitiveHit(*pObj, rPnt, nTol2, *pPV, &pPV->GetVisibleLayers(), false); in CheckSingleSdrObjectHit()
1729 pRet=pObj; in CheckSingleSdrObjectHit()
1750 SdrObject* pObj; in CheckSingleSdrObjectHit() local
1755 pObj = pOL->GetObj(pRemapScene->RemapOrdNum(nObjNum)); in CheckSingleSdrObjectHit()
1759 pObj = pOL->GetObj(nObjNum); in CheckSingleSdrObjectHit()
1762 pRet=CheckSingleSdrObjectHit(rPnt,nTol,pObj,pPV,nOptions,pMVisLay); in CheckSingleSdrObjectHit()
1763 if (pRet!=NULL) rpRootObj=pObj; in CheckSingleSdrObjectHit()
1794 SdrObject* pObj=NULL; in PickObj() local
1798 pObj=((SdrObjEditView*)this)->GetTextEditObject(); in PickObj()
1799 pHitObj=pObj; in PickObj()
1808 pObj=pM->GetMarkedSdrObj(); in PickObj()
1810 pHitObj=CheckSingleSdrObjectHit(aPt,nTol,pObj,pPV,nOptions,NULL); in PickObj()
1855 pHitObj=CheckSingleSdrObjectHit(aPt,nTol,pObjList,pPV,nTmpOptions,pMVisLay,pObj); in PickObj()
1861 if (ppRootObj!=NULL) *ppRootObj=pObj; in PickObj()
1862 if ((nOptions & SDRSEARCH_DEEP) !=0) pObj=pHitObj; in PickObj()
1864 if (!pObj->HasTextEdit() || pPV->GetLockedLayers().IsSet(pObj->GetLayer())) { in PickObj()
1865 pObj=NULL; in PickObj()
1868 if (pObj!=NULL && (nOptions & SDRSEARCH_TESTMACRO) !=0) { in PickObj()
1875 if (!pObj->HasMacro() || !pObj->IsMacroHit(aHitRec)) pObj=NULL; in PickObj()
1877 …if (pObj!=NULL && (nOptions & SDRSEARCH_WITHTEXT) !=0 && pObj->GetOutlinerParaObject()==NULL) pObj… in PickObj()
1878 if (pObj!=NULL && (nOptions & SDRSEARCH_TESTTEXTAREA) !=0) in PickObj()
1880 if(!SdrObjectPrimitiveHit(*pObj, aPt, 0, *pPV, 0, true)) in PickObj()
1882 pObj = 0; in PickObj()
1885 if (pObj!=NULL) { in PickObj()
1886 rpObj=pObj; in PickObj()
1911 SdrObject* pObj=pM->GetMarkedSdrObj(); in PickMarkedObj() local
1912 bFnd = 0 != CheckSingleSdrObjectHit(aPt,nTol,pObj,pPV,SDRSEARCH_TESTMARKABLE,0); in PickMarkedObj()
1914 rpObj=pObj; in PickMarkedObj()
1928 SdrObject* pObj=pM->GetMarkedSdrObj(); in PickMarkedObj() local
1929 Rectangle aRect(pObj->GetCurrentBoundRect()); in PickMarkedObj()
1936 rpObj=pObj; in PickMarkedObj()
1946 pBestObj=pObj; in PickMarkedObj()
1967 SdrObject* pObj=NULL; in PickSomething() local
1969 if (eRet==SDRHIT_NONE && PickObj(rPnt,sal_uInt16(nTol),pObj,pPV,SDRSEARCH_PICKMARKABLE)) { in PickSomething()
1971 Rectangle aBR(pObj->GetCurrentBoundRect()); in PickSomething()
2131 SdrObject* pObj=pM->GetMarkedSdrObj(); in EnterMarkedGroup() local
2132 if (pObj->IsGroupObject()) { in EnterMarkedGroup()
2133 if (pPV->EnterGroup(pObj)) { in EnterMarkedGroup()
2158 const SdrObject* pObj=GetMarkedObjectByIndex(0); in MarkListHasChanged() local
2159 if (pObj->GetObjInventor()==SdrInventor) { in MarkListHasChanged()
2160 sal_uInt16 nIdent=pObj->GetObjIdentifier(); in MarkListHasChanged()