Lines Matching refs:pUndoDoc
288 ScDocument* pUndoDoc = NULL; in RepeatDB() local
296 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in RepeatDB()
308 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in RepeatDB()
311 IDF_NONE, sal_False, pUndoDoc ); in RepeatDB()
314 IDF_NONE, sal_False, pUndoDoc ); in RepeatDB()
317 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in RepeatDB()
320 pDoc->CopyToDocument( 0,nStartRow,nTab, MAXCOL,nEndRow,nTab, IDF_ALL, sal_False, pUndoDoc ); in RepeatDB()
323 pDoc->CopyToDocument( 0,0,0, MAXCOL,MAXROW,nTabCount-1, IDF_FORMULA, sal_False, pUndoDoc ); in RepeatDB()
395 pUndoDoc, pUndoTab, in RepeatDB()
501 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in Sort() local
504 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in Sort()
513 IDF_ALL|IDF_NOCAPTIONS, sal_False, pUndoDoc ); in Sort()
524 pDoc->CopyToDocument( aOldDest, IDF_ALL|IDF_NOCAPTIONS, sal_False, pUndoDoc ); in Sort()
532 IDF_NONE, sal_False, pUndoDoc ); in Sort()
539 … pUndoAction = new ScUndoSort( &rDocShell, nTab, rSortParam, bRepeatQuery, pUndoDoc, pUndoDB, pR ); in Sort()
767 ScDocument* pUndoDoc = NULL; in Query() local
773 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in Query()
776 pUndoDoc->InitUndo( pDoc, nDestTab, nDestTab, sal_False, sal_True ); in Query()
779 IDF_ALL, sal_False, pUndoDoc ); in Query()
784 pDoc->CopyToDocument( aOldDest, IDF_ALL, sal_False, pUndoDoc ); in Query()
790 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in Query()
792 IDF_NONE, sal_False, pUndoDoc ); in Query()
953 new ScUndoQuery( &rDocShell, nTab, rQueryParam, pUndoDoc, pUndoDB, in Query()
1041 ScDocument* pUndoDoc = NULL; in DoSubTotals() local
1052 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DoSubTotals()
1064 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in DoSubTotals()
1065 …tStartCol), 0, nTab, static_cast<SCCOL>(nOutEndCol), MAXROW, nTab, IDF_NONE, sal_False, pUndoDoc ); in DoSubTotals()
1066 …->CopyToDocument( 0, nOutStartRow, nTab, MAXCOL, nOutEndRow, nTab, IDF_NONE, sal_False, pUndoDoc ); in DoSubTotals()
1069 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, bOldFilter ); in DoSubTotals()
1073 IDF_ALL, sal_False, pUndoDoc ); in DoSubTotals()
1077 IDF_FORMULA, sal_False, pUndoDoc ); in DoSubTotals()
1124 pUndoDoc, pUndoTab, // pUndoDBData, in DoSubTotals()