Lines Matching refs:pDoc

111 	ScDocument* pDoc = pDocShell->GetDocument();  in Undo()  local
131 static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE, sal_False, pDoc); in Undo()
133 pUndoDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
204 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
210 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
291 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
296 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
302 static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE, sal_False, pDoc); in Undo()
304 pUndoDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
306 pDoc->UpdatePageBreaks( nTab ); in Undo()
381 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
387 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
406 static_cast<SCCOL>(nEndCol), MAXROW, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
407 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
409 pDoc->UpdatePageBreaks( nTab ); in Undo()
486 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
492 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
501 pUndoDoc->CopyToDocument( nStartCol, 0, nTab, nEndCol, MAXROW, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
502 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
504 pDoc->UpdatePageBreaks( nTab ); in Undo()
577 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
583 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
598 pDoc); in Undo()
599 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
692 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
702pDoc->DeleteRow( 0,nTab, MAXCOL,nTab, aParam.nRow2+1, static_cast<SCSIZE>(nNewEndRow-aParam.nRow2)… in Undo()
706pDoc->InsertRow( 0,nTab, MAXCOL,nTab, nNewEndRow+1, static_cast<SCSIZE>(aParam.nRow2-nNewEndRow) ); in Undo()
712 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
727 pDoc); in Undo()
728 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
738 pDoc->DeleteAreaTab( 0,aParam.nRow1+1, MAXCOL,aParam.nRow2, nTab, IDF_ALL ); in Undo()
741 IDF_NONE, sal_False, pDoc ); // Flags in Undo()
743 IDF_ALL, sal_False, pDoc ); in Undo()
752 pDoc->SetRangeName( new ScRangeName( *pUndoRange ) ); in Undo()
754 pDoc->SetDBCollection( new ScDBCollection( *pUndoDB ), sal_True ); in Undo()
831 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
852 pDoc->DeleteAreaTab( nStartCol,nStartRow, nEndCol,nEndRow, nSortTab, IDF_ALL|IDF_NOCAPTIONS ); in Undo()
854 IDF_ALL|IDF_NOCAPTIONS, sal_False, pDoc ); in Undo()
859 pDoc->DeleteAreaTab( aDestRange, IDF_ALL|IDF_NOCAPTIONS ); in Undo()
860 pUndoDoc->CopyToDocument( aDestRange, IDF_ALL|IDF_NOCAPTIONS, sal_False, pDoc ); in Undo()
867 IDF_NONE, sal_False, pDoc ); in Undo()
870 pDoc->SetDBCollection( new ScDBCollection( *pUndoDB ), sal_True ); in Undo()
968 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
979 ScDBData* pData = pDoc->GetDBAtCursor( aQueryParam.nDestCol, aQueryParam.nDestRow, in Undo()
992 pDoc->FitBlock( ScRange( in Undo()
1001 pDoc->DeleteAreaTab( aQueryParam.nDestCol, aQueryParam.nDestRow, in Undo()
1008 IDF_ALL, sal_False, pDoc ); in Undo()
1014 pDoc->DeleteAreaTab( aOldDest, IDF_ALL ); in Undo()
1015 pUndoDoc->CopyToDocument( aOldDest, IDF_ALL, sal_False, pDoc ); in Undo()
1020 IDF_NONE, sal_False, pDoc ); in Undo()
1023 pDoc->SetDBCollection( new ScDBCollection( *pUndoDB ), sal_True ); in Undo()
1027 pDoc->InvalidatePageBreaks(nTab); in Undo()
1028 pDoc->UpdatePageBreaks( nTab ); in Undo()
1033 pDoc->SetDirty( aDirtyRange ); in Undo()
1035 DoSdrUndoAction( pDrawUndo, pDoc ); in Undo()
1120 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
1121 ScDBCollection* pColl = pDoc->GetDBCollection(); in DoChange()
1135 pDoc->ApplyFlagsTab( nRangeX1, nRangeY1, nRangeX2, nRangeY1, nRangeTab, SC_MF_AUTO ); in DoChange()
1137 pDoc->RemoveFlagsTab( nRangeX1, nRangeY1, nRangeX2, nRangeY1, nRangeTab, SC_MF_AUTO ); in DoChange()
1193 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1195 sal_Bool bOldAutoCalc = pDoc->GetAutoCalc(); in Undo()
1196 pDoc->SetAutoCalc( sal_False ); // unnoetige Berechnungen vermeiden in Undo()
1197 pDoc->CompileDBFormula( sal_True ); // CreateFormulaString in Undo()
1198 pDoc->SetDBCollection( new ScDBCollection(*pUndoColl), sal_True ); in Undo()
1199 pDoc->CompileDBFormula( sal_False ); // CompileFormulaString in Undo()
1200 pDoc->SetAutoCalc( bOldAutoCalc ); in Undo()
1211 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1213 sal_Bool bOldAutoCalc = pDoc->GetAutoCalc(); in Redo()
1214 pDoc->SetAutoCalc( sal_False ); // unnoetige Berechnungen vermeiden in Redo()
1215 pDoc->CompileDBFormula( sal_True ); // CreateFormulaString in Redo()
1216 pDoc->SetDBCollection( new ScDBCollection(*pRedoColl), sal_True ); in Redo()
1217 pDoc->CompileDBFormula( sal_False ); // CompileFormulaString in Redo()
1218 pDoc->SetAutoCalc( bOldAutoCalc ); in Redo()
1275 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1288 pCurrentData = ScUndoUtil::GetOldDBData( pRedoDBData, pDoc, nTab, in Undo()
1297 sal_Bool bOldAutoCalc = pDoc->GetAutoCalc(); in Undo()
1298 pDoc->SetAutoCalc( sal_False ); // outside of the loop in Undo()
1301 pDoc->CopyToDocument( nCopyCol,nRow1,nTab, nCopyCol,nRow2,nTab, in Undo()
1303pDoc->DeleteAreaTab( nCopyCol,nRow1, nCopyCol,nRow2, nTab, IDF_CONTENTS & ~IDF_NOTE ); in Undo()
1304 pDoc->DoColResize( nTab, nCopyCol, nCopyCol, 0 ); in Undo()
1306 pDoc->SetAutoCalc( bOldAutoCalc ); in Undo()
1320 pDoc->DeleteAreaTab( aNew.aStart.Col(), aNew.aStart.Row(), in Undo()
1325 pDoc->FitBlock( aNew, aOld, sal_False ); // rueckwaerts in Undo()
1328 pDoc->DeleteAreaTab( aImportParam.nCol1,aImportParam.nRow1, in Undo()
1333 IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in Undo()
1364 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1377 pCurrentData = ScUndoUtil::GetOldDBData( pUndoDBData, pDoc, nTab, in Redo()
1392 pDoc->FitBlock( aOld, aNew ); in Redo()
1394 pDoc->DeleteAreaTab( aNew.aStart.Col(), aNew.aStart.Row(), in Redo()
1397 … pRedoDoc->CopyToDocument( aNew, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); // incl. Formeln in Redo()
1401 pDoc->DeleteAreaTab( aImportParam.nCol1,aImportParam.nRow1, in Redo()
1404 nEndCol,nEndRow,nTab, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in Redo()
1503 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1509 pDoc->FitBlock( aNewQuery, aOldQuery, sal_False ); in Undo()
1517 pDoc->GetCellType(ScAddress( nCol, nRow, nTab )) == CELLTYPE_FORMULA ) in Undo()
1527 pDoc->FitBlock( aNewForm, aOldForm, sal_False ); in Undo()
1536pDoc->DeleteRow( 0,nTab, MAXCOL,nTab, aBlockEnd.Row()+1, static_cast<SCSIZE>(nNewEndRow-aBlockEnd.… in Undo()
1540pDoc->InsertRow( 0,nTab, MAXCOL,nTab, nNewEndRow+1, static_cast<SCSIZE>(nNewEndRow-aBlockEnd.Row()… in Undo()
1545 pDoc->SetOutlineTable( nTab, pUndoTable ); in Undo()
1560 pDoc ); in Undo()
1561 pUndoDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pDoc ); in Undo()
1570 pDoc->DeleteAreaTab( 0, aBlockStart.Row(), in Undo()
1574 IDF_NONE, sal_False, pDoc ); // Flags in Undo()
1576 IDF_ALL, sal_False, pDoc ); in Undo()
1582 pDoc->SetRangeName( new ScRangeName( *pUndoRange ) ); in Undo()
1584 pDoc->SetDBCollection( new ScDBCollection( *pUndoDB ), sal_True ); in Undo()
1833 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1841 pDoc->DeleteAreaTab( aNewRange, IDF_ALL ); in Undo()
1842 pNewUndoDoc->CopyToDocument( aNewRange, IDF_ALL, sal_False, pDoc ); in Undo()
1847 pDoc->DeleteAreaTab( aOldRange, IDF_ALL ); in Undo()
1848 pOldUndoDoc->CopyToDocument( aOldRange, IDF_ALL, sal_False, pDoc ); in Undo()
1858 ScDPObject* pDocObj = pDoc->GetDPAtCursor( in Undo()
1876 pDoc->GetDPCollection()->FreeTable(pDocObj); in Undo()
1886 if ( !pDoc->GetDPCollection()->InsertNewTable(pDestObj) ) in Undo()
1908 pDoc->BroadcastUno( ScDataPilotModifiedHint( pNewDPObject->GetName() ) ); in Undo()
1921 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1930 pSourceObj = pDoc->GetDPAtCursor( in Redo()
1988 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1998 pDoc->DeleteRow( 0,nTab, MAXCOL,nTab, aDestArea.nRowStart, nInsertCount ); in Undo()
2001 pDoc->SetOutlineTable( nTab, pUndoTab ); in Undo()
2004 pUndoDoc->CopyToDocument( 0,0,nTab, MAXCOL,MAXROW,nTab, IDF_NONE, sal_False, pDoc ); in Undo()
2007 pDoc->DeleteAreaTab( 0,aDestArea.nRowStart, MAXCOL,aDestArea.nRowEnd, nTab, IDF_ALL ); in Undo()
2010 IDF_ALL, sal_False, pDoc ); in Undo()
2015 pDoc->DeleteAreaTab(aOldRange, IDF_ALL); in Undo()
2016 pUndoDoc->CopyToDocument(aOldRange, IDF_ALL, sal_False, pDoc); in Undo()
2024 pDoc->DeleteAreaTab( aDestArea.nColStart,aDestArea.nRowStart, in Undo()
2028 IDF_ALL, sal_False, pDoc ); in Undo()
2033 pDoc->DeleteAreaTab(aOldRange, IDF_ALL); in Undo()
2034 pUndoDoc->CopyToDocument(aOldRange, IDF_ALL, sal_False, pDoc); in Undo()
2053 ScDBCollection* pColl = pDoc->GetDBCollection(); in Undo()
2114 ScDocument* pDoc = pDocShell->GetDocument(); in Init() local
2116 pDoc->GetOldChartParameters( aChartName, *aOldRangeListRef, bOldColHeaders, bOldRowHeaders ); in Init()