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()
1256 SdrObject* pObj = pM->GetMarkedSdrObj(); in CombineMarkedObjects() local
1257 SdrObjList* pThisOL = pObj->GetObjList(); in CombineMarkedObjects()
1264 if(ImpCanConvertForCombine(pObj)) in CombineMarkedObjects()
1267 pAttrObj = pObj; in CombineMarkedObjects()
1272 …basegfx::B2DPolyPolygon aTmpPoly(basegfx::tools::simplifyCurveSegments(ImpGetPolyPolygon(pObj, sal… in CombineMarkedObjects()
1277 nInsPos = pObj->GetOrdNum() + 1L; in CombineMarkedObjects()
1279 pInsOL = pObj->GetObjList(); in CombineMarkedObjects()
1282 aRemoveMerker.InsertEntry(SdrMark(pObj, pM->GetPageView())); in CombineMarkedObjects()
1414 sal_Bool SdrEditView::ImpCanDismantle(const SdrObject* pObj, sal_Bool bMakeLines) const in ImpCanDismantle() argument
1418 SdrObjList* pOL = pObj->GetSubList(); in ImpCanDismantle()
1455 const SdrPathObj* pPath = PTR_CAST(SdrPathObj, pObj); in ImpCanDismantle()
1456 const SdrObjCustomShape* pCustomShape = PTR_CAST(SdrObjCustomShape, pObj); in ImpCanDismantle()
1467 pObj->TakeObjInfo(aInfo); in ImpCanDismantle()
1492 void SdrEditView::ImpDismantleOneObject(const SdrObject* pObj, SdrObjList& rOL, sal_uIntPtr& rPos, … in ImpDismantleOneObject() argument
1494 const SdrPathObj* pSrcPath = PTR_CAST(SdrPathObj, pObj); in ImpDismantleOneObject()
1495 const SdrObjCustomShape* pCustomShape = PTR_CAST(SdrObjCustomShape, pObj); in ImpDismantleOneObject()
1666 SdrObject* pObj=pM->GetMarkedSdrObj(); in DismantleMarkedObjects() local
1668 SdrObjList* pOL=pObj->GetObjList(); in DismantleMarkedObjects()
1669 if (pOL!=pOL0) { pOL0=pOL; pObj->GetOrdNum(); } // sicherstellen, dass OrdNums stimmen! in DismantleMarkedObjects()
1670 if (ImpCanDismantle(pObj,bMakeLines)) { in DismantleMarkedObjects()
1671 aRemoveMerker.InsertEntry(SdrMark(pObj,pM->GetPageView())); in DismantleMarkedObjects()
1672 sal_uIntPtr nPos0=pObj->GetOrdNumDirect(); in DismantleMarkedObjects()
1674 SdrObjList* pSubList=pObj->GetSubList(); in DismantleMarkedObjects()
1675 if (pSubList!=NULL && !pObj->Is3DObj()) { in DismantleMarkedObjects()
1682 ImpDismantleOneObject(pObj,*pOL,nPos,pPV,bMakeLines); in DismantleMarkedObjects()
1685 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj,sal_True)); in DismantleMarkedObjects()
1689 SdrObject::Free(pObj); in DismantleMarkedObjects()
1729 SdrObject* pObj = pM->GetMarkedSdrObj(); in GroupMarked() local
1730 std::vector< SdrUndoAction* > vConnectorUndoActions( CreateConnectorUndo( *pObj ) ); in GroupMarked()
1732 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoRemoveObject( *pObj )); in GroupMarked()
1771 SdrObject* pObj=pM->GetMarkedSdrObj(); in GroupMarked() local
1772 pSrcLst=pObj->GetObjList(); in GroupMarked()
1782 nInsPos=pObj->GetOrdNum(); // ua, damit sind alle ObjOrdNum der Page gesetzt in GroupMarked()
1786 pSrcLst->RemoveObject(pObj->GetOrdNumDirect()); in GroupMarked()
1790 pDstLst->InsertObject(pObj,0,&aReason); in GroupMarked()
1793 pRefObj1=pObj; // Das oberste sichtbare Objekt in GroupMarked()
1797 pRefObj=pObj; // Das oberste sichtbare nicht gruppierte Objekt in GroupMarked()
1885 SdrObject* pObj=pSrcLst->GetObj(no); in UnGroupMarked() local
1886 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoRemoveObject(*pObj)); in UnGroupMarked()
1891 SdrObject* pObj=pSrcLst->RemoveObject(0); in UnGroupMarked() local
1893 pDstLst->InsertObject(pObj,nDstCnt,&aReason); in UnGroupMarked()
1895 AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoInsertObject(*pObj,true)); in UnGroupMarked()
1900 aNewMark.InsertEntry(SdrMark(pObj,pM->GetPageView()),sal_False); in UnGroupMarked()
1946 SdrObject* SdrEditView::ImpConvertOneObj(SdrObject* pObj, sal_Bool bPath, sal_Bool bLineToArea) in ImpConvertOneObj() argument
1948 SdrObject* pNewObj = pObj->ConvertToPolyObj(bPath, bLineToArea); in ImpConvertOneObj()
1951 SdrObjList* pOL=pObj->GetObjList(); in ImpConvertOneObj()
1957 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoReplaceObject(*pObj,*pNewObj)); in ImpConvertOneObj()
1959 pOL->ReplaceObject(pNewObj,pObj->GetOrdNum()); in ImpConvertOneObj()
1962 SdrObject::Free(pObj); in ImpConvertOneObj()
1999 SdrObject* pObj=pM->GetMarkedSdrObj(); in ImpConvertTo() local
2001 if (pObj->IsGroupObject() && !pObj->Is3DObj()) { in ImpConvertTo()
2002 SdrObject* pGrp=pObj; in ImpConvertTo()
2005 pObj=aIter.Next(); in ImpConvertTo()
2006 if (ImpConvertOneObj(pObj,bPath,bLineToArea)) bModChg=sal_True; in ImpConvertTo()
2009 SdrObject* pNewObj=ImpConvertOneObj(pObj,bPath,bLineToArea); in ImpConvertTo()
2067 SdrObject* pObj=pM->GetMarkedSdrObj(); in DoImportMarkedMtf() local
2069 SdrObjList* pOL=pObj->GetObjList(); in DoImportMarkedMtf()
2070 sal_uIntPtr nInsPos=pObj->GetOrdNum()+1; in DoImportMarkedMtf()
2071 SdrGrafObj* pGraf=PTR_CAST(SdrGrafObj,pObj); in DoImportMarkedMtf()
2072 SdrOle2Obj* pOle2=PTR_CAST(SdrOle2Obj,pObj); in DoImportMarkedMtf()
2092 ImpSdrGDIMetaFileImport aFilter(*pMod, pObj->GetLayer(), aLogicRect); in DoImportMarkedMtf()
2099 ImpSdrGDIMetaFileImport aFilter(*pMod, pObj->GetLayer(), aLogicRect); in DoImportMarkedMtf()
2145 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pObj)); in DoImportMarkedMtf()
2148 GetMarkedObjectListWriteAccess().DeleteMark(TryToFindMarkedObject(pObj)); in DoImportMarkedMtf()
2152 SdrObject::Free(pObj); in DoImportMarkedMtf()