Lines Matching refs:pDoc
100 ScDocument* pDoc = pDocSh->GetDocument(); in PasteRTF() local
102 const sal_Bool bRecord (pDoc->IsUndoEnabled()); in PasteRTF()
104 const ScPatternAttr* pPattern = pDoc->GetPattern( nStartCol, nStartRow, nTab ); in PasteRTF()
105 ScTabEditEngine* pEngine = new ScTabEditEngine( *pPattern, pDoc->GetEnginePool() ); in PasteRTF()
131 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in PasteRTF()
132 …pDoc->CopyToDocument( nStartCol,nStartRow,nTab, nStartCol,nEndRow,nTab, IDF_ALL, sal_False, pUndoD… in PasteRTF()
149 pRedoDoc->InitUndo( pDoc, nTab, nTab ); in PasteRTF()
150 …pDoc->CopyToDocument( nStartCol,nStartRow,nTab, nStartCol,nEndRow,nTab, IDF_ALL|IDF_NOCAPTIONS, sa… in PasteRTF()
187 ScDocument* pDoc = GetViewData()->GetDocument(); in DoRefConversion() local
189 SCTAB nTabCount = pDoc->GetTableCount(); in DoRefConversion()
190 if (bRecord && !pDoc->IsUndoEnabled()) in DoRefConversion()
205 ScEditableTester aTester( pDoc, aMarkRange.aStart.Col(), aMarkRange.aStart.Row(), in DoRefConversion()
221 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in DoRefConversion()
232 pDoc->CopyToDocument( aCopyRange, IDF_ALL, bMulti, pUndoDoc, &rMark ); in DoRefConversion()
248 ScCellIterator aIter( pDoc, aRange ); in DoRefConversion()
257 ScRefFinder aFinder( aOld, pDoc ); in DoRefConversion()
263 ScCompiler aComp( pDoc, aPos); in DoRefConversion()
264 aComp.SetGrammar(pDoc->GetGrammar()); in DoRefConversion()
266 ScFormulaCell* pNewCell = new ScFormulaCell( pDoc, aPos, in DoRefConversion()
268 pDoc->PutCell( aPos, pNewCell ); in DoRefConversion()
281 pRedoDoc->InitUndo( pDoc, nTab, nTab ); in DoRefConversion()
292 pDoc->CopyToDocument( aCopyRange, IDF_ALL, bMulti, pRedoDoc, &rMark ); in DoRefConversion()
314 ScDocument* pDoc = pDocSh->GetDocument(); in DoThesaurus() local
327 if (bRecord && !pDoc->IsUndoEnabled()) in DoThesaurus()
343 ScEditableTester aTester( pDoc, nCol, nRow, nCol, nRow, rMark ); in DoThesaurus()
350 pDoc->GetCellType(nCol, nRow, nTab, eCellType); in DoThesaurus()
366 pThesaurusEngine = new ScEditEngineDefaulter( pDoc->GetEnginePool() ); in DoThesaurus()
367 pThesaurusEngine->SetEditTextObjectPool( pDoc->GetEditPool() ); in DoThesaurus()
373 pPattern = pDoc->GetPattern(nCol, nRow, nTab); in DoThesaurus()
382 pDoc->GetString(nCol, nRow, nTab, sOldText); in DoThesaurus()
387 pDoc->GetCell(nCol, nRow, nTab, pCell); in DoThesaurus()
417 LanguageType eLnge = ScViewUtil::GetEffLanguage( pDoc, ScAddress( nCol, nRow, nTab ) ); in DoThesaurus()
430 pCell = new ScEditCell( pNewTObj, pDoc, in DoThesaurus()
432 pDoc->PutCell( nCol, nRow, nTab, pCell ); in DoThesaurus()
437 pDoc->SetString(nCol, nRow, nTab, sNewString); in DoThesaurus()
478 ScDocument* pDoc = pDocSh->GetDocument(); in DoSheetConversion() local
484 if (bRecord && !pDoc->IsUndoEnabled()) in DoSheetConversion()
505 ScEditableTester aTester( pDoc, rMark ); in DoSheetConversion()
519 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in DoSheetConversion()
521 pRedoDoc->InitUndo( pDoc, nTab, nTab ); in DoSheetConversion()
525 SCTAB nTabCount = pDoc->GetTableCount(); in DoSheetConversion()
537 sal_Bool bOldDis = pDoc->IsIdleDisabled(); in DoSheetConversion()
538 pDoc->DisableIdle( sal_True ); // #42726# stop online spelling in DoSheetConversion()
547 pDoc->GetEnginePool(), rViewData, pUndoDoc, pRedoDoc, LinguMgr::GetSpellChecker() ); in DoSheetConversion()
552 pDoc->GetEnginePool(), rViewData, rConvParam, pUndoDoc, pRedoDoc ); in DoSheetConversion()
589 pDoc->SetDirty(); in DoSheetConversion()
606 pDoc->DisableIdle(bOldDis); in DoSheetConversion()
762 ScDocument* pDoc = GetViewData()->GetDocument(); in InsertBookmark() local
765 ScBaseCell* pCell = pDoc->GetCell( aCellPos ); in InsertBookmark()
766 EditEngine aEngine( pDoc->GetEnginePool() ); in InsertBookmark()
778 pDoc->GetInputString( nPosX, nPosY, nTab, aOld ); in InsertBookmark()
811 ScDocument* pDoc = GetViewData()->GetDocShell()->GetDocument(); in HasBookmarkAtCursor() local
813 ScBaseCell* pCell = pDoc->GetCell( aPos ); in HasBookmarkAtCursor()