Lines Matching refs:pObj

55 static void ImplUnmarkObject( SdrObject* pObj )  in ImplUnmarkObject()  argument
57 SdrViewIter aIter( pObj ); in ImplUnmarkObject()
60 pView->MarkObj( pObj, pView->GetSdrPageView(), sal_True ); in ImplUnmarkObject()
244 pObj(&rNewObj) in SdrUndoObj()
276 if ( pObj ) in ImpTakeDescriptionStr()
277 GetDescriptionStringForObject( *pObj, nStrCacheID, rStr, bRepeat ); in ImpTakeDescriptionStr()
284 if(pObj && pObj->IsInserted() && pObj->GetPage() && pObj->GetModel()) in ImpShowPageOfThisObject()
288 aHint.SetObject(pObj); in ImpShowPageOfThisObject()
289 aHint.SetPage(pObj->GetPage()); in ImpShowPageOfThisObject()
291 pObj->GetModel()->Broadcast(aHint); in ImpShowPageOfThisObject()
332 sal_Bool bIs3DScene(bIsGroup && pObj->ISA(E3dScene)); in SdrUndoAttrObj()
337 pUndoGroup = new SdrUndoGroup(*pObj->GetModel()); in SdrUndoAttrObj()
354 pUndoSet = new SfxItemSet(pObj->GetMergedItemSet()); in SdrUndoAttrObj()
357 mxUndoStyleSheet = pObj->GetStyleSheet(); in SdrUndoAttrObj()
361 pTextUndo = pObj->GetOutlinerParaObject(); in SdrUndoAttrObj()
396 E3DModifySceneSnapRectUpdater aUpdater(pObj); in Undo()
397 sal_Bool bIs3DScene(pObj && pObj->ISA(E3dScene)); in Undo()
413 pRedoSet = new SfxItemSet(pObj->GetMergedItemSet()); in Undo()
416 mxRedoStyleSheet = pObj->GetStyleSheet(); in Undo()
421 pTextRedo = pObj->GetOutlinerParaObject(); in Undo()
430 mxRedoStyleSheet = pObj->GetStyleSheet(); in Undo()
433 if(pSheet && pObj->GetModel() && pObj->GetModel()->GetStyleSheetPool()) in Undo()
435 ensureStyleSheetInStyleSheetPool(*pObj->GetModel()->GetStyleSheetPool(), *pSheet); in Undo()
436 pObj->SetStyleSheet(pSheet, sal_True); in Undo()
444 sdr::properties::ItemChangeBroadcaster aItemChange(*pObj); in Undo()
452 const Rectangle aSnapRect = pObj->GetSnapRect(); in Undo()
457 if(pObj->ISA(SdrCaptionObj)) in Undo()
471 pObj->ClearMergedItem(nWhich); in Undo()
479 pObj->ClearMergedItem(); in Undo()
482 pObj->SetMergedItemSet(*pUndoSet); in Undo()
486 if(aSnapRect != pObj->GetSnapRect()) in Undo()
488 pObj->NbcSetSnapRect(aSnapRect); in Undo()
491 pObj->GetProperties().BroadcastItemChange(aItemChange); in Undo()
495 pObj->SetOutlinerParaObject(new OutlinerParaObject(*pTextUndo)); in Undo()
507 E3DModifySceneSnapRectUpdater aUpdater(pObj); in Redo()
508 sal_Bool bIs3DScene(pObj && pObj->ISA(E3dScene)); in Redo()
514 mxUndoStyleSheet = pObj->GetStyleSheet(); in Redo()
517 if(pSheet && pObj->GetModel() && pObj->GetModel()->GetStyleSheetPool()) in Redo()
519 ensureStyleSheetInStyleSheetPool(*pObj->GetModel()->GetStyleSheetPool(), *pSheet); in Redo()
520 pObj->SetStyleSheet(pSheet, sal_True); in Redo()
528 sdr::properties::ItemChangeBroadcaster aItemChange(*pObj); in Redo()
531 const Rectangle aSnapRect = pObj->GetSnapRect(); in Redo()
536 if(pObj->ISA(SdrCaptionObj)) in Redo()
550 pObj->ClearMergedItem(nWhich); in Redo()
558 pObj->ClearMergedItem(); in Redo()
561 pObj->SetMergedItemSet(*pRedoSet); in Redo()
565 if(aSnapRect != pObj->GetSnapRect()) in Redo()
567 pObj->NbcSetSnapRect(aSnapRect); in Redo()
570 pObj->GetProperties().BroadcastItemChange(aItemChange); in Redo()
575 pObj->SetOutlinerParaObject(new OutlinerParaObject(*pTextRedo)); in Redo()
640 pObj->Move(Size(-aDistance.Width(),-aDistance.Height())); in Undo()
645 pObj->Move(Size(aDistance.Width(),aDistance.Height())); in Redo()
688 pUndoGroup=new SdrUndoGroup(*pObj->GetModel()); in SdrUndoGeoObj()
694 pUndoGeo=pObj->GetGeoData(); in SdrUndoGeoObj()
716 pObj->ActionChanged(); in Undo()
721 pRedoGeo=pObj->GetGeoData(); in Undo()
722 pObj->SetGeoData(*pUndoGeo); in Undo()
734 pObj->ActionChanged(); in Redo()
739 pUndoGeo=pObj->GetGeoData(); in Redo()
740 pObj->SetGeoData(*pRedoGeo); in Redo()
762 pObjList=pObj->GetObjList(); in SdrUndoObjList()
764 nOrdNum=pObj->GetOrdNumDirect(); in SdrUndoObjList()
766 nOrdNum=pObj->GetOrdNum(); in SdrUndoObjList()
772 if (pObj!=NULL && IsOwner()) in ~SdrUndoObjList()
778 SdrObject::Free( pObj ); in ~SdrUndoObjList()
794 DBG_ASSERT(!pObj->IsInserted(),"UndoRemoveObj: pObj ist bereits Inserted"); in Undo()
795 if (!pObj->IsInserted()) in Undo()
811 pObjList->InsertObject(pObj,nOrdNum,&aReason); in Undo()
816 pObj->NbcSetAnchorPos(aOwnerAnchorPos); in Undo()
823 DBG_ASSERT(pObj->IsInserted(),"RedoRemoveObj: pObj ist nicht Inserted"); in Redo()
824 if (pObj->IsInserted()) in Redo()
826 ImplUnmarkObject( pObj ); in Redo()
827 E3DModifySceneSnapRectUpdater aUpdater(pObj); in Redo()
842 DBG_ASSERT(pObj->IsInserted(),"UndoInsertObj: pObj ist nicht Inserted"); in Undo()
843 if (pObj->IsInserted()) in Undo()
845 ImplUnmarkObject( pObj ); in Undo()
851 DBG_ASSERT(pChkObj==pObj,"UndoInsertObj: RemoveObjNum!=pObj"); in Undo()
857 DBG_ASSERT(!pObj->IsInserted(),"RedoInsertObj: pObj ist bereits Inserted"); in Redo()
858 if (!pObj->IsInserted()) in Redo()
868 aAnchorPos = pObj->GetAnchorPos(); in Redo()
873 pObjList->InsertObject(pObj,nOrdNum,&aReason); in Redo()
878 pObj->NbcSetAnchorPos( aAnchorPos ); in Redo()
891 SdrGrafObj* pSdrGrafObj = dynamic_cast< SdrGrafObj* >(pObj); in TryToFlushGraphicContent()
1001 pObjList=pObj->GetObjList(); in SdrUndoReplaceObj()
1003 nOrdNum=pObj->GetOrdNumDirect(); in SdrUndoReplaceObj()
1005 nOrdNum=pObj->GetOrdNum(); in SdrUndoReplaceObj()
1011 if (pObj!=NULL && IsOldOwner()) in ~SdrUndoReplaceObj()
1017 SdrObject::Free( pObj ); in ~SdrUndoReplaceObj()
1036 DBG_ASSERT(!pObj->IsInserted(),"SdrUndoReplaceObj::Undo(): Altes Objekt ist bereits inserted!"); in Undo()
1042 pObjList->ReplaceObject(pObj,nOrdNum); in Undo()
1055 DBG_ASSERT(pObj->IsInserted(),"SdrUndoReplaceObj::Redo(): Altes Objekt ist nicht inserted!"); in Redo()
1059 ImplUnmarkObject( pObj ); in Redo()
1104 pObj->SetLayer(maOldLayer); in Undo()
1109 pObj->SetLayer(maNewLayer); in Redo()
1127 SdrObjList* pOL=pObj->GetObjList(); in Undo()
1137 SdrObjList* pOL=pObj->GetObjList(); in Redo()
1184 SdrText* pText = static_cast< SdrTextObj*>( pObj )->getText(mnText); in AfterSetText()
1194 SdrTextObj* pTarget = dynamic_cast< SdrTextObj* >(pObj); in Undo()
1244 SdrTextObj* pTarget = dynamic_cast< SdrTextObj* >(pObj); in Redo()
1363 pObj->SetName( msOldStr ); in Undo()
1368 pObj->SetTitle( msOldStr ); in Undo()
1373 pObj->SetDescription( msOldStr ); in Undo()
1385 pObj->SetName( msNewStr ); in Redo()
1390 pObj->SetTitle( msNewStr ); in Redo()
1395 pObj->SetDescription( msNewStr ); in Redo()