Lines Matching refs:pObj
114 SdrObject* pObj=pM->GetMarkedSdrObj(); in MovMarkedToTop() local
115 SdrObjList* pOL=pObj->GetObjList(); in MovMarkedToTop()
121 sal_uIntPtr nNowPos=pObj->GetOrdNumDirect(); in MovMarkedToTop()
122 const Rectangle& rBR=pObj->GetCurrentBoundRect(); in MovMarkedToTop()
124 SdrObject* pMaxObj=GetMaxToTopObj(pObj); in MovMarkedToTop()
165 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoObjectOrdNum(*pObj,nNowPos,nNewPos)); in MovMarkedToTop()
166 ObjOrderChanged(pObj,nNowPos,nNewPos); in MovMarkedToTop()
202 SdrObject* pObj=pM->GetMarkedSdrObj(); in MovMarkedToBtm() local
203 SdrObjList* pOL=pObj->GetObjList(); in MovMarkedToBtm()
209 sal_uIntPtr nNowPos=pObj->GetOrdNumDirect(); in MovMarkedToBtm()
210 const Rectangle& rBR=pObj->GetCurrentBoundRect(); in MovMarkedToBtm()
212 SdrObject* pMaxObj=GetMaxToBtmObj(pObj); in MovMarkedToBtm()
254 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoObjectOrdNum(*pObj,nNowPos,nNewPos)); in MovMarkedToBtm()
255 ObjOrderChanged(pObj,nNowPos,nNewPos); in MovMarkedToBtm()
314 SdrObject* pObj=pM->GetMarkedSdrObj(); in PutMarkedInFrontOfObj() local
315 if (pObj!=pRefObj) in PutMarkedInFrontOfObj()
317 SdrObjList* pOL=pObj->GetObjList(); in PutMarkedInFrontOfObj()
323 sal_uIntPtr nNowPos=pObj->GetOrdNumDirect(); in PutMarkedInFrontOfObj()
324 SdrObject* pMaxObj=GetMaxToTopObj(pObj); in PutMarkedInFrontOfObj()
337 if (pRefObj->GetObjList()==pObj->GetObjList()) in PutMarkedInFrontOfObj()
355 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoObjectOrdNum(*pObj,nNowPos,nNewPos)); in PutMarkedInFrontOfObj()
356 ObjOrderChanged(pObj,nNowPos,nNewPos); in PutMarkedInFrontOfObj()
413 SdrObject* pObj=pM->GetMarkedSdrObj(); in PutMarkedBehindObj() local
414 if (pObj!=pRefObj) { in PutMarkedBehindObj()
415 SdrObjList* pOL=pObj->GetObjList(); in PutMarkedBehindObj()
420 sal_uIntPtr nNowPos=pObj->GetOrdNumDirect(); in PutMarkedBehindObj()
421 SdrObject* pMinObj=GetMaxToBtmObj(pObj); in PutMarkedBehindObj()
428 if (pRefObj->GetObjList()==pObj->GetObjList()) { in PutMarkedBehindObj()
440 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoObjectOrdNum(*pObj,nNowPos,nNewPos)); in PutMarkedBehindObj()
441 ObjOrderChanged(pObj,nNowPos,nNewPos); in PutMarkedBehindObj()
514 SdrObject* pObj=GetMarkedObjectByIndex(0); in ImpCheckToTopBtmPossible() local
515 SdrObjList* pOL=pObj->GetObjList(); in ImpCheckToTopBtmPossible()
518 sal_uIntPtr nObjNum=pObj->GetOrdNum(); in ImpCheckToTopBtmPossible()
519 SdrObject* pRestrict=GetMaxToTopObj(pObj); in ImpCheckToTopBtmPossible()
524 pRestrict=GetMaxToBtmObj(pObj); in ImpCheckToTopBtmPossible()
536 SdrObject* pObj=GetMarkedObjectByIndex(nm); in ImpCheckToTopBtmPossible() local
537 SdrObjList* pOL=pObj->GetObjList(); in ImpCheckToTopBtmPossible()
542 sal_uIntPtr nPos=pObj->GetOrdNum(); in ImpCheckToTopBtmPossible()
552 SdrObject* pObj=GetMarkedObjectByIndex(nm); in ImpCheckToTopBtmPossible() local
553 SdrObjList* pOL=pObj->GetObjList(); in ImpCheckToTopBtmPossible()
558 sal_uIntPtr nPos=pObj->GetOrdNum(); in ImpCheckToTopBtmPossible()
605 sal_Bool SdrEditView::ImpCanConvertForCombine1(const SdrObject* pObj) const in ImpCanConvertForCombine1()
610 const SdrPathObj* pPath = PTR_CAST(SdrPathObj,pObj); in ImpCanConvertForCombine1()
618 pObj->TakeObjInfo(aInfo); in ImpCanConvertForCombine1()
623 sal_Bool SdrEditView::ImpCanConvertForCombine(const SdrObject* pObj) const in ImpCanConvertForCombine()
625 SdrObjList* pOL = pObj->GetSubList(); in ImpCanConvertForCombine()
627 if(pOL && !pObj->Is3DObj()) in ImpCanConvertForCombine()
644 if(!ImpCanConvertForCombine1(pObj)) in ImpCanConvertForCombine()
653 basegfx::B2DPolyPolygon SdrEditView::ImpGetPolyPolygon1(const SdrObject* pObj, sal_Bool bCombine) c… in ImpGetPolyPolygon1() argument
656 SdrPathObj* pPath = PTR_CAST(SdrPathObj, pObj); in ImpGetPolyPolygon1()
658 if(bCombine && pPath && !pObj->GetOutlinerParaObject()) in ImpGetPolyPolygon1()
664 SdrObject* pConvObj = pObj->ConvertToPolyObj(bCombine, sal_False); in ImpGetPolyPolygon1()
702 basegfx::B2DPolyPolygon SdrEditView::ImpGetPolyPolygon(const SdrObject* pObj, sal_Bool bCombine) co… in ImpGetPolyPolygon() argument
704 SdrObjList* pOL = pObj->GetSubList(); in ImpGetPolyPolygon()
706 if(pOL && !pObj->Is3DObj()) in ImpGetPolyPolygon()
721 return ImpGetPolyPolygon1(pObj, bCombine); in ImpGetPolyPolygon()
1055 SdrObject* pObj = pM->GetMarkedSdrObj(); in MergeMarkedObjects() local
1057 if(ImpCanConvertForCombine(pObj)) in MergeMarkedObjects()
1060 pAttrObj = pObj; in MergeMarkedObjects()
1062 nInsPos = pObj->GetOrdNum() + 1; in MergeMarkedObjects()
1064 pInsOL = pObj->GetObjList(); in MergeMarkedObjects()
1068 SdrObjListIter aIter(*pObj, IM_DEEPWITHGROUPS); in MergeMarkedObjects()
1124 aRemove.InsertEntry(SdrMark(pObj, pM->GetPageView())); in MergeMarkedObjects()
1262 SdrObject* pObj = pM->GetMarkedSdrObj(); in CombineMarkedObjects() local
1263 SdrObjList* pThisOL = pObj->GetObjList(); in CombineMarkedObjects()
1270 if(ImpCanConvertForCombine(pObj)) in CombineMarkedObjects()
1273 pAttrObj = pObj; in CombineMarkedObjects()
1278 …basegfx::B2DPolyPolygon aTmpPoly(basegfx::tools::simplifyCurveSegments(ImpGetPolyPolygon(pObj, sal… in CombineMarkedObjects()
1283 nInsPos = pObj->GetOrdNum() + 1L; in CombineMarkedObjects()
1285 pInsOL = pObj->GetObjList(); in CombineMarkedObjects()
1288 aRemoveMerker.InsertEntry(SdrMark(pObj, pM->GetPageView())); in CombineMarkedObjects()
1420 sal_Bool SdrEditView::ImpCanDismantle(const SdrObject* pObj, sal_Bool bMakeLines) const in ImpCanDismantle() argument
1424 SdrObjList* pOL = pObj->GetSubList(); in ImpCanDismantle()
1461 const SdrPathObj* pPath = PTR_CAST(SdrPathObj, pObj); in ImpCanDismantle()
1462 const SdrObjCustomShape* pCustomShape = PTR_CAST(SdrObjCustomShape, pObj); in ImpCanDismantle()
1473 pObj->TakeObjInfo(aInfo); in ImpCanDismantle()
1498 void SdrEditView::ImpDismantleOneObject(const SdrObject* pObj, SdrObjList& rOL, sal_uIntPtr& rPos, … in ImpDismantleOneObject() argument
1500 const SdrPathObj* pSrcPath = PTR_CAST(SdrPathObj, pObj); in ImpDismantleOneObject()
1501 const SdrObjCustomShape* pCustomShape = PTR_CAST(SdrObjCustomShape, pObj); in ImpDismantleOneObject()
1672 SdrObject* pObj=pM->GetMarkedSdrObj(); in DismantleMarkedObjects() local
1674 SdrObjList* pOL=pObj->GetObjList(); in DismantleMarkedObjects()
1675 if (pOL!=pOL0) { pOL0=pOL; pObj->GetOrdNum(); } // sicherstellen, dass OrdNums stimmen! in DismantleMarkedObjects()
1676 if (ImpCanDismantle(pObj,bMakeLines)) { in DismantleMarkedObjects()
1677 aRemoveMerker.InsertEntry(SdrMark(pObj,pM->GetPageView())); in DismantleMarkedObjects()
1678 sal_uIntPtr nPos0=pObj->GetOrdNumDirect(); in DismantleMarkedObjects()
1680 SdrObjList* pSubList=pObj->GetSubList(); in DismantleMarkedObjects()
1681 if (pSubList!=NULL && !pObj->Is3DObj()) { in DismantleMarkedObjects()
1688 ImpDismantleOneObject(pObj,*pOL,nPos,pPV,bMakeLines); in DismantleMarkedObjects()
1691 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj,sal_True)); in DismantleMarkedObjects()
1695 SdrObject::Free(pObj); in DismantleMarkedObjects()
1735 SdrObject* pObj = pM->GetMarkedSdrObj(); in GroupMarked() local
1736 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pObj ) ); in GroupMarked()
1738 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoRemoveObject( *pObj )); in GroupMarked()
1777 SdrObject* pObj=pM->GetMarkedSdrObj(); in GroupMarked() local
1778 pSrcLst=pObj->GetObjList(); in GroupMarked()
1788 nInsPos=pObj->GetOrdNum(); // ua, damit sind alle ObjOrdNum der Page gesetzt in GroupMarked()
1792 pSrcLst->RemoveObject(pObj->GetOrdNumDirect()); in GroupMarked()
1796 pDstLst->InsertObject(pObj,0,&aReason); in GroupMarked()
1799 pRefObj1=pObj; // Das oberste sichtbare Objekt in GroupMarked()
1803 pRefObj=pObj; // Das oberste sichtbare nicht gruppierte Objekt in GroupMarked()
1891 SdrObject* pObj=pSrcLst->GetObj(no); in UnGroupMarked() local
1892 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoRemoveObject(*pObj)); in UnGroupMarked()
1897 SdrObject* pObj=pSrcLst->RemoveObject(0); in UnGroupMarked() local
1899 pDstLst->InsertObject(pObj,nDstCnt,&aReason); in UnGroupMarked()
1901 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoInsertObject(*pObj,true)); in UnGroupMarked()
1906 aNewMark.InsertEntry(SdrMark(pObj,pM->GetPageView()),sal_False); in UnGroupMarked()
1952 SdrObject* SdrEditView::ImpConvertOneObj(SdrObject* pObj, sal_Bool bPath, sal_Bool bLineToArea) in ImpConvertOneObj() argument
1954 SdrObject* pNewObj = pObj->ConvertToPolyObj(bPath, bLineToArea); in ImpConvertOneObj()
1957 SdrObjList* pOL=pObj->GetObjList(); in ImpConvertOneObj()
1963 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoReplaceObject(*pObj,*pNewObj)); in ImpConvertOneObj()
1965 pOL->ReplaceObject(pNewObj,pObj->GetOrdNum()); in ImpConvertOneObj()
1968 SdrObject::Free(pObj); in ImpConvertOneObj()
2005 SdrObject* pObj=pM->GetMarkedSdrObj(); in ImpConvertTo() local
2007 if (pObj->IsGroupObject() && !pObj->Is3DObj()) { in ImpConvertTo()
2008 SdrObject* pGrp=pObj; in ImpConvertTo()
2011 pObj=aIter.Next(); in ImpConvertTo()
2012 if (ImpConvertOneObj(pObj,bPath,bLineToArea)) bModChg=sal_True; in ImpConvertTo()
2015 SdrObject* pNewObj=ImpConvertOneObj(pObj,bPath,bLineToArea); in ImpConvertTo()
2073 SdrObject* pObj=pM->GetMarkedSdrObj(); in DoImportMarkedMtf() local
2075 SdrObjList* pOL=pObj->GetObjList(); in DoImportMarkedMtf()
2076 sal_uIntPtr nInsPos=pObj->GetOrdNum()+1; in DoImportMarkedMtf()
2077 SdrGrafObj* pGraf=PTR_CAST(SdrGrafObj,pObj); in DoImportMarkedMtf()
2078 SdrOle2Obj* pOle2=PTR_CAST(SdrOle2Obj,pObj); in DoImportMarkedMtf()
2098 ImpSdrGDIMetaFileImport aFilter(*pMod, pObj->GetLayer(), aLogicRect); in DoImportMarkedMtf()
2105 ImpSdrGDIMetaFileImport aFilter(*pMod, pObj->GetLayer(), aLogicRect); in DoImportMarkedMtf()
2151 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj)); in DoImportMarkedMtf()
2154 GetMarkedObjectListWriteAccess().DeleteMark(TryToFindMarkedObject(pObj)); in DoImportMarkedMtf()
2158 SdrObject::Free(pObj); in DoImportMarkedMtf()