Lines Matching refs:pUndoDoc
567 ScDocument* pUndoDoc = NULL; in DeleteContents() local
618 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DeleteContents()
619 pUndoDoc->InitUndo( pDoc, aMarkRange.aStart.Tab(), aMarkRange.aEnd.Tab() ); in DeleteContents()
632 pDoc->CopyToDocument( aExtendedRange, nUndoDocFlags, bMulti, pUndoDoc, &aMultiMark ); in DeleteContents()
650 pUndoDoc, bMulti, nFlags, bDrawUndo ) ); in DeleteContents()
706 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in TransliterateText() local
707 pUndoDoc->InitUndo( pDoc, nStartTab, nStartTab ); in TransliterateText()
710 pUndoDoc->AddUndoTab( i, i ); in TransliterateText()
715 pDoc->CopyToDocument( aCopyRange, IDF_CONTENTS, sal_True, pUndoDoc, &aMultiMark ); in TransliterateText()
718 new ScUndoTransliterate( &rDocShell, aMultiMark, pUndoDoc, nType ) ); in TransliterateText()
1220 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in ApplyAttributes() local
1221 pUndoDoc->InitUndo( pDoc, aMultiRange.aStart.Tab(), aMultiRange.aEnd.Tab() ); in ApplyAttributes()
1222 pDoc->CopyToDocument( aMultiRange, IDF_ATTRIB, bMulti, pUndoDoc, &rMark ); in ApplyAttributes()
1229 pUndoDoc, bMulti, &rPattern ) ); in ApplyAttributes()
1286 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in ApplyStyle() local
1289 pUndoDoc->InitUndo( pDoc, nStartTab, nStartTab ); in ApplyStyle()
1292 pUndoDoc->AddUndoTab( i, i ); in ApplyStyle()
1297 pDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, bMulti, pUndoDoc, &rMark ); in ApplyStyle()
1301 &rDocShell, rMark, aMultiRange, rStyleName, pUndoDoc ) ); in ApplyStyle()
2009 ScDocument* pUndoDoc = NULL; in DeleteCells() local
2017 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DeleteCells()
2018 pUndoDoc->InitUndo( pDoc, 0, nTabCount-1, (eCmd==DEL_DELCOLS), (eCmd==DEL_DELROWS) ); in DeleteCells()
2029 IDF_ALL | IDF_NOCAPTIONS, sal_False, pUndoDoc ); in DeleteCells()
2087 pUndoDoc->AddUndoTab( 0, nTabCount-1, sal_False, sal_False ); in DeleteCells()
2090 …pRefUndoDoc->CopyToDocument(0,0,0,MAXCOL,MAXROW,MAXTAB,IDF_FORMULA,sal_False,pUndoDoc,NULL,sal_Fal… in DeleteCells()
2118 eCmd, pUndoDoc, pUndoData ) ); in DeleteCells()
2375 ScDocument* pUndoDoc = NULL; in MoveBlock() local
2384 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in MoveBlock()
2385 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab, bWholeCols, bWholeRows ); in MoveBlock()
2390 nUndoFlags, sal_False, pUndoDoc ); in MoveBlock()
2396 pUndoDoc->AddUndoTab( nDestTab, nDestEndTab, bWholeCols, bWholeRows ); in MoveBlock()
2399 nUndoFlags, sal_False, pUndoDoc ); in MoveBlock()
2436 delete pUndoDoc; in MoveBlock()
2486 pUndoDoc->AddUndoTab( 0, nTabCount-1, sal_False, sal_False ); in MoveBlock()
2491 IDF_FORMULA, sal_False, pUndoDoc, NULL, sal_False ); in MoveBlock()
2500 bCut, pUndoDoc, pUndoData, bScenariosAdded ) ); in MoveBlock()
2756 ScDocument* pUndoDoc = NULL; in DeleteTable() local
2760 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in DeleteTable()
2763 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); // nur nTab mit Flags in DeleteTable()
2764 pUndoDoc->AddUndoTab( 0, nCount-1 ); // alle Tabs fuer Referenzen in DeleteTable()
2766 pDoc->CopyToDocument(0,0,nTab, MAXCOL,MAXROW,nTab, IDF_ALL,sal_False, pUndoDoc ); in DeleteTable()
2769 pUndoDoc->RenameTab( nTab, aOldName, sal_False ); in DeleteTable()
2771 pUndoDoc->SetLink( nTab, pDoc->GetLinkMode(nTab), pDoc->GetLinkDoc(nTab), in DeleteTable()
2778 pUndoDoc->SetScenario( nTab, sal_True ); in DeleteTable()
2783 pUndoDoc->SetScenarioData( nTab, aComment, aColor, nScenFlags ); in DeleteTable()
2785 pUndoDoc->SetActiveScenario( nTab, bActive ); in DeleteTable()
2787 pUndoDoc->SetVisible( nTab, pDoc->IsVisible( nTab ) ); in DeleteTable()
2788 pUndoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) ); in DeleteTable()
2789 pUndoDoc->SetSheetEvents( nTab, pDoc->GetSheetEvents( nTab ) ); in DeleteTable()
2799 if (pDoc->DeleteTab( nTab, pUndoDoc )) in DeleteTable()
2806 new ScUndoDeleteTab( &rDocShell, theTabs, pUndoDoc, pUndoData )); in DeleteTable()
2838 delete pUndoDoc; in DeleteTable()
3147 ScDocument* pUndoDoc = NULL; in SetWidthOrHeight() local
3155 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in SetWidthOrHeight()
3158 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_False ); in SetWidthOrHeight()
3159 …t<SCCOL>(nStart), 0, nTab, static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE, sal_False, pUndoDoc ); in SetWidthOrHeight()
3163 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in SetWidthOrHeight()
3164 …cast<SCROW>(nStart), nTab, MAXCOL, static_cast<SCROW>(nEnd), nTab, IDF_NONE, sal_False, pUndoDoc ); in SetWidthOrHeight()
3276 pUndoDoc, nRangeCnt, pUndoRanges, in SetWidthOrHeight()
3603 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in ClearItems() local
3604 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab ); in ClearItems()
3605 pDoc->CopyToDocument( aMarkRange, IDF_ATTRIB, sal_True, pUndoDoc, (ScMarkData*)&aMultiMark ); in ClearItems()
3608 new ScUndoClearItems( &rDocShell, aMultiMark, pUndoDoc, pWhich ) ); in ClearItems()
3644 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in ChangeIndent() local
3645 pUndoDoc->InitUndo( pDoc, nStartTab, nStartTab ); in ChangeIndent()
3648 pUndoDoc->AddUndoTab( i, i ); in ChangeIndent()
3653 pDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, sal_True, pUndoDoc, (ScMarkData*)&rMark ); in ChangeIndent()
3656 new ScUndoIndent( &rDocShell, rMark, pUndoDoc, bIncrement ) ); in ChangeIndent()
3721 ScDocument* pUndoDoc = NULL; in AutoFormat() local
3724 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in AutoFormat()
3725 pUndoDoc->InitUndo( pDoc, nStartTab, nStartTab, bSize, bSize ); in AutoFormat()
3728 pUndoDoc->AddUndoTab( i, i, bSize, bSize ); in AutoFormat()
3733 pDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, sal_False, pUndoDoc, &aMark ); in AutoFormat()
3737 IDF_NONE, sal_False, pUndoDoc, &aMark ); in AutoFormat()
3739 IDF_NONE, sal_False, pUndoDoc, &aMark ); in AutoFormat()
3786 new ScUndoAutoFormat( &rDocShell, rRange, pUndoDoc, aMark, bSize, nFormatNo ) ); in AutoFormat()
3830 ScDocument* pUndoDoc = NULL; in EnterMatrix() local
3835 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in EnterMatrix()
3836 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab ); in EnterMatrix()
3837 pDoc->CopyToDocument( rRange, IDF_ALL & ~IDF_NOTE, sal_False, pUndoDoc ); in EnterMatrix()
3872 new ScUndoEnterMatrix( &rDocShell, rRange, pUndoDoc, rString ) ); in EnterMatrix()
3923 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in TabOp() local
3924 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab ); in TabOp()
3925 pDoc->CopyToDocument( rRange, IDF_ALL & ~IDF_NOTE, sal_False, pUndoDoc ); in TabOp()
3930 nEndCol, nEndRow, nEndTab, pUndoDoc, in TabOp()
4017 ScDocument* pUndoDoc = NULL; in FillSimple() local
4023 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in FillSimple()
4024 pUndoDoc->InitUndo( pDoc, nDestStartTab, nDestStartTab ); in FillSimple()
4027 pUndoDoc->AddUndoTab( i, i ); in FillSimple()
4032 pDoc->CopyToDocument( aCopyRange, IDF_AUTOFILL, sal_False, pUndoDoc, &aMark ); in FillSimple()
4043 new ScUndoAutoFill( &rDocShell, aDestArea, aSourceArea, pUndoDoc, aMark, in FillSimple()
4124 ScDocument* pUndoDoc = NULL; in FillSeries() local
4130 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in FillSeries()
4131 pUndoDoc->InitUndo( pDoc, nDestStartTab, nDestStartTab ); in FillSeries()
4134 pUndoDoc->AddUndoTab( i, i ); in FillSeries()
4139 IDF_AUTOFILL, sal_False, pUndoDoc, &aMark ); in FillSeries()
4165 new ScUndoAutoFill( &rDocShell, aDestArea, aSourceArea, pUndoDoc, aMark, in FillSeries()
4262 ScDocument* pUndoDoc = NULL; in FillAuto() local
4268 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in FillAuto()
4269 pUndoDoc->InitUndo( pDoc, nDestStartTab, nDestStartTab ); in FillAuto()
4272 pUndoDoc->AddUndoTab( i, i ); in FillAuto()
4278 IDF_AUTOFILL, sal_False, pUndoDoc, &aMark ); in FillAuto()
4290 new ScUndoAutoFill( &rDocShell, aDestArea, aSourceArea, pUndoDoc, aMark, in FillAuto()
4346 ScDocument* pUndoDoc = 0; in MergeCells() local
4357 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in MergeCells()
4358 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in MergeCells()
4361 IDF_ALL|IDF_NOCAPTIONS, sal_False, pUndoDoc ); in MergeCells()
4377 nEndCol, nEndRow, nTab, bNeedContents, pUndoDoc, pDrawUndo ) ); in MergeCells()
4417 ScDocument* pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in UnmergeCells() local
4418 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in UnmergeCells()
4419 pDoc->CopyToDocument( aExtended, IDF_ATTRIB, sal_False, pUndoDoc ); in UnmergeCells()
4421 new ScUndoRemoveMerge( &rDocShell, rRange, pUndoDoc ) ); in UnmergeCells()
4658 ScDocument* pUndoDoc = NULL; in InsertNameList() local
4683 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in InsertNameList()
4684 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in InsertNameList()
4686 IDF_ALL, sal_False, pUndoDoc ); in InsertNameList()
4735 pUndoDoc, pRedoDoc ) ); in InsertNameList()