Lines Matching refs:pObj
151 SdrObject* pObj = pOL->GetObj(nObjNum); in ImpDelLayerCheck() local
152 SdrObjList* pSubOL = pObj->GetSubList(); in ImpDelLayerCheck()
155 if(pSubOL && (pObj->ISA(SdrObjGroup) || pObj->ISA(E3dScene))) in ImpDelLayerCheck()
165 if(pObj->GetLayer() != nDelID) in ImpDelLayerCheck()
186 SdrObject* pObj = pOL->GetObj(nObjNum); in ImpDelLayerDelObjs() local
187 SdrObjList* pSubOL = pObj->GetSubList(); in ImpDelLayerDelObjs()
191 if(pSubOL && (pObj->ISA(SdrObjGroup) || pObj->ISA(E3dScene))) in ImpDelLayerDelObjs()
196 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj, true)); in ImpDelLayerDelObjs()
200 SdrObject::Free( pObj ); in ImpDelLayerDelObjs()
209 if(pObj->GetLayer() == nDelID) in ImpDelLayerDelObjs()
212 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj, true)); in ImpDelLayerDelObjs()
215 SdrObject::Free( pObj ); in ImpDelLayerDelObjs()
256 SdrObject* pObj = pPage->GetObj(nObjNum); in DeleteLayer() local
257 SdrObjList* pSubOL = pObj->GetSubList(); in DeleteLayer()
260 if(pSubOL && (pObj->ISA(SdrObjGroup) || pObj->ISA(E3dScene))) in DeleteLayer()
265 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj, true)); in DeleteLayer()
268 SdrObject::Free(pObj); in DeleteLayer()
277 if(pObj->GetLayer() == nDelID) in DeleteLayer()
280 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj, true)); in DeleteLayer()
283 SdrObject::Free(pObj); in DeleteLayer()
521 const SdrObject* pObj=GetMarkedObjectByIndex(0); in CheckPossibilities() local
523 sal_Bool bGroup=pObj->GetSubList()!=NULL; in CheckPossibilities()
524 sal_Bool bHasText=pObj->GetOutlinerParaObject()!=NULL; in CheckPossibilities()
552 const SdrObject* pObj = pM->GetMarkedSdrObj(); in CheckPossibilities() local
555 const SfxItemSet& rSet = pObj->GetMergedItemSet(); in CheckPossibilities()
575 const SdrObject* pObj=pM->GetMarkedSdrObj(); in CheckPossibilities() local
583 pObj->TakeObjInfo(aInfo); in CheckPossibilities()
584 sal_Bool bMovPrt=pObj->IsMoveProtect(); in CheckPossibilities()
585 sal_Bool bSizPrt=pObj->IsResizeProtect(); in CheckPossibilities()
620 if (!bUnGroupPossible) bUnGroupPossible=pObj->GetSubList()!=NULL; in CheckPossibilities()
630 bCombinePossible = ImpCanConvertForCombine(pObj); in CheckPossibilities()
634 if (!bDismantlePossible) bDismantlePossible = ImpCanDismantle(pObj, sal_False); in CheckPossibilities()
635 if (!bDismantleMakeLinesPossible) bDismantleMakeLinesPossible = ImpCanDismantle(pObj, sal_True); in CheckPossibilities()
642 const SdrGrafObj* pSdrGrafObj = dynamic_cast< const SdrGrafObj* >(pObj); in CheckPossibilities()
643 const SdrOle2Obj* pSdrOle2Obj = dynamic_cast< const SdrOle2Obj* >(pObj); in CheckPossibilities()
675 SdrObject* pObj=GetMarkedObjectByIndex(0); in CheckPossibilities() local
676 SdrEdgeObj* pEdge=PTR_CAST(SdrEdgeObj,pObj); in CheckPossibilities()
694 SdrObject* pObj=pM->GetMarkedSdrObj(); in ForceMarkedObjToAnotherPage() local
695 Rectangle aObjRect(pObj->GetCurrentBoundRect()); in ForceMarkedObjToAnotherPage()
708 pM->GetPageView()->GetObjList()->RemoveObject(pObj->GetOrdNum()); in ForceMarkedObjToAnotherPage()
710 pPV->GetObjList()->InsertObject(pObj,CONTAINER_APPEND,&aReason); in ForceMarkedObjToAnotherPage()
744 SdrObject* pObj = pM->GetMarkedSdrObj(); in DeleteMarkedList() local
747 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pObj ) ); in DeleteMarkedList()
750 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj)); in DeleteMarkedList()
763 SdrObject* pObj = pM->GetMarkedSdrObj(); in DeleteMarkedList() local
764 SdrObjList* pOL = pObj->GetObjList(); //#52680# in DeleteMarkedList()
765 const sal_uInt32 nOrdNum(pObj->GetOrdNumDirect()); in DeleteMarkedList()
767 bool bIs3D = dynamic_cast< E3dObject* >(pObj); in DeleteMarkedList()
771 aUpdaters.push_back(new E3DModifySceneSnapRectUpdater(pObj)); in DeleteMarkedList()
779 aRemoved3DObjects.push_back( pObj ); // may be needed later in DeleteMarkedList()
781 SdrObject::Free(pObj); in DeleteMarkedList()
991 sal_Bool SdrEditView::InsertObjectAtView(SdrObject* pObj, SdrPageView& rPV, sal_uIntPtr nOptions) in InsertObjectAtView() argument
997 SdrObject::Free( pObj ); // Layer gesperrt oder nicht sichtbar in InsertObjectAtView()
1000 pObj->NbcSetLayer(nLayer); in InsertObjectAtView()
1003 if (pDefaultStyleSheet!=NULL) pObj->NbcSetStyleSheet(pDefaultStyleSheet, sal_False); in InsertObjectAtView()
1004 pObj->SetMergedItemSet(aDefaultAttr); in InsertObjectAtView()
1006 if (!pObj->IsInserted()) { in InsertObjectAtView()
1009 rPV.GetObjList()->NbcInsertObject(pObj,CONTAINER_APPEND,&aReason); in InsertObjectAtView()
1011 rPV.GetObjList()->InsertObject(pObj,CONTAINER_APPEND,&aReason); in InsertObjectAtView()
1015 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoNewObject(*pObj)); in InsertObjectAtView()
1019 MarkObj(pObj,&rPV); in InsertObjectAtView()