Lines Matching refs:pUndoDoc
259 ScDocument* pUndoDoc = NULL; in CutToClip() local
262 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in CutToClip()
263 pUndoDoc->InitUndoSelected( pDoc, rMark ); in CutToClip()
268 …pDoc->CopyToDocument( aCopyRange, (IDF_ALL & ~IDF_OBJECTS) | IDF_NOCAPTIONS, sal_False, pUndoDoc ); in CutToClip()
288 new ScUndoCut( pDocSh, aRange, aOldEnd, rMark, pUndoDoc ) ); in CutToClip()
1312 ScDocument* pUndoDoc = NULL; in PasteFromClip() local
1319 pUndoDoc = new ScDocument( SCDOCMODE_UNDO ); in PasteFromClip()
1320 pUndoDoc->InitUndoSelected( pDoc, aFilteredMark, bColInfo, bRowInfo ); in PasteFromClip()
1325 nUndoFlags, sal_False, pUndoDoc ); in PasteFromClip()
1473 pUndoDoc->AddUndoTab( 0, nTabCount-1 ); in PasteFromClip()
1476 IDF_FORMULA, sal_False, pUndoDoc ); in PasteFromClip()
1493 pUndoDoc, pRedoDoc, nFlags | nUndoFlags, in PasteFromClip()
1621 ::std::auto_ptr<ScDocument> pUndoDoc; in PasteMultiRangesFromClip()
1624 pUndoDoc.reset(new ScDocument(SCDOCMODE_UNDO)); in PasteMultiRangesFromClip()
1625 pUndoDoc->InitUndoSelected(pDoc, aMark, false, false); in PasteMultiRangesFromClip()
1626 pDoc->CopyToDocument(aMarkedRange, nUndoFlags, false, pUndoDoc.get(), &aMark, true); in PasteMultiRangesFromClip()
1691 … aMark, pUndoDoc.release(), NULL, nFlags|nUndoFlags, NULL, NULL, NULL, NULL, false, &aOptions); in PasteMultiRangesFromClip()