Lines Matching refs:pUndoDoc
916 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in RemoveManualBreaks() local
917 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in RemoveManualBreaks()
918 pDoc->CopyToDocument( 0,0,nTab, MAXCOL,MAXROW,nTab, IDF_NONE, sal_False, pUndoDoc ); in RemoveManualBreaks()
920 new ScUndoRemoveBreaks( pDocSh, nTab, pUndoDoc ) ); in RemoveManualBreaks()
1350 ScDocument* pUndoDoc = NULL; in FillTab() local
1354 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in FillTab()
1355 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in FillTab()
1362 pUndoDoc->AddUndoTab( i, i ); in FillTab()
1365 pDoc->CopyToDocument( aMarkRange, IDF_ALL, bMulti, pUndoDoc ); in FillTab()
1386 pUndoDoc, bMulti, nTab, nFlags, nFunction, bSkipEmpty, bAsLink ) ); in FillTab()
1559 ScDocument* pUndoDoc = NULL; in AutoFormat()
1562 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in AutoFormat()
1563 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab, bSize, bSize ); in AutoFormat()
1565 IDF_ATTRIB, sal_False, pUndoDoc ); in AutoFormat()
1569 IDF_NONE, sal_False, pUndoDoc ); in AutoFormat()
1571 IDF_NONE, sal_False, pUndoDoc ); in AutoFormat()
1603 pUndoDoc, rMark, bSize, nFormatNo ) ); in AutoFormat()
1683 ScDocument* pUndoDoc = NULL; in SearchAndReplace() local
1691 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in SearchAndReplace()
1692 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab ); in SearchAndReplace()
1716 if (pDoc->SearchAndReplace( *pSearchItem, nCol, nRow, nTab, rMark, aUndoStr, pUndoDoc ) ) in SearchAndReplace()
1725 aUndoStr, pUndoDoc, pSearchItem ) ); in SearchAndReplace()
1726 pUndoDoc = NULL; in SearchAndReplace()
1844 delete pUndoDoc; // loeschen wenn nicht benutzt in SearchAndReplace()
2157 ScDocument* pUndoDoc = NULL; in DeleteTables() local
2161 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DeleteTables()
2172 pUndoDoc->InitUndo( pDoc, nTab,nTab, sal_True,sal_True ); // incl. Spalten/Zeilenflags in DeleteTables()
2174 pUndoDoc->AddUndoTab( nTab,nTab, sal_True,sal_True ); // incl. Spalten/Zeilenflags in DeleteTables()
2176 pDoc->CopyToDocument(0,0,nTab, MAXCOL,MAXROW,nTab, IDF_ALL,sal_False, pUndoDoc ); in DeleteTables()
2178 pUndoDoc->RenameTab( nTab, aOldName, sal_False ); in DeleteTables()
2182 pUndoDoc->SetLink( nTab, pDoc->GetLinkMode(nTab), pDoc->GetLinkDoc(nTab), in DeleteTables()
2189 pUndoDoc->SetScenario( nTab, sal_True ); in DeleteTables()
2194 pUndoDoc->SetScenarioData( nTab, aComment, aColor, nScenFlags ); in DeleteTables()
2196 pUndoDoc->SetActiveScenario( nTab, bActive ); in DeleteTables()
2198 pUndoDoc->SetVisible( nTab, pDoc->IsVisible( nTab ) ); in DeleteTables()
2199 pUndoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) ); in DeleteTables()
2200 pUndoDoc->SetSheetEvents( nTab, pDoc->GetSheetEvents( nTab ) ); in DeleteTables()
2203 pUndoDoc->SetTabProtection(nTab, pDoc->GetTabProtection(nTab)); in DeleteTables()
2209 pUndoDoc->AddUndoTab( 0, nCount-1 ); // alle Tabs fuer Referenzen in DeleteTables()
2222 if (pDoc->DeleteTab( TheTabs[i-1], pUndoDoc )) in DeleteTables()
2239 pUndoDoc, pUndoData )); in DeleteTables()
2266 delete pUndoDoc; in DeleteTables()