Lines Matching refs:pClipDoc
225 void ScViewFunc::CutToClip( ScDocument* pClipDoc, sal_Bool bIncludeObjects ) in CutToClip() argument
254 CopyToClip( pClipDoc, sal_True, sal_False, bIncludeObjects ); // Ab ins Clipboard in CutToClip()
304 sal_Bool ScViewFunc::CopyToClip( ScDocument* pClipDoc, sal_Bool bCut, sal_Bool bApi, sal_Bool bIncl… in CopyToClip() argument
322 if ( !pClipDoc ) // no clip doc specified in CopyToClip()
324 pClipDoc = new ScDocument( SCDOCMODE_CLIP ); // create one (deleted by ScTransferObj) in CopyToClip()
344 pDoc->CopyToClip(aClipParam, pClipDoc, &rMark, false, false, bIncludeObjects); in CopyToClip()
346 if ( pDoc && pClipDoc ) in CopyToClip()
348 ScDrawLayer* pDrawLayer = pClipDoc->GetDrawLayer(); in CopyToClip()
351 ScClipParam& rClipParam = pClipDoc->GetClipParam(); in CopyToClip()
353 SCTAB nTabCount = pClipDoc->GetTableCount(); in CopyToClip()
371 pClipDoc->ExtendMerge( aRange, sal_True ); in CopyToClip()
381 ScTransferObj* pTransferObj = new ScTransferObj( pClipDoc, aObjDesc ); in CopyToClip()
416 if (pClipDoc) in CopyToClip()
541 …ScDocument *pClipDoc = new ScDocument( SCDOCMODE_CLIP ); // create one (deleted by ScTransferOb… in CopyToTransferable() local
547 pDoc->CopyToClip(aClipParam, pClipDoc, &rMark, false, false, true); in CopyToTransferable()
550 pClipDoc->ExtendMerge( aRange, sal_True ); in CopyToTransferable()
556 ScTransferObj* pTransferObj = new ScTransferObj( pClipDoc, aObjDesc ); in CopyToTransferable()
947 sal_Bool ScViewFunc::PasteFromClip( sal_uInt16 nFlags, ScDocument* pClipDoc, in PasteFromClip() argument
953 if (!pClipDoc) in PasteFromClip()
972 ScClipParam& rClipParam = pClipDoc->GetClipParam(); in PasteFromClip()
975 nFlags, pClipDoc, nFunction, bSkipEmpty, bTranspose, bAsLink, bAllowDialogs, in PasteFromClip()
978 sal_Bool bCutMode = pClipDoc->IsCutMode(); // if transposing, take from original clipdoc in PasteFromClip()
982 sal_Bool bPasteDraw = ( pClipDoc->GetDrawLayer() && ( nFlags & (IDF_OBJECTS|IDF_NOTE) ) ); in PasteFromClip()
993 pClipDoc->GetClipArea( nX, nY, sal_True ); in PasteFromClip()
999 pOrigClipDoc = pClipDoc; // fuer Referenzen in PasteFromClip()
1009 pClipDoc->TransposeClip( xTransClip.get(), nFlags, bAsLink ); in PasteFromClip()
1010 pClipDoc = xTransClip.get(); in PasteFromClip()
1023 pClipDoc->GetClipArea( nClipSizeX, nClipSizeY, sal_True ); // size in clipboard doc in PasteFromClip()
1028 pClipDoc->GetClipArea( nDestSizeX, nDestSizeY, bIncludeFiltered ); in PasteFromClip()
1201 sal_Bool bCut = pClipDoc->IsCutMode(); in PasteFromClip()
1209 pClipDoc->SetCutMode( bCut ); in PasteFromClip()
1226 pClipDoc->GetClipStart( nClipStartX, nClipStartY ); in PasteFromClip()
1234 if ( pClipDoc->HasTable(nClipTab) ) in PasteFromClip()
1235 …if ( pClipDoc->ExtendMerge( nClipStartX,nClipStartY, nUndoEndCol,nUndoEndRow, nClipTab, sal_False … in PasteFromClip()
1274 … String aUndo = ScGlobal::GetRscString( pClipDoc->IsCutMode() ? STR_UNDO_MOVE : STR_UNDO_COPY ); in PasteFromClip()
1381 pRefUndoDoc, pClipDoc, sal_True, sal_False, bIncludeFiltered, in PasteFromClip()
1391 pDoc->CopyFromClip( aUserRange, aFilteredMark, nNoObjFlags, pRefUndoDoc, pClipDoc, in PasteFromClip()
1397 pDoc->CopyFromClip( aUserRange, aFilteredMark, nContFlags, pRefUndoDoc, pClipDoc ); in PasteFromClip()
1401 if ( !bIncludeFiltered && pClipDoc->HasClipFilteredRows() ) in PasteFromClip()
1430 pDoc->CopyFromClip( aUserRange, aFilteredMark, IDF_OBJECTS, pRefUndoDoc, pClipDoc, in PasteFromClip()
1543 sal_uInt16 nFlags, ScDocument* pClipDoc, sal_uInt16 nFunction, in PasteMultiRangesFromClip() argument
1552 ScClipParam& rClipParam = pClipDoc->GetClipParam(); in PasteMultiRangesFromClip()
1565 pClipDoc->TransposeClip(pTransClip.get(), nFlags, bAsLink); in PasteMultiRangesFromClip()
1566 pClipDoc = pTransClip.release(); in PasteMultiRangesFromClip()
1651 pDoc->CopyMultiRangeFromClip(rCurPos, aMark, nNoObjFlags, pClipDoc, in PasteMultiRangesFromClip()
1662 pDoc->CopyMultiRangeFromClip(rCurPos, aMark, IDF_OBJECTS, pClipDoc, in PasteMultiRangesFromClip()
1674 pClipDoc->IsCutMode() ? STR_UNDO_CUT : STR_UNDO_COPY); in PasteMultiRangesFromClip()
1848 ScDocument* pClipDoc = new ScDocument( SCDOCMODE_CLIP ); in LinkBlock() local
1851 rSource.aStart.Tab(), pClipDoc ); in LinkBlock()
1862 PasteFromClip( IDF_ALL, pClipDoc, PASTE_NOFUNC, sal_False, sal_False, sal_True ); // als Link in LinkBlock()
1864 delete pClipDoc; in LinkBlock()