Lines Matching refs:pDoc
117 ScDocument* pDoc = pImpl->m_pDocSh->GetDocument(); in ~ScTableLink() local
118 SCTAB nCount = pDoc->GetTableCount(); in ~ScTableLink()
120 if (pDoc->IsLinked(nTab) && pDoc->GetLinkDoc(nTab)==aFileName) in ~ScTableLink()
121 pDoc->SetLink( nTab, SC_LINK_NONE, aEmpty, aEmpty, aEmpty, aEmpty, 0 ); in ~ScTableLink()
161 ScDocument* pDoc = pImpl->m_pDocSh->GetDocument(); in Closed() local
162 sal_Bool bUndo (pDoc->IsUndoEnabled()); in Closed()
197 ScDocument* pDoc = pImpl->m_pDocSh->GetDocument(); in Refresh() local
198 pDoc->SetInLinkUpdate( sal_True ); in Refresh()
200 sal_Bool bUndo(pDoc->IsUndoEnabled()); in Refresh()
247 SCTAB nCount = pDoc->GetTableCount(); in Refresh()
250 sal_uInt8 nMode = pDoc->GetLinkMode(nTab); in Refresh()
251 if (nMode && pDoc->GetLinkDoc(nTab)==aFileName) in Refresh()
253 String aTabName = pDoc->GetLinkTab(nTab); in Refresh()
260 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in Refresh()
265 pDoc->CopyToDocument(aRange, IDF_ALL, sal_False, pUndoDoc); in Refresh()
266 pUndoDoc->TransferDrawPage( pDoc, nTab, nTab ); in Refresh()
269 pUndoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) ); in Refresh()
277 pDoc->GetName( nTab, aName ); in Refresh()
281 pDoc->RenameTab( nTab, in Refresh()
304 pDoc->TransferTab( pSrcDoc, nSrcTab, nTab, sal_False, // nicht neu einfuegen in Refresh()
308 pDoc->DeleteAreaTab( 0,0,MAXCOL,MAXROW, nTab, IDF_ALL ); in Refresh()
318 ScCellIterator aCellIter( pDoc, 0,0,0, MAXCOL,MAXROW,MAXTAB ); // all sheets in Refresh()
361 … ScFormulaCell* pNewCell = new ScFormulaCell( pDoc, aDestPos, &aTokenArr ); in Refresh()
362 pDoc->PutCell( aDestPos, pNewCell ); in Refresh()
375 pDoc->SetString( 0,0,nTab, ScGlobal::GetRscString(STR_LINKERROR) ); in Refresh()
376 pDoc->SetString( 0,1,nTab, ScGlobal::GetRscString(STR_LINKERRORFILE) ); in Refresh()
377 pDoc->SetString( 1,1,nTab, aNewUrl ); in Refresh()
378 pDoc->SetString( 0,2,nTab, ScGlobal::GetRscString(STR_LINKERRORTAB) ); in Refresh()
379 pDoc->SetString( 1,2,nTab, aTabName ); in Refresh()
388 pDoc->SetLink( nTab, nMode, aNewUrl, rNewFilter, aNewOpt, in Refresh()
427 pDoc->SetInLinkUpdate( sal_False ); in Refresh()
433 pDoc->BroadcastUno( aHint ); in Refresh()
556 ScDocument* pDoc = pDocShell->GetDocument(); in ScDocumentLoader() local
557 if( pDoc ) in ScDocumentLoader()
559 ScExtDocOptions* pExtDocOpt = pDoc->GetExtDocOptions(); in ScDocumentLoader()
563 pDoc->SetExtDocOptions( pExtDocOpt ); in ScDocumentLoader()