Lines Matching refs:rSh

172 	SwTrnsfrDdeLink( SwTransferable& rTrans, SwWrtShell& rSh );
209 SwTransferable::SwTransferable( SwWrtShell& rSh ) in SwTransferable() argument
210 : pWrtShell( &rSh ), in SwTransferable()
221 rSh.GetView().AddTransferable(*this); in SwTransferable()
222 SwDocShell* pDShell = rSh.GetDoc()->GetDocShell(); in SwTransferable()
1070 sal_Bool SwTransferable::IsPaste( const SwWrtShell& rSh, in IsPaste() argument
1085 sal_uInt16 nDestination = SwTransferable::GetSotDestination( rSh ); in IsPaste()
1113 int SwTransferable::Paste( SwWrtShell& rSh, TransferableDataHelper& rData ) in Paste() argument
1116 nDestination = SwTransferable::GetSotDestination( rSh ); in Paste()
1153 SwTransferable::PasteData( rData, rSh, nAction, nFormat, in Paste()
1160 SwWrtShell& rSh, sal_uInt16 nAction, sal_uLong nFormat, in PasteData() argument
1166 SwWait aWait( *rSh.GetView().GetDocShell(), false ); in PasteData()
1189 SwTransferable::SetSelInShell( rSh, sal_True, pPt ); in PasteData()
1196 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in PasteData()
1202 !rSh.IsTableMode() && rSh.HasSelection() ) in PasteData()
1224 pAction = new SwTrnsfrActionAndUndo( &rSh, UNDO_PASTE_CLIPBOARD, NULL, in PasteData()
1253 const SwFrmFmt* pSwFrmFmt = rSh.GetFmtFromObj(*pPt); in PasteData()
1265 nRet = pTrans->PrivateDrop( rSh, *pPt, DND_ACTION_MOVE == nDropAction, in PasteData()
1272 nRet = pTunneledTrans->PrivatePaste( rSh ); in PasteData()
1279 pAction = new SwTrnsfrActionAndUndo( &rSh, UNDO_PASTE_CLIPBOARD); in PasteData()
1312 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1322 nRet = SwTransferable::_PasteFileContent( rData, rSh, in PasteData()
1332 rSh.InsertURL( aFmt, aBkmk.GetDescription() ); in PasteData()
1339 nRet = SwTransferable::_PasteOLE( rData, rSh, nFormat, in PasteData()
1344 nRet = SwTransferable::_PasteImageMap( rData, rSh ); in PasteData()
1351 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1360 nRet = SwTransferable::_PasteDBData( rData, rSh, nFormat, in PasteData()
1366 nRet = SwTransferable::_PasteFileName( rData, rSh, nFormat, in PasteData()
1377 nRet = SwTransferable::_PasteFileList( rData, rSh, in PasteData()
1397 rSh.NavigatorPaste( aBkmk, nClearedAction ); in PasteData()
1405 nRet = SwTransferable::_PasteTargetURL( rData, rSh, in PasteData()
1416 nRet = SwTransferable::_PasteFileName( rData, rSh, nFormat, in PasteData()
1424 nRet = SwTransferable::_PasteOLE( rData, rSh, nFormat, in PasteData()
1430 sal_Bool bReRead = 0 != CNT_HasGrf( rSh.GetCntType() ); in PasteData()
1431 nRet = SwTransferable::_PasteDDE( rData, rSh, bReRead, bMsg ); in PasteData()
1462 rSh.InsertURL( aFmt, sDesc ); in PasteData()
1471 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1483 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1494 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1502 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1508 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1517 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1523 nRet = SwTransferable::_PasteAsHyperlink( rData, rSh, nFormat ); in PasteData()
1531 if( !bPasteSelection && rSh.IsFrmSelected() ) in PasteData()
1533 rSh.EnterSelFrmMode(); in PasteData()
1535 rSh.GetView().StopShellTimer(); in PasteData()
1541 rSh.GetView().AutoCaption( GRAPHIC_CAP ); in PasteData()
1548 sal_uInt16 SwTransferable::GetSotDestination( const SwWrtShell& rSh, in GetSotDestination() argument
1557 eOType = rSh.GetObjCntType( *pPt, pObj ); in GetSotDestination()
1560 eOType = rSh.GetObjCntTypeOfSelection(); in GetSotDestination()
1569 bIMap = 0 != rSh.GetFmtFromObj( *pPt )->GetURL().GetMap(); in GetSotDestination()
1571 rSh.GetGrfAtPos( *pPt, aDummy, bLink ); in GetSotDestination()
1575 bIMap = 0 != rSh.GetFlyFrmFmt()->GetURL().GetMap(); in GetSotDestination()
1577 rSh.GetGrfNms( &aDummy, 0 ); in GetSotDestination()
1593 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) ) in GetSotDestination()
1621 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) ) in GetSotDestination()
1634 SwWrtShell& rSh, sal_uLong nFmt, sal_Bool bMsg ) in _PasteFileContent() argument
1701 Link aOldLink( rSh.GetChgLnk() ); in _PasteFileContent()
1702 rSh.SetChgLnk( Link() ); in _PasteFileContent()
1704 const SwPosition& rInsPos = *rSh.GetCrsr()->Start(); in _PasteFileContent()
1705 SwReader aReader( *pStream, aEmptyStr, String(), *rSh.GetCrsr() ); in _PasteFileContent()
1706 rSh.SaveTblBoxCntnt( &rInsPos ); in _PasteFileContent()
1712 rSh.SetChgLnk( aOldLink ); in _PasteFileContent()
1714 rSh.CallChgLnk(); in _PasteFileContent()
1732 int SwTransferable::_PasteOLE( TransferableDataHelper& rData, SwWrtShell& rSh, in _PasteOLE() argument
1792 SwPaM &rPAM = *rSh.GetCrsr(); in _PasteOLE()
1939 rSh.InsertOleObject( xObjRef ); in _PasteOLE()
1944 SwTransferable::_PasteTargetURL( rData, rSh, 0, 0, sal_False ); in _PasteOLE()
1947 SwOLEObj::UnloadObject( xObj, rSh.GetDoc(), embed::Aspects::MSOLE_CONTENT ); in _PasteOLE()
1959 SwWrtShell& rSh, sal_uInt16 nAction, in _PasteTargetURL() argument
1984 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteTargetURL()
1985 rSh.Insert( sURL, aEmptyStr, aGrf ); in _PasteTargetURL()
1989 if( rSh.IsObjSelected() ) in _PasteTargetURL()
1991 rSh.ReplaceSdrObj( sURL, aEmptyStr, &aGrf ); in _PasteTargetURL()
1992 Point aPt( pPt ? *pPt : rSh.GetCrsrDocPos() ); in _PasteTargetURL()
1993 SwTransferable::SetSelInShell( rSh, sal_True, &aPt ); in _PasteTargetURL()
1996 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteTargetURL()
2000 if( rSh.IsObjSelected() ) in _PasteTargetURL()
2001 rSh.Paste( aGrf, String() ); in _PasteTargetURL()
2002 else if( OBJCNT_GRF == rSh.GetObjCntTypeOfSelection() ) in _PasteTargetURL()
2003 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteTargetURL()
2006 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteTargetURL()
2007 rSh.Insert( sURL, aEmptyStr, aGrf ); in _PasteTargetURL()
2021 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteTargetURL()
2022 rSh.GetFlyFrmAttr( aSet ); in _PasteTargetURL()
2031 rSh.SetFlyFrmAttr( aSet ); in _PasteTargetURL()
2040 void SwTransferable::SetSelInShell( SwWrtShell& rSh, sal_Bool bSelectFrm, in SetSelInShell() argument
2046 if( pPt && !rSh.GetView().GetViewFrame()->GetDispatcher()->IsLocked() ) in SetSelInShell()
2048 rSh.GetView().NoRotate(); in SetSelInShell()
2049 if( rSh.SelectObj( *pPt )) in SetSelInShell()
2051 rSh.HideCrsr(); in SetSelInShell()
2052 rSh.EnterSelFrmMode( pPt ); in SetSelInShell()
2059 if( rSh.IsFrmSelected() || rSh.IsObjSelected() ) in SetSelInShell()
2061 rSh.UnSelectFrm(); in SetSelInShell()
2062 rSh.LeaveSelFrmMode(); in SetSelInShell()
2063 rSh.GetView().GetEditWin().StopInsFrm(); in SetSelInShell()
2066 else if( rSh.GetView().GetDrawFuncPtr() ) in SetSelInShell()
2067 rSh.GetView().GetEditWin().StopInsFrm(); in SetSelInShell()
2069 rSh.EnterStdMode(); in SetSelInShell()
2071 rSh.SwCrsrShell::SetCrsr( *pPt, sal_True ); in SetSelInShell()
2244 SwWrtShell& rSh, sal_uInt16 nAction, in _PasteSdrFormat() argument
2257 SwTransferable::SetSelInShell( rSh, sal_True, pPt ); in _PasteSdrFormat()
2260 rSh.Paste( *xStrm, nAction, pPt ); in _PasteSdrFormat()
2265 SwTransferable::_PasteTargetURL( rData, rSh, 0, 0, sal_False ); in _PasteSdrFormat()
2272 int SwTransferable::_PasteGrf( TransferableDataHelper& rData, SwWrtShell& rSh, in _PasteGrf() argument
2354 rSh.IsFrmSelected() ) in _PasteGrf()
2368 SwTransferable::SetSelInShell( rSh, sal_True, pPt ); in _PasteGrf()
2375 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) in _PasteGrf()
2386 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteGrf()
2387 rSh.Insert( sURL, aEmptyStr, aGrf ); in _PasteGrf()
2393 if( rSh.IsObjSelected() ) in _PasteGrf()
2399 rSh.Paste( aGrf, sURL ); in _PasteGrf()
2408 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteGrf()
2418 if( rSh.IsFrmSelected() ) in _PasteGrf()
2420 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteGrf()
2421 rSh.GetFlyFrmAttr( aSet ); in _PasteGrf()
2425 rSh.SetFlyFrmAttr( aSet ); in _PasteGrf()
2428 else if( rSh.IsObjSelected() ) in _PasteGrf()
2431 rSh.Paste( aGrf, sURL ); in _PasteGrf()
2433 else if( OBJCNT_GRF == rSh.GetObjCntTypeOfSelection() ) in _PasteGrf()
2436 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteGrf()
2440 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteGrf()
2441 rSh.Insert( aBkmk.GetURL(), aEmptyStr, aGrf ); in _PasteGrf()
2459 SwTransferable::_PasteImageMap( rData, rSh ); in _PasteGrf()
2463 SwTransferable::_PasteTargetURL( rData, rSh, 0, 0, sal_False ); in _PasteGrf()
2478 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteGrf()
2479 rSh.GetFlyFrmAttr( aSet ); in _PasteGrf()
2483 rSh.SetFlyFrmAttr( aSet ); in _PasteGrf()
2494 SwWrtShell& rSh ) in _PasteImageMap() argument
2499 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteImageMap()
2500 rSh.GetFlyFrmAttr( aSet ); in _PasteImageMap()
2511 rSh.SetFlyFrmAttr( aSet ); in _PasteImageMap()
2521 SwWrtShell& rSh, sal_uLong nFmt ) in _PasteAsHyperlink() argument
2536 switch( rSh.GetObjCntTypeOfSelection() ) in _PasteAsHyperlink()
2542 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteAsHyperlink()
2543 rSh.GetFlyFrmAttr( aSet ); in _PasteAsHyperlink()
2549 rSh.SetFlyFrmAttr( aSet ); in _PasteAsHyperlink()
2555 rSh.InsertURL( SwFmtINetFmt( sFile, aEmptyStr ), in _PasteAsHyperlink()
2567 SwWrtShell& rSh, sal_uLong nFmt, in _PasteFileName() argument
2571 int nRet = SwTransferable::_PasteGrf( rData, rSh, nFmt, nAction, in _PasteFileName()
2588 rSh.GetView().GetViewFrame()->GetDispatcher()->Execute( in _PasteFileName()
2601 if( pFlt && !rSh.GetView().GetDocShell()->ISA(SwWebDocShell) in _PasteFileName()
2614 rSh.GetDoc()->GetUniqueSectionName() ); in _PasteFileName()
2618 Application::PostUserEvent( STATIC_LINK( &rSh, SwWrtShell, in _PasteFileName()
2634 switch( rSh.GetObjCntTypeOfSelection() ) in _PasteFileName()
2640 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteFileName()
2641 rSh.GetFlyFrmAttr( aSet ); in _PasteFileName()
2647 rSh.SetFlyFrmAttr( aSet ); in _PasteFileName()
2653 rSh.InsertURL( SwFmtINetFmt( sFile, aEmptyStr ), in _PasteFileName()
2668 SwWrtShell& rSh, sal_uLong nFmt, sal_Bool bLink, in _PasteDBData() argument
2689 rSh.MakeDrawView(); in _PasteDBData()
2690 FmFormView* pFmView = PTR_CAST( FmFormView, rSh.GetDrawView() ); in _PasteDBData()
2695 rSh.SwFEShell::InsertDrawObj( *pObj, *pDragPt ); in _PasteDBData()
2731 SwView& rView = rSh.GetView(); in _PasteDBData()
2753 rSh.MakeDrawView(); in _PasteDBData()
2754 FmFormView* pFmView = PTR_CAST( FmFormView, rSh.GetDrawView() ); in _PasteDBData()
2758 rSh.SwFEShell::InsertDrawObj( *pObj, *pDragPt ); in _PasteDBData()
2773 SwWrtShell& rSh, sal_Bool bLink, in _PasteFileList() argument
2790 if( SwTransferable::_PasteFileName( aData, rSh, SOT_FORMAT_FILE, nAct, in _PasteFileList()
2795 sFlyNm = rSh.GetFlyName(); in _PasteFileList()
2796 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteFileList()
2802 rSh.GotoFly( sFlyNm ); in _PasteFileList()
2853 int SwTransferable::PasteFormat( SwWrtShell& rSh, in PasteFormat() argument
2857 SwWait aWait( *rSh.GetView().GetDocShell(), false ); in PasteFormat()
2867 nRet = pClipboard->PrivatePaste( rSh ); in PasteFormat()
2872 nDestination = SwTransferable::GetSotDestination( rSh ), in PasteFormat()
2889 nRet = SwTransferable::PasteData( rData, rSh, nAction, nFormat, in PasteFormat()
2938 int SwTransferable::PasteUnformatted( SwWrtShell& rSh, TransferableDataHelper& rData ) in PasteUnformatted() argument
2941 return SwTransferable::PasteFormat( rSh, rData, SOT_FORMAT_STRING ); in PasteUnformatted()
2946 int SwTransferable::PasteSpecial( SwWrtShell& rSh, TransferableDataHelper& rData, sal_uLong& rForma… in PasteSpecial() argument
2950 SfxAbstractPasteDialog* pDlg = pFact->CreatePasteDialog( &rSh.GetView().GetEditWin() ); in PasteSpecial()
2955 sal_uInt16 nDest = SwTransferable::GetSotDestination( rSh ); in PasteSpecial()
3008 nRet = SwTransferable::PasteFormat( rSh, rData, nFormat ); in PasteSpecial()
3018 void SwTransferable::FillClipFmtItem( const SwWrtShell& rSh, in FillClipFmtItem() argument
3022 sal_uInt16 nDest = SwTransferable::GetSotDestination( rSh ); in FillClipFmtItem()
3362 int SwTransferable::PrivateDrop( SwWrtShell& rSh, const Point& rDragPt, in PrivateDrop() argument
3375 rSh.UnSetVisCrsr(); in PrivateDrop()
3379 if( rSh.GetFmtFromObj( rDragPt ) ) in PrivateDrop()
3386 if( rSh.SelectObj( rDragPt ) ) in PrivateDrop()
3388 rSh.HideCrsr(); in PrivateDrop()
3389 rSh.EnterSelFrmMode( &rDragPt ); in PrivateDrop()
3393 const int nSelection = rSh.GetSelectionType(); in PrivateDrop()
3398 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in PrivateDrop()
3399 rSh.GetFlyFrmAttr( aSet ); in PrivateDrop()
3403 rSh.SetFlyFrmAttr( aSet ); in PrivateDrop()
3409 rSh.LeaveSelFrmMode(); in PrivateDrop()
3410 rSh.UnSelectFrm(); in PrivateDrop()
3411 rSh.ShowCrsr(); in PrivateDrop()
3417 if( &rSh != &rSrcSh && (nsSelectionType::SEL_GRF & rSh.GetSelectionType()) && in PrivateDrop()
3423 rSh.ReRead( sGrfNm, sFltNm, rSrcSh.GetGraphic() ); in PrivateDrop()
3428 if( rSh.ChgCurrPam( rDragPt ) || in PrivateDrop()
3429 ( rSh.IsSelFrmMode() && rSh.IsInsideSelectedObj( rDragPt )) ) in PrivateDrop()
3452 if(rSrcSh.GetDoc() != rSh.GetDoc()) in PrivateDrop()
3454 rSh.StartUndo( eUndoId, &aRewriter ); in PrivateDrop()
3456 rSh.StartAction(); in PrivateDrop()
3459 if( &rSrcSh != &rSh ) in PrivateDrop()
3461 rSh.EnterStdMode(); in PrivateDrop()
3462 rSh.SwCrsrShell::SetCrsr( rDragPt, sal_True ); in PrivateDrop()
3467 if( !rSh.IsAddMode() ) in PrivateDrop()
3470 if ( rSh.IsBlockMode() ) in PrivateDrop()
3473 rSh.GoPrevCrsr(); in PrivateDrop()
3476 rSh.SwCrsrShell::CreateCrsr(); in PrivateDrop()
3478 rSh.SwCrsrShell::SetCrsr( rDragPt, sal_True, false ); in PrivateDrop()
3479 rSh.GoPrevCrsr(); in PrivateDrop()
3480 cWord = rSh.IntelligentCut( rSh.GetSelectionType(), sal_False ); in PrivateDrop()
3481 rSh.GoNextCrsr(); in PrivateDrop()
3484 bInWrd = rSh.IsInWrd(); in PrivateDrop()
3485 bEndWrd = rSh.IsEndWrd(); in PrivateDrop()
3486 bSttWrd = !bEndWrd && rSh.IsSttWrd(); in PrivateDrop()
3487 bSttPara= rSh.IsSttPara(); in PrivateDrop()
3494 if( &rSrcSh == &rSh ) in PrivateDrop()
3496 rSh.GoPrevCrsr(); in PrivateDrop()
3497 rSh.SwCrsrShell::SetCrsr( aSttPt, sal_True ); in PrivateDrop()
3498 rSh.SelectTxtAttr( RES_TXTATR_INETFMT ); in PrivateDrop()
3499 if( rSh.ChgCurrPam( rDragPt ) ) in PrivateDrop()
3502 rSh.DestroyCrsr(); in PrivateDrop()
3503 rSh.EndUndo(); in PrivateDrop()
3504 rSh.EndAction(); in PrivateDrop()
3505 rSh.EndAction(); in PrivateDrop()
3508 rSh.GoNextCrsr(); in PrivateDrop()
3518 rSh.DelINetAttrWithText(); in PrivateDrop()
3528 sal_Bool bRet = rSrcSh.SwFEShell::Copy( &rSh, aSttPt, rDragPt, bMove, in PrivateDrop()
3544 rSh.SwCrsrShell::DestroyCrsr(); in PrivateDrop()
3546 rSh.ExtendSelection( sal_False ); in PrivateDrop()
3548 rSh.ExtendSelection(); in PrivateDrop()
3557 if( &rSh == &rSrcSh && ( bTblSel || rSh.IsBlockMode() ) ) in PrivateDrop()
3571 rSh.SwEditShell::Insert(' ', bIsXSelection); in PrivateDrop()
3574 rSh.SwapPam(); in PrivateDrop()
3576 rSh.SwEditShell::Insert(' ', bIsXSelection); in PrivateDrop()
3577 rSh.SwapPam(); in PrivateDrop()
3583 if( &rSrcSh == &rSh && !rSh.IsAddMode() ) in PrivateDrop()
3585 rSh.SwCrsrShell::DestroyCrsr(); in PrivateDrop()
3586 rSh.GoPrevCrsr(); in PrivateDrop()
3590 rSh.SwapPam(); in PrivateDrop()
3591 rSh.SwCrsrShell::ClearMark(); in PrivateDrop()
3596 if( rSh.IsAddMode() ) in PrivateDrop()
3597 rSh.SwCrsrShell::CreateCrsr(); in PrivateDrop()
3601 rSh.SttSelect(); in PrivateDrop()
3602 rSh.EndSelect(); in PrivateDrop()
3610 if( rSrcSh.GetDoc() != rSh.GetDoc() ) in PrivateDrop()
3612 rSh.EndUndo(); in PrivateDrop()
3615 if( &rSrcSh != &rSh && ( rSh.IsFrmSelected() || rSh.IsObjSelected() )) in PrivateDrop()
3616 rSh.EnterSelFrmMode(); in PrivateDrop()
3619 rSh.EndAction(); in PrivateDrop()
3624 void SwTransferable::CreateSelection( SwWrtShell& rSh, in CreateSelection() argument
3628 SwTransferable* pNew = new SwTransferable( rSh ); in CreateSelection()
3636 pNew->CopyToSelection( rSh.GetWin() ); in CreateSelection()
3639 void SwTransferable::ClearSelection( SwWrtShell& rSh, in ClearSelection() argument
3644 ((!pMod->pXSelection->pWrtShell) || (pMod->pXSelection->pWrtShell == &rSh)) && in ClearSelection()
3648 TransferableHelper::ClearSelection( rSh.GetWin() ); in ClearSelection()
3702 SwTrnsfrDdeLink::SwTrnsfrDdeLink( SwTransferable& rTrans, SwWrtShell& rSh ) in SwTrnsfrDdeLink() argument
3707 const int nSelection = rSh.GetSelectionType(); in SwTrnsfrDdeLink()
3710 SwFrmFmt* pFmt = rSh.GetTableFmt(); in SwTrnsfrDdeLink()
3717 sal_Bool bUndo = rSh.DoesUndo(); in SwTrnsfrDdeLink()
3718 rSh.DoUndo( sal_False ); in SwTrnsfrDdeLink()
3719 sal_Bool bIsModified = rSh.IsModified(); in SwTrnsfrDdeLink()
3721 ::sw::mark::IMark* pMark = rSh.SetBookmark( in SwTrnsfrDdeLink()
3731 rSh.ResetModified(); in SwTrnsfrDdeLink()
3735 rSh.DoUndo( bUndo ); in SwTrnsfrDdeLink()
3739 0 != ( pDocShell = rSh.GetDoc()->GetDocShell() ) ) in SwTrnsfrDdeLink()