Home
last modified time | relevance | path

Searched refs:pNewObj (Results 1 – 25 of 65) sorted by relevance

123

/trunk/main/basctl/source/dlged/
H A Ddlgedfac.cxx78 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
81 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
84 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
87 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
92 pObjFactory->pNewObj = pNew; in IMPL_LINK()
107 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
110 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
113 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
116 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
119 …pObjFactory->pNewObj = new DlgEdObj( ::rtl::OUString::createFromAscii("com.sun.star.awt.UnoControl… in IMPL_LINK()
[all …]
/trunk/main/chart2/source/controller/main/
H A DSelectionHelper.cxx192 SdrObject* pNewObj = 0; in adaptSelectionToNewPos() local
198 pNewObj = pDrawViewWrapper->getHitObject(rMousePos); in adaptSelectionToNewPos()
199 m_aSelectedOID = ObjectIdentifier( lcl_getObjectName( pNewObj ) );//name of pNewObj in adaptSelectionToNewPos()
202 while( pNewObj && m_aSelectedOID.getObjectCID().match( C2U( "HandlesOnly" ) ) ) in adaptSelectionToNewPos()
204 pNewObj->SetMarkProtect(true); in adaptSelectionToNewPos()
205 pNewObj = pDrawViewWrapper->getHitObject(rMousePos); in adaptSelectionToNewPos()
206 m_aSelectedOID = ObjectIdentifier( lcl_getObjectName( pNewObj ) ); in adaptSelectionToNewPos()
211 if ( SelectionHelper::findNamedParent( pNewObj, m_aSelectedOID, true ) ) in adaptSelectionToNewPos()
227 SdrObject* pLastChild = pNewObj; in adaptSelectionToNewPos()
229 if ( !SelectionHelper::findNamedParent( pNewObj, m_aSelectedOID, false ) ) in adaptSelectionToNewPos()
[all …]
H A DChartController_Tools.cxx443 SdrObject* pNewObj = ( pObj ? pObj->Clone() : NULL ); in impl_PasteShapes() local
444 if ( pNewObj ) in impl_PasteShapes()
446 pNewObj->SetModel( &pDrawModelWrapper->getSdrModel() ); in impl_PasteShapes()
447 pNewObj->SetPage( pDestPage ); in impl_PasteShapes()
450 … Reference< drawing::XShape > xShape( pNewObj->getUnoShape(), uno::UNO_QUERY ); in impl_PasteShapes()
456 pDestPage->InsertObject( pNewObj ); in impl_PasteShapes()
457 m_pDrawViewWrapper->AddUndo( new SdrUndoInsertObj( *pNewObj ) ); in impl_PasteShapes()
/trunk/main/svx/source/svdraw/
H A Dsvdxcgv.cxx374 SdrObject* pNewObj = pSrcOb->Clone(); in Paste() local
376 if (pNewObj!=NULL) in Paste()
380 pNewObj->GetModel()->SetPasteResize(sal_True); // #51139# in Paste()
381 pNewObj->NbcResize(aPt0,xResize,yResize); in Paste()
382 pNewObj->GetModel()->SetPasteResize(sal_False); // #51139# in Paste()
386 pNewObj->SetModel(pDstLst->GetModel()); in Paste()
387 pNewObj->SetPage(pDstLst->GetPage()); in Paste()
389 pNewObj->NbcMove(aSiz); in Paste()
399 if(pNewObj->ISA(FmFormObj)) in Paste()
414 pNewObj->SetLayer(nLayer); in Paste()
[all …]
H A Dsvdpage.cxx503 SdrObject* SdrObjList::NbcReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum) in NbcReplaceObject() argument
505 if (nObjNum >= maList.size() || pNewObj == NULL) in NbcReplaceObject()
508 OSL_ASSERT(pNewObj!=NULL); in NbcReplaceObject()
519 ReplaceObjectInContainer(*pNewObj,nObjNum); in NbcReplaceObject()
524 pNewObj->SetOrdNum(nObjNum); in NbcReplaceObject()
525 pNewObj->SetObjList(this); in NbcReplaceObject()
526 pNewObj->SetPage(pPage); in NbcReplaceObject()
530 impChildInserted(*pNewObj); in NbcReplaceObject()
532 pNewObj->SetInserted(sal_True); in NbcReplaceObject()
538 SdrObject* SdrObjList::ReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum) in ReplaceObject() argument
[all …]
H A Dsvdmark.cxx127 SdrMark::SdrMark(SdrObject* pNewObj, SdrPageView* pNewPageView) in SdrMark() argument
128 : mpSelectedSdrObject(pNewObj), in SdrMark()
188 void SdrMark::SetMarkedSdrObj(SdrObject* pNewObj) in SetMarkedSdrObj() argument
195 mpSelectedSdrObject = pNewObj; in SetMarkedSdrObj()
496 const SdrObject* pNewObj = rMark.GetMarkedSdrObj(); in InsertEntry() local
498 if(pLastObj == pNewObj) in InsertEntry()
515 const SdrObjList* pNeuOL = pNewObj !=0L ? pNewObj ->GetObjList() : 0L; in InsertEntry()
520 const sal_uLong nNewNum(pNewObj !=0L ? pNewObj ->GetOrdNum() : 0); in InsertEntry()
H A Dsvdedtv.cxx1024 void SdrEditView::ReplaceObjectAtView(SdrObject* pOldObj, SdrPageView& rPV, SdrObject* pNewObj, sal… in ReplaceObjectAtView() argument
1034 …if(pNewObj && dynamic_cast< SdrTextObj* >(pNewObj) && static_cast< SdrTextObj* >(pNewObj)->IsTextE… in ReplaceObjectAtView()
1049 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoReplaceObject(*pOldObj,*pNewObj)); in ReplaceObjectAtView()
1054 pOL->ReplaceObject(pNewObj,pOldObj->GetOrdNum()); in ReplaceObjectAtView()
1059 if (bMark) MarkObj(pNewObj,&rPV); in ReplaceObjectAtView()
H A Dsvdpoev.cxx388 SdrObject* pNewObj = pObj->RipPoint(pPts->GetObject(i), nNewPt0Idx); in RipUpAtMarkedPoints() local
390 if(pNewObj) in RipUpAtMarkedPoints()
394 … pM->GetPageView()->GetObjList()->InsertObject(pNewObj, pObj->GetOrdNum() + 1, &aReason); in RipUpAtMarkedPoints()
396 AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoNewObject(*pNewObj)); in RipUpAtMarkedPoints()
397 MarkObj(pNewObj, pM->GetPageView(), sal_False, sal_True); in RipUpAtMarkedPoints()
/trunk/main/svx/source/engine3d/
H A Dview3d.cxx681 SdrObject* pNewObj = aIter.Next(); in ImpIsConvertTo3DPossible() local
682 ImpIsConvertTo3DPossible(pNewObj, rAny3D, rGroupSelected); in ImpIsConvertTo3DPossible()
1757 SdrAttrObj* pNewObj = pObj->GetBreakObj(); in BreakSingle3DObj() local
1758 if(pNewObj) in BreakSingle3DObj()
1760 InsertObjectAtView(pNewObj, *GetSdrPageView(), SDRINSERT_DONTMARK); in BreakSingle3DObj()
1761 pNewObj->SetChanged(); in BreakSingle3DObj()
1762 pNewObj->BroadcastObjectChange(); in BreakSingle3DObj()
1804 E3dObject *pNewObj = 0; in MergeScenes() local
1809 pNewObj = new E3dCubeObj; in MergeScenes()
1810 *(E3dCubeObj*)pNewObj = *(E3dCubeObj*)pSubObj; in MergeScenes()
[all …]
H A Dobjfac3d.cxx77 pObjFactory->pNewObj = new E3dPolyScene(); in IMPL_LINK()
80 pObjFactory->pNewObj = new E3dPolygonObj(); in IMPL_LINK()
83 pObjFactory->pNewObj = new E3dCubeObj(); in IMPL_LINK()
90 pObjFactory->pNewObj = new E3dSphereObj(123); in IMPL_LINK()
93 pObjFactory->pNewObj = new E3dExtrudeObj(); in IMPL_LINK()
96 pObjFactory->pNewObj = new E3dLatheObj(); in IMPL_LINK()
99 pObjFactory->pNewObj = new E3dCompoundObject(); in IMPL_LINK()
H A Dview3d1.cxx59 SdrObject* pNewObj = NULL; in ConvertMarkedToPolyObj() local
68 pNewObj = ((E3dPolyScene*) pObj)->ConvertToPolyObj(bBezier, bLineToArea); in ConvertMarkedToPolyObj()
70 if (pNewObj) in ConvertMarkedToPolyObj()
73 ReplaceObjectAtView(pObj, *GetSdrPageView(), pNewObj); in ConvertMarkedToPolyObj()
79 if (!pNewObj) in ConvertMarkedToPolyObj()
/trunk/main/sc/source/ui/view/
H A Ddbfunc3.cxx1127 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in DateGroupDataPilot() local
1128 pNewObj->SetSaveData( aData ); in DateGroupDataPilot()
1129 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in DateGroupDataPilot()
1130 delete pNewObj; in DateGroupDataPilot()
1171 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in NumGroupDataPilot() local
1172 pNewObj->SetSaveData( aData ); in NumGroupDataPilot()
1173 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in NumGroupDataPilot()
1174 delete pNewObj; in NumGroupDataPilot()
1315 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in GroupDataPilot() local
1316 pNewObj->SetSaveData( aData ); in GroupDataPilot()
[all …]
H A Dviewfun7.cxx165 SdrObject* pNewObj=pObj->Clone(); in PasteDraw() local
168 if (pNewObj!=NULL) in PasteDraw()
170 pNewObj->SetModel(pDrawModel); in PasteDraw()
171 pNewObj->SetPage(pDestPage); in PasteDraw()
174 if ( pNewObj->ISA(SdrGrafObj) && !bPasteIsMove ) in PasteDraw()
175 pNewObj->SetName(((ScDrawLayer*)pDrawModel)->GetNewGraphicName()); in PasteDraw()
178 pNewObj->NbcMove(Size(nDiffX,nDiffY)); in PasteDraw()
179 pDestPage->InsertObject( pNewObj ); in PasteDraw()
180 pScDrawView->AddUndo(new SdrUndoInsertObj( *pNewObj )); in PasteDraw()
/trunk/main/reportdesign/source/ui/report/
H A Ddlgedfac.cxx63 pObjFactory->pNewObj = new OUnoObject( SERVICE_FIXEDTEXT in IMPL_LINK()
68 pObjFactory->pNewObj = new OUnoObject( SERVICE_IMAGECONTROL in IMPL_LINK()
73 pObjFactory->pNewObj = new OUnoObject( SERVICE_FORMATTEDFIELD in IMPL_LINK()
83 pObjFactory->pNewObj = pObj; in IMPL_LINK()
92 pObjFactory->pNewObj = new OCustomShape(SERVICE_SHAPE); in IMPL_LINK()
95 pObjFactory->pNewObj = new OOle2Obj(SERVICE_REPORTDEFINITION,OBJ_DLG_SUBREPORT); in IMPL_LINK()
98 …pObjFactory->pNewObj = new OOle2Obj(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.char… in IMPL_LINK()
H A DReportSection.cxx277 SdrObject* pNewObj = pObject->Clone(); in Paste() local
279 pNewObj->SetPage( m_pPage ); in Paste()
280 pNewObj->SetModel( m_pModel.get() ); in Paste()
282 m_pPage->InsertObject(pNewObj,CONTAINER_APPEND,&aReason); in Paste()
290 bOverlapping = isOver(aRet,*m_pPage,*m_pView,true,pNewObj) != NULL; in Paste()
294 pNewObj->SetLogicRect(aRet); in Paste()
298 … m_pView->AddUndo( m_pView->GetModel()->GetSdrUndoFactory().CreateUndoNewObject( *pNewObj ) ); in Paste()
299 m_pView->MarkObj( pNewObj, m_pView->GetSdrPageView() ); in Paste()
375 SdrObject* pNewObj = pSdrObject->Clone(); in Copy() local
376 …aCopies.push_back(uno::Reference<report::XReportComponent>(pNewObj->getUnoShape(),uno::UNO_QUERY)); in Copy()
/trunk/main/svx/source/unodraw/
H A Dunopage.cxx554 SdrObject* pNewObj = 0; in _CreateSdrObject() local
571 pNewObj = new SdrMeasureObj( aRect.TopLeft(), aRect.BottomRight() ); in _CreateSdrObject()
579 pNewObj = new SdrPathObj(OBJ_LINE, basegfx::B2DPolyPolygon(aPoly)); in _CreateSdrObject()
585 if( pNewObj == NULL ) in _CreateSdrObject()
586 pNewObj = SdrObjFactory::MakeNewObject( nInventor, nType, mpPage ); in _CreateSdrObject()
588 if(pNewObj) in _CreateSdrObject()
590 pNewObj->SetSnapRect(aRect); in _CreateSdrObject()
592 if( pNewObj->ISA(E3dPolyScene)) in _CreateSdrObject()
595 E3dScene* pScene = (E3dScene*)pNewObj; in _CreateSdrObject()
612 else if(pNewObj->ISA(E3dExtrudeObj)) in _CreateSdrObject()
[all …]
/trunk/main/cui/source/tabpages/
H A Dtplneend.cxx161 SdrObject* pNewObj = 0; in Construct() local
163 pNewObj = pPolyObj->ConvertToPolyObj( sal_True, sal_False ); in Construct()
165 bCreateArrowPossible = pNewObj && pNewObj->ISA( SdrPathObj ); in Construct()
166 SdrObject::Free( pNewObj ); in Construct()
438 const SdrObject* pNewObj; in IMPL_LINK() local
443 pNewObj = pPolyObj; in IMPL_LINK()
452 pNewObj = pConvPolyObj = pPolyObj->ConvertToPolyObj( sal_True, sal_False ); in IMPL_LINK()
454 if( !pNewObj || !pNewObj->ISA( SdrPathObj ) ) in IMPL_LINK()
461 basegfx::B2DPolyPolygon aNewPolyPolygon(((SdrPathObj*)pNewObj)->GetPathPoly()); in IMPL_LINK()
/trunk/main/sd/source/ui/func/
H A Dfulinend.cxx79 const SdrObject* pNewObj; in DoExecute() local
84 pNewObj = pObj; in DoExecute()
97 pNewObj = pConvPolyObj = pObj->ConvertToPolyObj( sal_True, sal_False ); in DoExecute()
99 if( !pNewObj || !pNewObj->ISA( SdrPathObj ) ) in DoExecute()
106 const ::basegfx::B2DPolyPolygon aPolyPolygon = ( (SdrPathObj*) pNewObj )->GetPathPoly(); in DoExecute()
/trunk/main/sd/source/ui/view/
H A Ddrviews6.cxx360 SdrGrafObj* pNewObj = (SdrGrafObj*) pObj->Clone(); in ExecBmpMask() local
363 if( pNewObj->IsLinkedGraphic() ) in ExecBmpMask()
369 pNewObj->ReleaseGraphicLink(); in ExecBmpMask()
372 delete pNewObj; in ExecBmpMask()
379 const Graphic& rOldGraphic = pNewObj->GetGraphic(); in ExecBmpMask()
388 pNewObj->SetEmptyPresObj( sal_False ); in ExecBmpMask()
389 pNewObj->SetGraphic( ( (SvxBmpMask*) GetViewFrame()->GetChildWindow( in ExecBmpMask()
391 Mask( pNewObj->GetGraphic() ) ); in ExecBmpMask()
397 mpDrawView->ReplaceObjectAtView( pObj, *pPV, pNewObj ); in ExecBmpMask()
/trunk/main/svx/source/gallery2/
H A Dgaltheme.cxx616 SgaObject* pNewObj; in Actualize() local
619 pNewObj = (SgaObject*) new SgaObjectINet( aGraphic, aURL, aFormat ); in Actualize()
621 pNewObj = (SgaObject*) new SgaObjectAnim( aGraphic, aURL, aFormat ); in Actualize()
623 pNewObj = (SgaObject*) new SgaObjectBmp( aGraphic, aURL, aFormat ); in Actualize()
625 if( !InsertObject( *pNewObj ) ) in Actualize()
628 delete pNewObj; in Actualize()
1192 SgaObject* pNewObj = NULL; in InsertURL() local
1199 pNewObj = (SgaObject*) new SgaObjectINet( aGraphic, rURL, aFormat ); in InsertURL()
1201 pNewObj = (SgaObject*) new SgaObjectAnim( aGraphic, rURL, aFormat ); in InsertURL()
1203 pNewObj = (SgaObject*) new SgaObjectBmp( aGraphic, rURL, aFormat ); in InsertURL()
[all …]
/trunk/main/sw/source/core/frmedt/
H A Dfecopy.cxx1406 SdrObject* pNewObj = pClpObj->Clone(); in Paste() local
1409 Rectangle aNewRect( pNewObj->GetCurrentBoundRect() ); in Paste()
1414 pNewObj->NbcResize( aNewRect.TopLeft(), aScaleWidth, aScaleHeight); in Paste()
1417 pNewObj->NbcMove(Size(aVec.X(), aVec.Y())); in Paste()
1419 if( pNewObj->ISA( SdrUnoObj ) ) in Paste()
1420 pNewObj->SetLayer( GetDoc()->GetControlsId() ); in Paste()
1422 pNewObj->SetLayer( GetDoc()->GetHeavenId() ); in Paste()
1424 pNewObj->SetLayer( pOldObj->GetLayer() ); in Paste()
1451 pNewObj->NbcSetRelativePos( aNullPt - aNewAnchor ); in Paste()
1452 pNewObj->NbcSetAnchorPos( aNewAnchor ); in Paste()
[all …]
/trunk/main/sd/source/core/
H A Dsdpage.cxx1665 SdrObject* SdPage::NbcReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum) in NbcReplaceObject() argument
1668 return FmFormPage::NbcReplaceObject(pNewObj, nObjNum); in NbcReplaceObject()
1673 SdrObject* SdPage::ReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum) in ReplaceObject() argument
1676 return FmFormPage::ReplaceObject(pNewObj, nObjNum); in ReplaceObject()
2084 SdrObject* pNewObj = pSourceObj; in convertPresentationObjectImpl() local
2087 pNewObj = rPage.CreatePresObj(PRESOBJ_OUTLINE, bVertical, aRect); in convertPresentationObjectImpl()
2099 pNewObj->SetOutlinerParaObject( pOutlParaObj ); in convertPresentationObjectImpl()
2101 pNewObj->SetEmptyPresObj(sal_False); in convertPresentationObjectImpl()
2121 pNewObj->StartListening(*pSheet); in convertPresentationObjectImpl()
2128 aSet.Put(pNewObj->GetMergedItemSet()); in convertPresentationObjectImpl()
[all …]
/trunk/main/reportdesign/source/core/sdr/
H A DRptObject.cxx120 SdrObject* pNewObj = NULL; in createObject() local
129 pNewObj = pUnoObj; in createObject()
137 pNewObj = new OUnoObject(_xComponent in createObject()
142 pNewObj = new OUnoObject( _xComponent in createObject()
148 pNewObj = new OUnoObject( _xComponent in createObject()
153 pNewObj = OCustomShape::Create( _xComponent ); in createObject()
158 pNewObj->SetLayer(bOpaque ? RPT_LAYER_FRONT : RPT_LAYER_BACK); in createObject()
167 pNewObj = OOle2Obj::Create( _xComponent,nType ); in createObject()
176 return pNewObj; in createObject()
/trunk/main/sc/source/ui/docshell/
H A Ddbdocfun.cxx1168 sal_Bool ScDBDocFunc::DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewObj, in DataPilotUpdate() argument
1201 if ( pNewObj && !nErrId ) in DataPilotUpdate()
1207 ScRange aNewStart( pNewObj->GetOutRange().aStart ); in DataPilotUpdate()
1216 if ( pOldObj && !pNewObj ) in DataPilotUpdate()
1245 else if ( pNewObj ) in DataPilotUpdate()
1258 if ( pNewObj == pOldObj ) in DataPilotUpdate()
1264 pNewObj->WriteSourceDataTo( *pOldObj ); // copy source data in DataPilotUpdate()
1266 ScDPSaveData* pData = pNewObj->GetSaveData(); in DataPilotUpdate()
1279 pDestObj = new ScDPObject( *pNewObj ); in DataPilotUpdate()
1299 if ( pNewObj == pOldObj && pDestObj->IsImportData() ) in DataPilotUpdate()
/trunk/main/svx/source/form/
H A Dfmobjfac.cxx252 pObjFactory->pNewObj = new FmFormObj( sServiceSpecifier, pObjFactory->nIdentifier ); in IMPL_LINK()
254 pObjFactory->pNewObj = new FmFormObj( pObjFactory->nIdentifier ); in IMPL_LINK()
263 static_cast< FmFormObj* >( pObjFactory->pNewObj ), in IMPL_LINK()

123