Lines Matching refs:pObj
314 SdrObject *pObj = pShape->GetSdrObject(); in add() local
316 if(!pObj) in add()
318 pObj = CreateSdrObject( xShape ); in add()
319 ENSURE_OR_RETURN_VOID( pObj != NULL, "SvxDrawPage::add: no SdrObject was created!" ); in add()
321 else if ( !pObj->IsInserted() ) in add()
323 pObj->SetModel(mpModel); in add()
324 mpPage->InsertObject( pObj ); in add()
327 pShape->Create( pObj, this ); in add()
328 …OSL_ENSURE( pShape->GetSdrObject() == pObj, "SvxDrawPage::add: shape does not know about its newly… in add()
346 SdrObject* pObj = pShape->GetSdrObject(); in remove() local
347 if(pObj) in remove()
353 if(mpPage->GetObj(nNum) == pObj) in remove()
355 OSL_VERIFY( mpPage->RemoveObject( nNum ) == pObj ); in remove()
356 SdrObject::Free( pObj ); in remove()
394 SdrObject* pObj = mpPage->GetObj( Index ); in getByIndex() local
395 if( pObj == NULL ) in getByIndex()
399 return makeAny(Reference< drawing::XShape >( pObj->getUnoShape(), uno::UNO_QUERY )); in getByIndex()
433 SdrObject* pObj = pShape->GetSdrObject(); in lcl_markSdrObjectOfShape() local
434 if ( !pObj ) in lcl_markSdrObjectOfShape()
437 _rView.MarkObj( pObj, &_rPageView ); in lcl_markSdrObjectOfShape()
507 SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj(); in group() local
508 if( pObj ) in group()
509 xShapeGroup = Reference< drawing::XShapeGroup >::query( pObj->getUnoShape() ); in group()
614 E3dExtrudeObj* pObj = (E3dExtrudeObj*)pNewObj; in _CreateSdrObject() local
620 pObj->SetExtrudePolygon(basegfx::B2DPolyPolygon(aNewPolygon)); in _CreateSdrObject()
623 pObj->SetMergedItem(Svx3DCharacterModeItem(sal_True)); in _CreateSdrObject()
627 E3dLatheObj* pObj = (E3dLatheObj*)pNewObj; in _CreateSdrObject() local
633 pObj->SetPolyPoly2D(basegfx::B2DPolyPolygon(aNewPolygon)); in _CreateSdrObject()
636 pObj->SetMergedItem(Svx3DCharacterModeItem(sal_True)); in _CreateSdrObject()
685 …hapeByTypeAndInventor( sal_uInt16 nType, sal_uInt32 nInventor, SdrObject *pObj, SvxDrawPage *mpPag… in CreateShapeByTypeAndInventor() argument
696 pRet = new Svx3DSceneObject( pObj, mpPage ); in CreateShapeByTypeAndInventor()
699 pRet = new Svx3DCubeObject( pObj ); in CreateShapeByTypeAndInventor()
702 pRet = new Svx3DSphereObject( pObj ); in CreateShapeByTypeAndInventor()
705 pRet = new Svx3DLatheObject( pObj ); in CreateShapeByTypeAndInventor()
708 pRet = new Svx3DExtrudeObject( pObj ); in CreateShapeByTypeAndInventor()
711 pRet = new Svx3DPolygonObject( pObj ); in CreateShapeByTypeAndInventor()
714 pRet = new SvxShape( pObj ); in CreateShapeByTypeAndInventor()
726 pRet = new SvxShapeGroup( pObj, mpPage ); in CreateShapeByTypeAndInventor()
729 pRet = new SvxShapePolyPolygon( pObj , PolygonKind_LINE ); in CreateShapeByTypeAndInventor()
732 pRet = new SvxShapeRect( pObj ); in CreateShapeByTypeAndInventor()
738 pRet = new SvxShapeCircle( pObj ); in CreateShapeByTypeAndInventor()
741 pRet = new SvxShapePolyPolygon( pObj , PolygonKind_POLY ); in CreateShapeByTypeAndInventor()
744 pRet = new SvxShapePolyPolygon( pObj , PolygonKind_PLIN ); in CreateShapeByTypeAndInventor()
748 pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_PATHLINE ); in CreateShapeByTypeAndInventor()
752 pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_PATHFILL ); in CreateShapeByTypeAndInventor()
755 pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_FREELINE ); in CreateShapeByTypeAndInventor()
758 pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_FREEFILL ); in CreateShapeByTypeAndInventor()
761 pRet = new SvxShapeCaption( pObj ); in CreateShapeByTypeAndInventor()
766 pRet = new SvxShapeText( pObj ); in CreateShapeByTypeAndInventor()
769 pRet = new SvxGraphicObject( pObj ); in CreateShapeByTypeAndInventor()
772 pRet = new SvxFrameShape( pObj ); in CreateShapeByTypeAndInventor()
775 pRet = new SvxAppletShape( pObj ); in CreateShapeByTypeAndInventor()
778 pRet = new SvxPluginShape( pObj ); in CreateShapeByTypeAndInventor()
782 if( pObj && !pObj->IsEmptyPresObj() && mpPage ) in CreateShapeByTypeAndInventor()
794 GetEmbeddedObject( static_cast< SdrOle2Obj* >( pObj )->GetPersistName() ); in CreateShapeByTypeAndInventor()
807 pRet = new SvxPluginShape( pObj ); in CreateShapeByTypeAndInventor()
812 pRet = new SvxAppletShape( pObj ); in CreateShapeByTypeAndInventor()
817 pRet = new SvxFrameShape( pObj ); in CreateShapeByTypeAndInventor()
827 …pRet = new SvxOle2Shape( pObj, aSvxMapProvider.GetMap(SVXMAP_OLE2), aSvxMapProvider.GetPropertySe… in CreateShapeByTypeAndInventor()
832 pRet = new SvxShapeConnector( pObj ); in CreateShapeByTypeAndInventor()
835 pRet = new SvxShapePolyPolygon( pObj , PolygonKind_PATHPOLY ); in CreateShapeByTypeAndInventor()
838 pRet = new SvxShapePolyPolygon( pObj , PolygonKind_PATHPLIN ); in CreateShapeByTypeAndInventor()
841 …pRet = new SvxShape( pObj, aSvxMapProvider.GetMap(SVXMAP_PAGE), aSvxMapProvider.GetPropertySet(SV… in CreateShapeByTypeAndInventor()
844 pRet = new SvxShapeDimensioning( pObj ); in CreateShapeByTypeAndInventor()
849 pRet = new SvxShapeControl( pObj ); in CreateShapeByTypeAndInventor()
852 pRet = new SvxCustomShape( pObj ); in CreateShapeByTypeAndInventor()
855 pRet = new SvxMediaShape( pObj ); in CreateShapeByTypeAndInventor()
858 pRet = new SvxTableShape( pObj ); in CreateShapeByTypeAndInventor()
862 pRet = new SvxShapeText( pObj ); in CreateShapeByTypeAndInventor()
906 Reference< drawing::XShape > SvxDrawPage::_CreateShape( SdrObject *pObj ) const throw() in _CreateShape()
908 Reference< drawing::XShape > xShape( CreateShapeByTypeAndInventor(pObj->GetObjIdentifier(), in _CreateShape()
909 pObj->GetObjInventor(), in _CreateShape()
910 pObj, in _CreateShape()
918 SdrObject* pObj = _CreateSdrObject( xShape ); in CreateSdrObject() local
919 if( pObj && !pObj->IsInserted() ) in CreateSdrObject()
920 mpPage->InsertObject( pObj ); in CreateSdrObject()
922 return pObj; in CreateSdrObject()