Home
last modified time | relevance | path

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

123

/AOO41X/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 …]
/AOO41X/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()
/AOO41X/main/svx/source/engine3d/
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 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 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()
/AOO41X/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()
/AOO41X/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 …]
/AOO41X/main/sc/source/ui/view/
H A Ddbfunc3.cxx1133 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in DateGroupDataPilot() local
1134 pNewObj->SetSaveData( aData ); in DateGroupDataPilot()
1135 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in DateGroupDataPilot()
1136 delete pNewObj; in DateGroupDataPilot()
1177 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in NumGroupDataPilot() local
1178 pNewObj->SetSaveData( aData ); in NumGroupDataPilot()
1179 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in NumGroupDataPilot()
1180 delete pNewObj; in NumGroupDataPilot()
1321 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in GroupDataPilot() local
1322 pNewObj->SetSaveData( aData ); in GroupDataPilot()
[all …]
/AOO41X/main/svx/source/svdraw/
H A Dsvdpage.cxx505 SdrObject* SdrObjList::NbcReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum) in NbcReplaceObject() argument
507 if (nObjNum >= maList.size() || pNewObj == NULL) in NbcReplaceObject()
510 OSL_ASSERT(pNewObj!=NULL); in NbcReplaceObject()
521 ReplaceObjectInContainer(*pNewObj,nObjNum); in NbcReplaceObject()
526 pNewObj->SetOrdNum(nObjNum); in NbcReplaceObject()
527 pNewObj->SetObjList(this); in NbcReplaceObject()
528 pNewObj->SetPage(pPage); in NbcReplaceObject()
532 impChildInserted(*pNewObj); in NbcReplaceObject()
534 pNewObj->SetInserted(sal_True); in NbcReplaceObject()
540 SdrObject* SdrObjList::ReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum) in ReplaceObject() argument
[all …]
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 Dsvdundo.cxx994 pNewObj(&rNewObj1) in SdrUndoReplaceObj()
1016 if (pNewObj!=NULL && IsNewOwner()) in ~SdrUndoReplaceObj()
1022 SdrObject::Free( pNewObj ); in ~SdrUndoReplaceObj()
1034 … DBG_ASSERT(pNewObj->IsInserted(),"SdrUndoReplaceObj::Undo(): Neues Objekt ist nicht inserted!"); in Undo()
1038 ImplUnmarkObject( pNewObj ); in Undo()
1051 …DBG_ASSERT(!pNewObj->IsInserted(),"SdrUndoReplaceObj::Redo(): Neues Objekt ist bereits inserted!"); in Redo()
1057 pObjList->ReplaceObject(pNewObj,nOrdNum); in Redo()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
H A Ddrawview.cxx624 … SdrObject* pNewObj = pPage->InsertAutoLayoutShape( 0, ePresObjKind, bVertical, aRect, true ); in DeleteMarked() local
630 *pNewObj, in DeleteMarked()
631 pNewObj->GetOrdNum(), in DeleteMarked()
633 pPage->SetObjectOrdNum( pNewObj->GetOrdNum(), pObj->GetOrdNum() ); in DeleteMarked()
/AOO41X/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 …]
/AOO41X/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 …]
/AOO41X/main/sd/source/core/
H A Dsdpage.cxx1687 SdrObject* SdPage::NbcReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum) in NbcReplaceObject() argument
1690 return FmFormPage::NbcReplaceObject(pNewObj, nObjNum); in NbcReplaceObject()
1695 SdrObject* SdPage::ReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum) in ReplaceObject() argument
1698 return FmFormPage::ReplaceObject(pNewObj, nObjNum); in ReplaceObject()
2122 SdrObject* pNewObj = pSourceObj; in convertPresentationObjectImpl() local
2125 pNewObj = rPage.CreatePresObj(PRESOBJ_OUTLINE, bVertical, aRect); in convertPresentationObjectImpl()
2137 pNewObj->SetOutlinerParaObject( pOutlParaObj ); in convertPresentationObjectImpl()
2139 pNewObj->SetEmptyPresObj(sal_False); in convertPresentationObjectImpl()
2159 pNewObj->StartListening(*pSheet); in convertPresentationObjectImpl()
2166 aSet.Put(pNewObj->GetMergedItemSet()); in convertPresentationObjectImpl()
[all …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/sw/source/core/draw/
H A Ddpage.cxx84 SdrObject* SwDPage::ReplaceObject( SdrObject* pNewObj, sal_uLong nObjNum ) in ReplaceObject() argument
91 ((SwDrawContact*)pContact)->ChangeMasterObject( pNewObj ); in ReplaceObject()
92 return FmFormPage::ReplaceObject( pNewObj, nObjNum ); in ReplaceObject()
/AOO41X/main/svx/source/customshapes/
H A DEnhancedCustomShapeEngine.cxx424 SdrObject* pNewObj = NULL; in getLineGeometry() local
434 pNewObj = pNext->ConvertToPolyObj( sal_False, sal_False ); in getLineGeometry()
435 SdrPathObj* pPath = PTR_CAST( SdrPathObj, pNewObj ); in getLineGeometry()
443 SdrObject::Free( pNewObj ); in getLineGeometry()
H A DEnhancedCustomShape3d.cxx448 … SdrObject* pNewObj = pNext->ConvertToContourObj(const_cast< SdrObject* >(pNext)); in Create3DObject() local
449 SdrPathObj* pNewPathObj = dynamic_cast< SdrPathObj* >(pNewObj); in Create3DObject()
484 SdrObject::Free(pNewObj); in Create3DObject()
493 SdrObject* pNewObj = pNext->ConvertToPolyObj( sal_False, sal_False ); in Create3DObject() local
494 SdrPathObj* pPath = PTR_CAST( SdrPathObj, pNewObj ); in Create3DObject()
497 SdrObject::Free( pNewObj ); in Create3DObject()

123