Lines Matching refs:pObj
251 SdrObject* pObj = maList.back(); in Clear() local
256 pObj->GetViewContact().flushViewObjectContacts(true); in Clear()
263 SdrHint aHint(*pObj); in Clear()
270 SdrObject::Free( pObj ); in Clear()
290 SdrObject* pObj=GetObj(no); in SetPage() local
291 pObj->SetPage(pPage); in SetPage()
307 SdrObject* pObj=GetObj(i); in SetModel() local
308 pObj->SetModel(pModel); in SetModel()
317 SdrObject* pObj=GetObj(no); in RecalcObjOrdNums() local
318 pObj->SetOrdNum(no); in RecalcObjOrdNums()
330 SdrObject* pObj=GetObj(i); in RecalcRects() local
332 aOutRect=pObj->GetCurrentBoundRect(); in RecalcRects()
333 aSnapRect=pObj->GetSnapRect(); in RecalcRects()
335 aOutRect.Union(pObj->GetCurrentBoundRect()); in RecalcRects()
336 aSnapRect.Union(pObj->GetSnapRect()); in RecalcRects()
357 void SdrObjList::NbcInsertObject(SdrObject* pObj, sal_uIntPtr nPos, const SdrInsertReason* /*pReaso… in NbcInsertObject() argument
359 DBG_ASSERT(pObj!=NULL,"SdrObjList::NbcInsertObject(NULL)"); in NbcInsertObject()
360 if (pObj!=NULL) { in NbcInsertObject()
361 DBG_ASSERT(!pObj->IsInserted(),"ZObjekt hat bereits Inserted-Status"); in NbcInsertObject()
364 InsertObjectIntoContainer(*pObj,nPos); in NbcInsertObject()
367 pObj->SetOrdNum(nPos); in NbcInsertObject()
368 pObj->SetObjList(this); in NbcInsertObject()
369 pObj->SetPage(pPage); in NbcInsertObject()
373 impChildInserted(*pObj); in NbcInsertObject()
376 aOutRect.Union(pObj->GetCurrentBoundRect()); in NbcInsertObject()
377 aSnapRect.Union(pObj->GetSnapRect()); in NbcInsertObject()
379 pObj->SetInserted(sal_True); // Ruft u.a. den UserCall in NbcInsertObject()
383 void SdrObjList::InsertObject(SdrObject* pObj, sal_uIntPtr nPos, const SdrInsertReason* pReason) in InsertObject() argument
385 DBG_ASSERT(pObj!=NULL,"SdrObjList::InsertObject(NULL)"); in InsertObject()
387 if(pObj) in InsertObject()
392 const Point& rAnchorPos = pObj->GetAnchorPos(); in InsertObject()
394 pObj->NbcSetAnchorPos(Point()); in InsertObject()
398 NbcInsertObject(pObj, nPos, pReason); in InsertObject()
413 if(pObj->GetPage()) in InsertObject()
415 SdrHint aHint(*pObj); in InsertObject()
435 SdrObject* pObj=maList[nObjNum]; in NbcRemoveObject() local
439 pObj->GetViewContact().flushViewObjectContacts(true); in NbcRemoveObject()
441 DBG_ASSERT(pObj!=NULL,"Object zum Removen nicht gefunden"); in NbcRemoveObject()
442 if (pObj!=NULL) { in NbcRemoveObject()
443 DBG_ASSERT(pObj->IsInserted(),"ZObjekt hat keinen Inserted-Status"); in NbcRemoveObject()
444 pObj->SetInserted(sal_False); // Ruft u.a. den UserCall in NbcRemoveObject()
445 pObj->SetObjList(NULL); in NbcRemoveObject()
446 pObj->SetPage(NULL); in NbcRemoveObject()
454 return pObj; in NbcRemoveObject()
466 SdrObject* pObj=maList[nObjNum]; in RemoveObject() local
469 DBG_ASSERT(pObj!=NULL,"Object zum Removen nicht gefunden"); in RemoveObject()
470 if(pObj) in RemoveObject()
473 pObj->GetViewContact().flushViewObjectContacts(true); in RemoveObject()
475 DBG_ASSERT(pObj->IsInserted(),"ZObjekt hat keinen Inserted-Status"); in RemoveObject()
478 if (pObj->GetPage()!=NULL) { in RemoveObject()
479 SdrHint aHint(*pObj); in RemoveObject()
485 pObj->SetInserted(sal_False); // Ruft u.a. den UserCall in RemoveObject()
486 pObj->SetObjList(NULL); in RemoveObject()
487 pObj->SetPage(NULL); in RemoveObject()
502 return pObj; in RemoveObject()
514 SdrObject* pObj=maList[nObjNum]; in NbcReplaceObject() local
515 DBG_ASSERT(pObj!=NULL,"SdrObjList::ReplaceObject: Object zum Removen nicht gefunden"); in NbcReplaceObject()
516 if (pObj!=NULL) { in NbcReplaceObject()
517 DBG_ASSERT(pObj->IsInserted(),"SdrObjList::ReplaceObject: ZObjekt hat keinen Inserted-Status"); in NbcReplaceObject()
518 pObj->SetInserted(sal_False); in NbcReplaceObject()
519 pObj->SetObjList(NULL); in NbcReplaceObject()
520 pObj->SetPage(NULL); in NbcReplaceObject()
524 pObj->GetViewContact().flushViewObjectContacts(true); in NbcReplaceObject()
537 return pObj; in NbcReplaceObject()
553 SdrObject* pObj=maList[nObjNum]; in ReplaceObject() local
554 DBG_ASSERT(pObj!=NULL,"SdrObjList::ReplaceObject: Object zum Removen nicht gefunden"); in ReplaceObject()
555 if (pObj!=NULL) { in ReplaceObject()
556 DBG_ASSERT(pObj->IsInserted(),"SdrObjList::ReplaceObject: ZObjekt hat keinen Inserted-Status"); in ReplaceObject()
559 if (pObj->GetPage()!=NULL) { in ReplaceObject()
560 SdrHint aHint(*pObj); in ReplaceObject()
565 pObj->SetInserted(sal_False); in ReplaceObject()
566 pObj->SetObjList(NULL); in ReplaceObject()
567 pObj->SetPage(NULL); in ReplaceObject()
571 pObj->GetViewContact().flushViewObjectContacts(true); in ReplaceObject()
593 return pObj; in ReplaceObject()
605 SdrObject* pObj=maList[nOldObjNum]; in NbcSetObjectOrdNum() local
606 if (nOldObjNum==nNewObjNum) return pObj; in NbcSetObjectOrdNum()
607 DBG_ASSERT(pObj!=NULL,"SdrObjList::NbcSetObjectOrdNum: Object nicht gefunden"); in NbcSetObjectOrdNum()
608 if (pObj!=NULL) { in NbcSetObjectOrdNum()
609 …DBG_ASSERT(pObj->IsInserted(),"SdrObjList::NbcSetObjectOrdNum: ZObjekt hat keinen Inserted-Status"… in NbcSetObjectOrdNum()
612 InsertObjectIntoContainer(*pObj,nNewObjNum); in NbcSetObjectOrdNum()
616 pObj->ActionChanged(); in NbcSetObjectOrdNum()
618 pObj->SetOrdNum(nNewObjNum); in NbcSetObjectOrdNum()
621 return pObj; in NbcSetObjectOrdNum()
633 SdrObject* pObj=maList[nOldObjNum]; in SetObjectOrdNum() local
634 if (nOldObjNum==nNewObjNum) return pObj; in SetObjectOrdNum()
635 DBG_ASSERT(pObj!=NULL,"SdrObjList::SetObjectOrdNum: Object nicht gefunden"); in SetObjectOrdNum()
636 if (pObj!=NULL) { in SetObjectOrdNum()
637 DBG_ASSERT(pObj->IsInserted(),"SdrObjList::SetObjectOrdNum: ZObjekt hat keinen Inserted-Status"); in SetObjectOrdNum()
639 InsertObjectIntoContainer(*pObj,nNewObjNum); in SetObjectOrdNum()
643 pObj->ActionChanged(); in SetObjectOrdNum()
645 pObj->SetOrdNum(nNewObjNum); in SetObjectOrdNum()
650 if (pObj->GetPage()!=NULL) pModel->Broadcast(SdrHint(*pObj)); in SetObjectOrdNum()
654 return pObj; in SetObjectOrdNum()
699 SdrObject* pObj = GetObj(nNum); in NbcReformatAllTextObjects() local
701 pObj->GetObjInventor() == SdrInventor && in NbcReformatAllTextObjects()
702 pObj->GetObjIdentifier() == OBJ_OLE2 && in NbcReformatAllTextObjects()
703 !( (SdrOle2Obj*) pObj )->IsEmpty() ) in NbcReformatAllTextObjects()
711 pObj->NbcReformatText(); in NbcReformatAllTextObjects()
798 SdrObject* pObj=GetObj(--nObjNum); in ForceSwapInObjects() local
799 SdrGrafObj* pGrafObj=PTR_CAST(SdrGrafObj,pObj); in ForceSwapInObjects()
803 SdrObjList* pOL=pObj->GetSubList(); in ForceSwapInObjects()
814 SdrObject* pObj=GetObj(--nObjNum); in ForceSwapOutObjects() local
815 SdrGrafObj* pGrafObj=PTR_CAST(SdrGrafObj,pObj); in ForceSwapOutObjects()
819 SdrObjList* pOL=pObj->GetSubList(); in ForceSwapOutObjects()
854 SdrObject* pObj; in UnGroupObj() local
858 pObj = pSrcLst->RemoveObject(0); in UnGroupObj()
860 InsertObject(pObj, nInsertPos, &aReason); in UnGroupObj()
1838 SdrObject* pObj = aIter.Next(); in SetInserted() local
1839 if ( pObj->ISA(SdrOle2Obj) ) in SetInserted()
1842 ( (SdrOle2Obj*) pObj)->Connect(); in SetInserted()
1844 ( (SdrOle2Obj*) pObj)->Disconnect(); in SetInserted()
1870 SfxStyleSheet* SdrPage::GetTextStyleSheetForObject( SdrObject* pObj ) const in GetTextStyleSheetForObject()
1872 return pObj->GetStyleSheet(); in GetTextStyleSheetForObject()