Lines Matching refs:pObj

260 		SdrObject *pObj = GetMarkedObjectByIndex(nObjs);  in DrawMarkedObj()  local
261 if(pObj && pObj->ISA(E3dCompoundObject)) in DrawMarkedObj()
264 pScene = ((E3dCompoundObject*)pObj)->GetScene(); in DrawMarkedObj()
269 if(pObj && pObj->ISA(E3dObject)) in DrawMarkedObj()
271 pScene = ((E3dObject*)pObj)->GetScene(); in DrawMarkedObj()
284 SdrObject *pObj = GetMarkedObjectByIndex(nObjs); in DrawMarkedObj() local
285 if(pObj && pObj->ISA(E3dCompoundObject)) in DrawMarkedObj()
288 pScene = ((E3dCompoundObject*)pObj)->GetScene(); in DrawMarkedObj()
299 SdrObject *pObj = GetMarkedObjectByIndex(nObjs); in DrawMarkedObj() local
300 if(pObj && pObj->ISA(E3dObject)) in DrawMarkedObj()
303 E3dObject* p3DObj = (E3dObject*)pObj; in DrawMarkedObj()
323 SdrObject *pObj = GetMarkedObjectByIndex(nObjs); in DrawMarkedObj() local
324 if(pObj && pObj->ISA(E3dCompoundObject)) in DrawMarkedObj()
327 pScene = ((E3dCompoundObject*)pObj)->GetScene(); in DrawMarkedObj()
357 const SdrObject* pObj = GetMarkedObjectByIndex(nObjs); in GetMarkedObjModel() local
359 if(!bSpecialHandling && pObj && pObj->ISA(E3dCompoundObject)) in GetMarkedObjModel()
363 pScene = ((E3dCompoundObject*)pObj)->GetScene(); in GetMarkedObjModel()
371 if(pObj && pObj->ISA(E3dObject)) in GetMarkedObjModel()
374 pScene = ((E3dObject*)pObj)->GetScene(); in GetMarkedObjModel()
396 SdrObject *pObj = GetMarkedObjectByIndex(nObjs); in GetMarkedObjModel() local
398 if(pObj && pObj->ISA(E3dCompoundObject)) in GetMarkedObjModel()
401 E3dCompoundObject* p3DObj = (E3dCompoundObject*)pObj; in GetMarkedObjModel()
416 SdrObject *pObj = aOldML.GetMark(nObjs)->GetMarkedSdrObj(); in GetMarkedObjModel() local
418 if(pObj && pObj->ISA(E3dObject)) in GetMarkedObjModel()
420 pScene = ((E3dObject*)pObj)->GetScene(); in GetMarkedObjModel()
650 SdrObject *pObj = GetMarkedObjectByIndex(a); in IsConvertTo3DObjPossible() local
651 if(pObj) in IsConvertTo3DObjPossible()
653 ImpIsConvertTo3DPossible(pObj, bAny3D, bGroupSelected); in IsConvertTo3DObjPossible()
665 void E3dView::ImpIsConvertTo3DPossible(SdrObject* pObj, sal_Bool& rAny3D, in ImpIsConvertTo3DPossible() argument
668 if(pObj) in ImpIsConvertTo3DPossible()
670 if(pObj->ISA(E3dObject)) in ImpIsConvertTo3DPossible()
676 if(pObj->IsGroupObject()) in ImpIsConvertTo3DPossible()
678 SdrObjListIter aIter(*pObj, IM_DEEPNOGROUPS); in ImpIsConvertTo3DPossible()
697 void E3dView::ImpChangeSomeAttributesFor3DConversion(SdrObject* pObj) in ImpChangeSomeAttributesFor3DConversion() argument
699 if(pObj->ISA(SdrTextObj)) in ImpChangeSomeAttributesFor3DConversion()
701 const SfxItemSet& rSet = pObj->GetMergedItemSet(); in ImpChangeSomeAttributesFor3DConversion()
706 if(pObj->GetPage()) in ImpChangeSomeAttributesFor3DConversion()
710 pObj->SetMergedItem(SvxColorItem(RGB_Color(COL_BLACK), EE_CHAR_COLOR)); in ImpChangeSomeAttributesFor3DConversion()
714 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj, false, false)); in ImpChangeSomeAttributesFor3DConversion()
717 pObj->SetMergedItem(SvxColorItem(RGB_Color(COL_GRAY), EE_CHAR_COLOR)); in ImpChangeSomeAttributesFor3DConversion()
722 void E3dView::ImpChangeSomeAttributesFor3DConversion2(SdrObject* pObj) in ImpChangeSomeAttributesFor3DConversion2() argument
724 if(pObj->ISA(SdrPathObj)) in ImpChangeSomeAttributesFor3DConversion2()
726 const SfxItemSet& rSet = pObj->GetMergedItemSet(); in ImpChangeSomeAttributesFor3DConversion2()
731 if(((SdrPathObj*)pObj)->IsClosed() in ImpChangeSomeAttributesFor3DConversion2()
736 if(pObj->GetPage() && GetModel()->IsUndoEnabled() ) in ImpChangeSomeAttributesFor3DConversion2()
737 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj, false, false)); in ImpChangeSomeAttributesFor3DConversion2()
738 pObj->SetMergedItem(XLineStyleItem(XLINE_NONE)); in ImpChangeSomeAttributesFor3DConversion2()
739 pObj->SetMergedItem(XLineWidthItem(0L)); in ImpChangeSomeAttributesFor3DConversion2()
744 void E3dView::ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, sal_Bool bExtrude, dou… in ImpCreateSingle3DObjectFlat() argument
747 SdrPathObj* pPath = PTR_CAST(SdrPathObj, pObj); in ImpCreateSingle3DObjectFlat()
758 SfxItemSet aSet(pObj->GetMergedItemSet()); in ImpCreateSingle3DObjectFlat()
801 p3DObj->NbcSetLayer(pObj->GetLayer()); in ImpCreateSingle3DObjectFlat()
805 p3DObj->NbcSetStyleSheet(pObj->GetStyleSheet(), sal_True); in ImpCreateSingle3DObjectFlat()
813 void E3dView::ImpCreate3DObject(E3dScene* pScene, SdrObject* pObj, sal_Bool bExtrude, double fDepth… in ImpCreate3DObject() argument
815 if(pObj) in ImpCreate3DObject()
818 if(pObj->IsGroupObject()) in ImpCreate3DObject()
820 SdrObjListIter aIter(*pObj, IM_DEEPWITHGROUPS); in ImpCreate3DObject()
828 ImpChangeSomeAttributesFor3DConversion(pObj); in ImpCreate3DObject()
831 SdrObject* pNewObj1 = pObj->ConvertToPolyObj(sal_False, sal_False); in ImpCreate3DObject()
849 SdrObject* pNewObj2 = pObj->ConvertToContourObj(pNewObj1, sal_True); in ImpCreate3DObject()
867 if(pNewObj2 != pObj && pNewObj2 != pNewObj1 && pNewObj2) in ImpCreate3DObject()
872 if(pNewObj1 != pObj && pNewObj1) in ImpCreate3DObject()
954 SdrObject* pObj = pMark->GetMarkedSdrObj(); in ConvertMarkedObjTo3D() local
955 Rectangle aTurnRect = pObj->GetSnapRect(); in ConvertMarkedObjTo3D()
994 SdrObject* pObj = pMark->GetMarkedSdrObj(); in ConvertMarkedObjTo3D() local
996 ImpCreate3DObject(pScene, pObj, bExtrude, fDepth, aLatheMat); in ConvertMarkedObjTo3D()
1279 SdrObject *pObj = GetMarkedObjectByIndex(nObjs); in BegDragObj() local
1280 if(pObj) in BegDragObj()
1282 if(pObj->ISA(E3dScene) && ((E3dScene*)pObj)->GetScene() == pObj) in BegDragObj()
1284 if(pObj->ISA(E3dObject)) in BegDragObj()
1695 SdrObject* pObj = GetMarkedObjectByIndex(i); in IsBreak3DObjPossible() local
1697 if (pObj && pObj->ISA(E3dObject)) in IsBreak3DObjPossible()
1699 if(!(((E3dObject*)pObj)->IsBreakObjPossible())) in IsBreak3DObjPossible()
1734 E3dObject* pObj = (E3dObject*)GetMarkedObjectByIndex(a); in Break3DObj() local
1735 BreakSingle3DObj(pObj); in Break3DObj()
1742 void E3dView::BreakSingle3DObj(E3dObject* pObj) in BreakSingle3DObj() argument
1744 if(pObj->ISA(E3dScene)) in BreakSingle3DObj()
1746 SdrObjList* pSubList = pObj->GetSubList(); in BreakSingle3DObj()
1757 SdrAttrObj* pNewObj = pObj->GetBreakObj(); in BreakSingle3DObj()
1780 SdrObject *pObj = GetMarkedObjectByIndex(nObj); in MergeScenes() local
1786 while (pObj) in MergeScenes()
1788 if (pObj->ISA(E3dScene)) in MergeScenes()
1793 SdrObjList* pSubList = ((E3dObject*) pObj)->GetSubList(); in MergeScenes()
1849 pObj = GetMarkedObjectByIndex(nObj); in MergeScenes()
1853 pObj = NULL; in MergeScenes()
1903 SdrObject *pObj = GetMarkedObjectByIndex(nObjs); in CheckPossibilities() local
1904 if(pObj && pObj->ISA(E3dCompoundObject)) in CheckPossibilities()
1906 if(pObj && pObj->ISA(E3dObject)) in CheckPossibilities()