Lines Matching refs:pUndoDoc
630 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DoConsolidate() local
631 pUndoDoc->InitUndo( &aDocument, 0, nTabCount-1, sal_False, sal_True ); in DoConsolidate()
635 IDF_NONE, sal_False, pUndoDoc ); in DoConsolidate()
639 IDF_FORMULA, sal_False, pUndoDoc ); in DoConsolidate()
644 IDF_ALL, sal_False, pUndoDoc ); in DoConsolidate()
648 aDocument.CopyToDocument( aOldDest, IDF_ALL, sal_False, pUndoDoc ); in DoConsolidate()
651 new ScUndoConsolidate( this, aDestArea, rParam, pUndoDoc, in DoConsolidate()
656 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DoConsolidate() local
657 pUndoDoc->InitUndo( &aDocument, aDestArea.nTab, aDestArea.nTab ); in DoConsolidate()
661 IDF_ALL, sal_False, pUndoDoc ); in DoConsolidate()
665 aDocument.CopyToDocument( aOldDest, IDF_ALL, sal_False, pUndoDoc ); in DoConsolidate()
668 new ScUndoConsolidate( this, aDestArea, rParam, pUndoDoc, in DoConsolidate()
745 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in UseScenario() local
746 pUndoDoc->InitUndo( &aDocument, nTab,nEndTab ); // auch alle Szenarien in UseScenario()
749 nEndCol,nEndRow,nTab, IDF_ALL,sal_True, pUndoDoc, &aScenMark ); in UseScenario()
753 pUndoDoc->SetScenario( i, sal_True ); in UseScenario()
758 pUndoDoc->SetScenarioData( i, aComment, aColor, nScenFlags ); in UseScenario()
760 pUndoDoc->SetActiveScenario( i, bActive ); in UseScenario()
764 IDF_ALL,sal_False, pUndoDoc ); in UseScenario()
770 pUndoDoc, rName ) ); in UseScenario()