Lines Matching refs:pUndoDoc
1205 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in ApplyPatternLines() local
1208 pUndoDoc->InitUndo( pDoc, nStartTab, nStartTab ); in ApplyPatternLines()
1211 pUndoDoc->AddUndoTab( i, i ); in ApplyPatternLines()
1216 pDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, bMulti, pUndoDoc, &aFuncMark ); in ApplyPatternLines()
1223 pUndoDoc, bMulti, &rAttr, pNewOuter, pNewInner ) ); in ApplyPatternLines()
1318 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in ApplySelectionPattern() local
1319 pUndoDoc->InitUndo( pDoc, nStartTab, nStartTab ); in ApplySelectionPattern()
1322 pUndoDoc->AddUndoTab( i, i ); in ApplySelectionPattern()
1323 pDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, bMulti, pUndoDoc, &aFuncMark ); in ApplySelectionPattern()
1332 pUndoDoc, bMulti, &rAttr ) ); in ApplySelectionPattern()
1479 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in SetStyleSheetToMarked() local
1480 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in SetStyleSheetToMarked()
1483 pUndoDoc->AddUndoTab( i, i ); in SetStyleSheetToMarked()
1488 pDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, sal_True, pUndoDoc, &aFuncMark ); in SetStyleSheetToMarked()
1493 new ScUndoSelectionStyle( pDocSh, aFuncMark, aMarkRange, aName, pUndoDoc ) ); in SetStyleSheetToMarked()
1511 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in SetStyleSheetToMarked() local
1512 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in SetStyleSheetToMarked()
1515 pUndoDoc->AddUndoTab( i, i ); in SetStyleSheetToMarked()
1518 pDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, sal_False, pUndoDoc ); in SetStyleSheetToMarked()
1526 new ScUndoSelectionStyle( pDocSh, aUndoMark, aMarkRange, aName, pUndoDoc ) ); in SetStyleSheetToMarked()
1802 ScDocument* pUndoDoc = NULL; in DeleteMulti() local
1806 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DeleteMulti()
1807 pUndoDoc->InitUndo( pDoc, nTab, nTab, !bRows, bRows ); // Zeilenhoehen in DeleteMulti()
1815 pDoc->CopyToDocument( 0,nStart,nTab, MAXCOL,nEnd,nTab, IDF_ALL,sal_False,pUndoDoc ); in DeleteMulti()
1819 IDF_ALL,sal_False,pUndoDoc ); in DeleteMulti()
1824 pUndoDoc->AddUndoTab( 0, nTabCount-1, sal_False, sal_False ); in DeleteMulti()
1825 pDoc->CopyToDocument( 0,0,0, MAXCOL,MAXROW,MAXTAB, IDF_FORMULA,sal_False,pUndoDoc ); in DeleteMulti()
1860 pUndoDoc, pUndoData ) ); in DeleteMulti()
1939 ScDocument* pUndoDoc = NULL; in DeleteContents() local
1991 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DeleteContents()
1993 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in DeleteContents()
1997 pUndoDoc->AddUndoTab( i, i ); in DeleteContents()
2013 pDoc->CopyToDocument( aCopyRange, nUndoDocFlags, bMulti, pUndoDoc, &aFuncMark ); in DeleteContents()
2031 pUndoDoc, bMulti, nFlags, bDrawUndo ) ); in DeleteContents()
2126 ScDocument* pUndoDoc = NULL; in SetWidthOrHeight() local
2134 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in SetWidthOrHeight()
2141 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_False ); in SetWidthOrHeight()
2143 pUndoDoc->AddUndoTab( nTab, nTab, sal_True, sal_False ); in SetWidthOrHeight()
2146 sal_False, pUndoDoc ); in SetWidthOrHeight()
2151 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in SetWidthOrHeight()
2153 pUndoDoc->AddUndoTab( nTab, nTab, sal_False, sal_True ); in SetWidthOrHeight()
2154 pDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pUndoDoc ); in SetWidthOrHeight()
2288 pUndoDoc, nRangeCnt, pUndoRanges, in SetWidthOrHeight()