Lines Matching refs:pDocShell
66 SdrOle2Obj* lcl_FindChartObj( ScDocShell* pDocShell, SCTAB nTab, const String& rName ) in lcl_FindChartObj() argument
68 if (pDocShell) in lcl_FindChartObj()
70 ScDocument* pDoc = pDocShell->GetDocument(); in lcl_FindChartObj()
87 … String aObjName = pDocShell->GetEmbeddedObjectContainer().GetEmbeddedObjectName( xObj ); in lcl_FindChartObj()
103 pDocShell( pDocSh ), in ScChartsObj()
106 pDocShell->GetDocument()->AddUnoObject(*this); in ScChartsObj()
111 if (pDocShell) in ~ScChartsObj()
112 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScChartsObj()
122 pDocShell = NULL; // ungueltig geworden in Notify()
129 if ( pDocShell ) in GetObjectByIndex_Impl()
131 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByIndex_Impl()
150 … aName = pDocShell->GetEmbeddedObjectContainer().GetEmbeddedObjectName( xObj ); in GetObjectByIndex_Impl()
162 return new ScChartObj( pDocShell, nTab, aName ); in GetObjectByIndex_Impl()
169 if ( lcl_FindChartObj( pDocShell, nTab, aNameString ) ) in GetObjectByName_Impl()
170 return new ScChartObj( pDocShell, nTab, aNameString ); in GetObjectByName_Impl()
183 if (!pDocShell) in addNewByName()
186 ScDocument* pDoc = pDocShell->GetDocument(); in addNewByName()
187 ScDrawLayer* pModel = pDocShell->MakeDrawLayer(); in addNewByName()
221 …xObj = pDocShell->GetEmbeddedObjectContainer().CreateEmbeddedObject( SvGlobalName( SO3_SCH_CLASSID… in addNewByName()
264 …uno::Reference< util::XNumberFormatsSupplier > xNumberFormatsSupplier( pDocShell->GetModel(), uno:… in addNewByName()
313 SdrOle2Obj* pObj = lcl_FindChartObj( pDocShell, nTab, aNameString ); in removeByName()
316 ScDocument* pDoc = pDocShell->GetDocument(); in removeByName()
342 if ( pDocShell ) in getCount()
344 ScDocument* pDoc = pDocShell->GetDocument(); in getCount()
407 if (pDocShell) in getElementNames()
409 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()
432 … aName = pDocShell->GetEmbeddedObjectContainer().GetEmbeddedObjectName( xObj ); in getElementNames()
453 return ( lcl_FindChartObj( pDocShell, nTab, aNameString ) != NULL ); in hasByName()
461 ,pDocShell( pDocSh ) in ScChartObj()
465 pDocShell->GetDocument()->AddUnoObject(*this); in ScChartObj()
466 SdrOle2Obj* pObject = lcl_FindChartObj( pDocShell, nTab, aChartName ); in ScChartObj()
477 if (pDocShell) in ~ScChartObj()
478 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScChartObj()
488 pDocShell = NULL; // ungueltig geworden in Notify()
495 ScDocument* pDoc = (pDocShell? pDocShell->GetDocument(): 0); in GetData_Impl()
554 if (pDocShell) in Update_Impl()
556 ScDocument* pDoc = pDocShell->GetDocument(); in Update_Impl()
561 pDocShell->GetUndoManager()->AddUndoAction( in Update_Impl()
562 new ScUndoChartData( pDocShell, aChartName, rRanges, bColHeaders, bRowHeaders, sal_False ) ); in Update_Impl()
594 ScDocument* pDoc = ( pDocShell ? pDocShell->GetDocument() : NULL ); in setFastPropertyValue_NoBroadcast()
616 ScDocument* pDoc = ( pDocShell ? pDocShell->GetDocument() : NULL ); in getFastPropertyValue()
784 SdrOle2Obj* pObject = lcl_FindChartObj( pDocShell, nTab, aChartName ); in getEmbeddedObject()