Lines Matching refs:pScDoc
102 ScDocument* pScDoc = pDocShell->GetDocument(); in lcl_ChartInit() local
129 aRange.Format( aStr, SCR_ABS_3D, pScDoc ); in lcl_ChartInit()
146 … uno::Reference< chart2::data::XDataProvider > xDataProvider = new ScChart2DataProvider( pScDoc ); in lcl_ChartInit()
159 aRangeListRef->Parse( aRangeString, pScDoc ); in lcl_ChartInit()
162 … pScDoc->LimitChartIfAll( aRangeListRef ); // limit whole columns/rows to used area in lcl_ChartInit()
166 … aRangeListRef->Format( aTmpStr, SCR_ABS_3D, pScDoc, pScDoc->GetAddressConvention() ); in lcl_ChartInit()
169 ScChartPositioner aChartPositioner( pScDoc, aRangeListRef ); in lcl_ChartInit()
587 ScDocument* pScDoc = pScDocSh->GetDocument(); in FuInsertChart() local
588 sal_Bool bUndo (pScDoc->IsUndoEnabled()); in FuInsertChart()
605 nToTable = static_cast<sal_uInt16>(pScDoc->GetTableCount()); in FuInsertChart()
618 if ( nToTable == pScDoc->GetTableCount() ) in FuInsertChart()
622 SCTAB nNewTab = pScDoc->GetTableCount(); in FuInsertChart()
624 pScDoc->CreateValidTabName( aTabName ); in FuInsertChart()
626 if ( pScDoc->InsertTab( nNewTab, aTabName ) ) in FuInsertChart()