Lines Matching refs:pObj
52 static void ImplUnmarkObject( SdrObject* pObj ) in ImplUnmarkObject() argument
54 SdrViewIter aIter( pObj ); in ImplUnmarkObject()
57 pView->MarkObj( pObj, pView->GetSdrPageView(), sal_True ); in ImplUnmarkObject()
241 pObj(&rNewObj) in SdrUndoObj()
273 if ( pObj ) in ImpTakeDescriptionStr()
274 GetDescriptionStringForObject( *pObj, nStrCacheID, rStr, bRepeat ); in ImpTakeDescriptionStr()
281 if(pObj && pObj->IsInserted() && pObj->GetPage() && pObj->GetModel()) in ImpShowPageOfThisObject()
285 aHint.SetObject(pObj); in ImpShowPageOfThisObject()
286 aHint.SetPage(pObj->GetPage()); in ImpShowPageOfThisObject()
288 pObj->GetModel()->Broadcast(aHint); in ImpShowPageOfThisObject()
329 sal_Bool bIs3DScene(bIsGroup && pObj->ISA(E3dScene)); in SdrUndoAttrObj()
334 pUndoGroup = new SdrUndoGroup(*pObj->GetModel()); in SdrUndoAttrObj()
351 pUndoSet = new SfxItemSet(pObj->GetMergedItemSet()); in SdrUndoAttrObj()
354 mxUndoStyleSheet = pObj->GetStyleSheet(); in SdrUndoAttrObj()
358 pTextUndo = pObj->GetOutlinerParaObject(); in SdrUndoAttrObj()
393 E3DModifySceneSnapRectUpdater aUpdater(pObj); in Undo()
394 sal_Bool bIs3DScene(pObj && pObj->ISA(E3dScene)); in Undo()
410 pRedoSet = new SfxItemSet(pObj->GetMergedItemSet()); in Undo()
413 mxRedoStyleSheet = pObj->GetStyleSheet(); in Undo()
418 pTextRedo = pObj->GetOutlinerParaObject(); in Undo()
427 mxRedoStyleSheet = pObj->GetStyleSheet(); in Undo()
430 if(pSheet && pObj->GetModel() && pObj->GetModel()->GetStyleSheetPool()) in Undo()
432 ensureStyleSheetInStyleSheetPool(*pObj->GetModel()->GetStyleSheetPool(), *pSheet); in Undo()
433 pObj->SetStyleSheet(pSheet, sal_True); in Undo()
441 sdr::properties::ItemChangeBroadcaster aItemChange(*pObj); in Undo()
449 const Rectangle aSnapRect = pObj->GetSnapRect(); in Undo()
454 if(pObj->ISA(SdrCaptionObj)) in Undo()
468 pObj->ClearMergedItem(nWhich); in Undo()
476 pObj->ClearMergedItem(); in Undo()
479 pObj->SetMergedItemSet(*pUndoSet); in Undo()
483 if(aSnapRect != pObj->GetSnapRect()) in Undo()
485 pObj->NbcSetSnapRect(aSnapRect); in Undo()
488 pObj->GetProperties().BroadcastItemChange(aItemChange); in Undo()
492 pObj->SetOutlinerParaObject(new OutlinerParaObject(*pTextUndo)); in Undo()
504 E3DModifySceneSnapRectUpdater aUpdater(pObj); in Redo()
505 sal_Bool bIs3DScene(pObj && pObj->ISA(E3dScene)); in Redo()
511 mxUndoStyleSheet = pObj->GetStyleSheet(); in Redo()
514 if(pSheet && pObj->GetModel() && pObj->GetModel()->GetStyleSheetPool()) in Redo()
516 ensureStyleSheetInStyleSheetPool(*pObj->GetModel()->GetStyleSheetPool(), *pSheet); in Redo()
517 pObj->SetStyleSheet(pSheet, sal_True); in Redo()
525 sdr::properties::ItemChangeBroadcaster aItemChange(*pObj); in Redo()
528 const Rectangle aSnapRect = pObj->GetSnapRect(); in Redo()
533 if(pObj->ISA(SdrCaptionObj)) in Redo()
547 pObj->ClearMergedItem(nWhich); in Redo()
555 pObj->ClearMergedItem(); in Redo()
558 pObj->SetMergedItemSet(*pRedoSet); in Redo()
562 if(aSnapRect != pObj->GetSnapRect()) in Redo()
564 pObj->NbcSetSnapRect(aSnapRect); in Redo()
567 pObj->GetProperties().BroadcastItemChange(aItemChange); in Redo()
572 pObj->SetOutlinerParaObject(new OutlinerParaObject(*pTextRedo)); in Redo()
637 pObj->Move(Size(-aDistance.Width(),-aDistance.Height())); in Undo()
642 pObj->Move(Size(aDistance.Width(),aDistance.Height())); in Redo()
685 pUndoGroup=new SdrUndoGroup(*pObj->GetModel()); in SdrUndoGeoObj()
691 pUndoGeo=pObj->GetGeoData(); in SdrUndoGeoObj()
713 pObj->ActionChanged(); in Undo()
718 pRedoGeo=pObj->GetGeoData(); in Undo()
719 pObj->SetGeoData(*pUndoGeo); in Undo()
731 pObj->ActionChanged(); in Redo()
736 pUndoGeo=pObj->GetGeoData(); in Redo()
737 pObj->SetGeoData(*pRedoGeo); in Redo()
759 pObjList=pObj->GetObjList(); in SdrUndoObjList()
761 nOrdNum=pObj->GetOrdNumDirect(); in SdrUndoObjList()
763 nOrdNum=pObj->GetOrdNum(); in SdrUndoObjList()
769 if (pObj!=NULL && IsOwner()) in ~SdrUndoObjList()
775 SdrObject::Free( pObj ); in ~SdrUndoObjList()
791 DBG_ASSERT(!pObj->IsInserted(),"UndoRemoveObj: pObj ist bereits Inserted"); in Undo()
792 if (!pObj->IsInserted()) in Undo()
808 pObjList->InsertObject(pObj,nOrdNum,&aReason); in Undo()
813 pObj->NbcSetAnchorPos(aOwnerAnchorPos); in Undo()
820 DBG_ASSERT(pObj->IsInserted(),"RedoRemoveObj: pObj ist nicht Inserted"); in Redo()
821 if (pObj->IsInserted()) in Redo()
823 ImplUnmarkObject( pObj ); in Redo()
824 E3DModifySceneSnapRectUpdater aUpdater(pObj); in Redo()
839 DBG_ASSERT(pObj->IsInserted(),"UndoInsertObj: pObj ist nicht Inserted"); in Undo()
840 if (pObj->IsInserted()) in Undo()
842 ImplUnmarkObject( pObj ); in Undo()
848 DBG_ASSERT(pChkObj==pObj,"UndoInsertObj: RemoveObjNum!=pObj"); in Undo()
854 DBG_ASSERT(!pObj->IsInserted(),"RedoInsertObj: pObj ist bereits Inserted"); in Redo()
855 if (!pObj->IsInserted()) in Redo()
865 aAnchorPos = pObj->GetAnchorPos(); in Redo()
870 pObjList->InsertObject(pObj,nOrdNum,&aReason); in Redo()
875 pObj->NbcSetAnchorPos( aAnchorPos ); in Redo()
888 SdrGrafObj* pSdrGrafObj = dynamic_cast< SdrGrafObj* >(pObj); in TryToFlushGraphicContent()
998 pObjList=pObj->GetObjList(); in SdrUndoReplaceObj()
1000 nOrdNum=pObj->GetOrdNumDirect(); in SdrUndoReplaceObj()
1002 nOrdNum=pObj->GetOrdNum(); in SdrUndoReplaceObj()
1008 if (pObj!=NULL && IsOldOwner()) in ~SdrUndoReplaceObj()
1014 SdrObject::Free( pObj ); in ~SdrUndoReplaceObj()
1033 DBG_ASSERT(!pObj->IsInserted(),"SdrUndoReplaceObj::Undo(): Altes Objekt ist bereits inserted!"); in Undo()
1039 pObjList->ReplaceObject(pObj,nOrdNum); in Undo()
1052 DBG_ASSERT(pObj->IsInserted(),"SdrUndoReplaceObj::Redo(): Altes Objekt ist nicht inserted!"); in Redo()
1056 ImplUnmarkObject( pObj ); in Redo()
1101 pObj->SetLayer(maOldLayer); in Undo()
1106 pObj->SetLayer(maNewLayer); in Redo()
1124 SdrObjList* pOL=pObj->GetObjList(); in Undo()
1134 SdrObjList* pOL=pObj->GetObjList(); in Redo()
1181 SdrText* pText = static_cast< SdrTextObj*>( pObj )->getText(mnText); in AfterSetText()
1202 SdrText* pText = static_cast< SdrTextObj*>( pObj )->getText(mnText); in Undo()
1204 static_cast< SdrTextObj* >( pObj )->NbcSetOutlinerParaObjectForText( pText1, pText ); in Undo()
1206 pObj->SetEmptyPresObj( bEmptyPresObj ); in Undo()
1207 pObj->ActionChanged(); in Undo()
1212 pObj->BroadcastObjectChange(); in Undo()
1223 SdrText* pText = static_cast< SdrTextObj*>( pObj )->getText(mnText); in Redo()
1225 static_cast< SdrTextObj* >( pObj )->NbcSetOutlinerParaObjectForText( pText1, pText ); in Redo()
1227 pObj->ActionChanged(); in Redo()
1232 pObj->BroadcastObjectChange(); in Redo()
1317 pObj->SetName( msOldStr ); in Undo()
1322 pObj->SetTitle( msOldStr ); in Undo()
1327 pObj->SetDescription( msOldStr ); in Undo()
1339 pObj->SetName( msNewStr ); in Redo()
1344 pObj->SetTitle( msNewStr ); in Redo()
1349 pObj->SetDescription( msNewStr ); in Redo()