Lines Matching refs:rSh
167 SwTrnsfrDdeLink( SwTransferable& rTrans, SwWrtShell& rSh );
203 SwTransferable::SwTransferable( SwWrtShell& rSh ) in SwTransferable() argument
204 : pWrtShell( &rSh ), in SwTransferable()
215 rSh.GetView().AddTransferable(*this); in SwTransferable()
216 SwDocShell* pDShell = rSh.GetDoc()->GetDocShell(); in SwTransferable()
1061 sal_Bool SwTransferable::IsPaste( const SwWrtShell& rSh, in IsPaste() argument
1076 sal_uInt16 nDestination = SwTransferable::GetSotDestination( rSh ); in IsPaste()
1104 int SwTransferable::Paste( SwWrtShell& rSh, TransferableDataHelper& rData ) in Paste() argument
1107 nDestination = SwTransferable::GetSotDestination( rSh ); in Paste()
1144 SwTransferable::PasteData( rData, rSh, nAction, nFormat, in Paste()
1151 SwWrtShell& rSh, sal_uInt16 nAction, sal_uLong nFormat, in PasteData() argument
1157 SwWait aWait( *rSh.GetView().GetDocShell(), false ); in PasteData()
1180 SwTransferable::SetSelInShell( rSh, sal_True, pPt ); in PasteData()
1187 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in PasteData()
1193 !rSh.IsTableMode() && rSh.HasSelection() ) in PasteData()
1215 pAction = new SwTrnsfrActionAndUndo( &rSh, UNDO_PASTE_CLIPBOARD, NULL, in PasteData()
1244 const SwFrmFmt* pSwFrmFmt = rSh.GetFmtFromObj(*pPt); in PasteData()
1256 nRet = pTrans->PrivateDrop( rSh, *pPt, DND_ACTION_MOVE == nDropAction, in PasteData()
1263 nRet = pTunneledTrans->PrivatePaste( rSh ); in PasteData()
1270 pAction = new SwTrnsfrActionAndUndo( &rSh, UNDO_PASTE_CLIPBOARD); in PasteData()
1302 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1312 nRet = SwTransferable::_PasteFileContent( rData, rSh, in PasteData()
1322 rSh.InsertURL( aFmt, aBkmk.GetDescription() ); in PasteData()
1329 nRet = SwTransferable::_PasteOLE( rData, rSh, nFormat, in PasteData()
1334 nRet = SwTransferable::_PasteImageMap( rData, rSh ); in PasteData()
1341 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1350 nRet = SwTransferable::_PasteDBData( rData, rSh, nFormat, in PasteData()
1356 nRet = SwTransferable::_PasteFileName( rData, rSh, nFormat, in PasteData()
1367 nRet = SwTransferable::_PasteFileList( rData, rSh, in PasteData()
1387 rSh.NavigatorPaste( aBkmk, nClearedAction ); in PasteData()
1395 nRet = SwTransferable::_PasteTargetURL( rData, rSh, in PasteData()
1406 nRet = SwTransferable::_PasteFileName( rData, rSh, nFormat, in PasteData()
1414 nRet = SwTransferable::_PasteOLE( rData, rSh, nFormat, in PasteData()
1420 sal_Bool bReRead = 0 != CNT_HasGrf( rSh.GetCntType() ); in PasteData()
1421 nRet = SwTransferable::_PasteDDE( rData, rSh, bReRead, bMsg ); in PasteData()
1452 rSh.InsertURL( aFmt, sDesc ); in PasteData()
1461 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1473 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1484 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1492 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1498 nRet = SwTransferable::_PasteSdrFormat( rData, rSh, in PasteData()
1507 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat, in PasteData()
1513 nRet = SwTransferable::_PasteAsHyperlink( rData, rSh, nFormat ); in PasteData()
1521 if( !bPasteSelection && rSh.IsFrmSelected() ) in PasteData()
1523 rSh.EnterSelFrmMode(); in PasteData()
1525 rSh.GetView().StopShellTimer(); in PasteData()
1531 rSh.GetView().AutoCaption( GRAPHIC_CAP ); in PasteData()
1538 sal_uInt16 SwTransferable::GetSotDestination( const SwWrtShell& rSh, in GetSotDestination() argument
1547 eOType = rSh.GetObjCntType( *pPt, pObj ); in GetSotDestination()
1550 eOType = rSh.GetObjCntTypeOfSelection(); in GetSotDestination()
1559 bIMap = 0 != rSh.GetFmtFromObj( *pPt )->GetURL().GetMap(); in GetSotDestination()
1561 rSh.GetGrfAtPos( *pPt, aDummy, bLink ); in GetSotDestination()
1565 bIMap = 0 != rSh.GetFlyFrmFmt()->GetURL().GetMap(); in GetSotDestination()
1567 rSh.GetGrfNms( &aDummy, 0 ); in GetSotDestination()
1583 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) ) in GetSotDestination()
1611 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) ) in GetSotDestination()
1624 SwWrtShell& rSh, sal_uLong nFmt, sal_Bool bMsg ) in _PasteFileContent() argument
1691 Link aOldLink( rSh.GetChgLnk() ); in _PasteFileContent()
1692 rSh.SetChgLnk( Link() ); in _PasteFileContent()
1694 const SwPosition& rInsPos = *rSh.GetCrsr()->Start(); in _PasteFileContent()
1695 SwReader aReader( *pStream, aEmptyStr, String(), *rSh.GetCrsr() ); in _PasteFileContent()
1696 rSh.SaveTblBoxCntnt( &rInsPos ); in _PasteFileContent()
1702 rSh.SetChgLnk( aOldLink ); in _PasteFileContent()
1704 rSh.CallChgLnk(); in _PasteFileContent()
1722 int SwTransferable::_PasteOLE( TransferableDataHelper& rData, SwWrtShell& rSh, in _PasteOLE() argument
1782 SwPaM &rPAM = *rSh.GetCrsr(); in _PasteOLE()
1929 rSh.InsertOleObject( xObjRef ); in _PasteOLE()
1934 SwTransferable::_PasteTargetURL( rData, rSh, 0, 0, sal_False ); in _PasteOLE()
1937 SwOLEObj::UnloadObject( xObj, rSh.GetDoc(), embed::Aspects::MSOLE_CONTENT ); in _PasteOLE()
1946 SwWrtShell& rSh, sal_uInt16 nAction, in _PasteTargetURL() argument
1971 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteTargetURL()
1972 rSh.Insert( sURL, aEmptyStr, aGrf ); in _PasteTargetURL()
1976 if( rSh.IsObjSelected() ) in _PasteTargetURL()
1978 rSh.ReplaceSdrObj( sURL, aEmptyStr, &aGrf ); in _PasteTargetURL()
1979 Point aPt( pPt ? *pPt : rSh.GetCrsrDocPos() ); in _PasteTargetURL()
1980 SwTransferable::SetSelInShell( rSh, sal_True, &aPt ); in _PasteTargetURL()
1983 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteTargetURL()
1987 if( rSh.IsObjSelected() ) in _PasteTargetURL()
1988 rSh.Paste( aGrf, String() ); in _PasteTargetURL()
1989 else if( OBJCNT_GRF == rSh.GetObjCntTypeOfSelection() ) in _PasteTargetURL()
1990 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteTargetURL()
1993 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteTargetURL()
1994 rSh.Insert( sURL, aEmptyStr, aGrf ); in _PasteTargetURL()
2008 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteTargetURL()
2009 rSh.GetFlyFrmAttr( aSet ); in _PasteTargetURL()
2018 rSh.SetFlyFrmAttr( aSet ); in _PasteTargetURL()
2026 void SwTransferable::SetSelInShell( SwWrtShell& rSh, sal_Bool bSelectFrm, in SetSelInShell() argument
2032 if( pPt && !rSh.GetView().GetViewFrame()->GetDispatcher()->IsLocked() ) in SetSelInShell()
2034 rSh.GetView().NoRotate(); in SetSelInShell()
2035 if( rSh.SelectObj( *pPt )) in SetSelInShell()
2037 rSh.HideCrsr(); in SetSelInShell()
2038 rSh.EnterSelFrmMode( pPt ); in SetSelInShell()
2045 if( rSh.IsFrmSelected() || rSh.IsObjSelected() ) in SetSelInShell()
2047 rSh.UnSelectFrm(); in SetSelInShell()
2048 rSh.LeaveSelFrmMode(); in SetSelInShell()
2049 rSh.GetView().GetEditWin().StopInsFrm(); in SetSelInShell()
2052 else if( rSh.GetView().GetDrawFuncPtr() ) in SetSelInShell()
2053 rSh.GetView().GetEditWin().StopInsFrm(); in SetSelInShell()
2055 rSh.EnterStdMode(); in SetSelInShell()
2057 rSh.SwCrsrShell::SetCrsr( *pPt, sal_True ); in SetSelInShell()
2229 SwWrtShell& rSh, sal_uInt16 nAction, in _PasteSdrFormat() argument
2242 SwTransferable::SetSelInShell( rSh, sal_True, pPt ); in _PasteSdrFormat()
2245 rSh.Paste( *xStrm, nAction, pPt ); in _PasteSdrFormat()
2250 SwTransferable::_PasteTargetURL( rData, rSh, 0, 0, sal_False ); in _PasteSdrFormat()
2257 int SwTransferable::_PasteGrf( TransferableDataHelper& rData, SwWrtShell& rSh, in _PasteGrf() argument
2339 rSh.IsFrmSelected() ) in _PasteGrf()
2353 SwTransferable::SetSelInShell( rSh, sal_True, pPt ); in _PasteGrf()
2360 if( rSh.GetView().GetDocShell()->ISA(SwWebDocShell) in _PasteGrf()
2371 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteGrf()
2372 rSh.Insert( sURL, aEmptyStr, aGrf ); in _PasteGrf()
2378 if( rSh.IsObjSelected() ) in _PasteGrf()
2384 rSh.Paste( aGrf, sURL ); in _PasteGrf()
2393 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteGrf()
2403 if( rSh.IsFrmSelected() ) in _PasteGrf()
2405 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteGrf()
2406 rSh.GetFlyFrmAttr( aSet ); in _PasteGrf()
2410 rSh.SetFlyFrmAttr( aSet ); in _PasteGrf()
2413 else if( rSh.IsObjSelected() ) in _PasteGrf()
2416 rSh.Paste( aGrf, sURL ); in _PasteGrf()
2418 else if( OBJCNT_GRF == rSh.GetObjCntTypeOfSelection() ) in _PasteGrf()
2421 rSh.ReRead( sURL, aEmptyStr, &aGrf ); in _PasteGrf()
2425 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteGrf()
2426 rSh.Insert( aBkmk.GetURL(), aEmptyStr, aGrf ); in _PasteGrf()
2444 SwTransferable::_PasteImageMap( rData, rSh ); in _PasteGrf()
2448 SwTransferable::_PasteTargetURL( rData, rSh, 0, 0, sal_False ); in _PasteGrf()
2463 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteGrf()
2464 rSh.GetFlyFrmAttr( aSet ); in _PasteGrf()
2468 rSh.SetFlyFrmAttr( aSet ); in _PasteGrf()
2479 SwWrtShell& rSh ) in _PasteImageMap() argument
2484 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteImageMap()
2485 rSh.GetFlyFrmAttr( aSet ); in _PasteImageMap()
2496 rSh.SetFlyFrmAttr( aSet ); in _PasteImageMap()
2506 SwWrtShell& rSh, sal_uLong nFmt ) in _PasteAsHyperlink() argument
2521 switch( rSh.GetObjCntTypeOfSelection() ) in _PasteAsHyperlink()
2527 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteAsHyperlink()
2528 rSh.GetFlyFrmAttr( aSet ); in _PasteAsHyperlink()
2534 rSh.SetFlyFrmAttr( aSet ); in _PasteAsHyperlink()
2540 rSh.InsertURL( SwFmtINetFmt( sFile, aEmptyStr ), in _PasteAsHyperlink()
2552 SwWrtShell& rSh, sal_uLong nFmt, in _PasteFileName() argument
2556 int nRet = SwTransferable::_PasteGrf( rData, rSh, nFmt, nAction, in _PasteFileName()
2573 rSh.GetView().GetViewFrame()->GetDispatcher()->Execute( in _PasteFileName()
2586 if( pFlt && !rSh.GetView().GetDocShell()->ISA(SwWebDocShell) in _PasteFileName()
2599 rSh.GetDoc()->GetUniqueSectionName() ); in _PasteFileName()
2603 Application::PostUserEvent( STATIC_LINK( &rSh, SwWrtShell, in _PasteFileName()
2618 switch( rSh.GetObjCntTypeOfSelection() ) in _PasteFileName()
2624 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in _PasteFileName()
2625 rSh.GetFlyFrmAttr( aSet ); in _PasteFileName()
2631 rSh.SetFlyFrmAttr( aSet ); in _PasteFileName()
2637 rSh.InsertURL( SwFmtINetFmt( sFile, aEmptyStr ), in _PasteFileName()
2652 SwWrtShell& rSh, sal_uLong nFmt, sal_Bool bLink, in _PasteDBData() argument
2673 rSh.MakeDrawView(); in _PasteDBData()
2674 FmFormView* pFmView = PTR_CAST( FmFormView, rSh.GetDrawView() ); in _PasteDBData()
2679 rSh.SwFEShell::InsertDrawObj( *pObj, *pDragPt ); in _PasteDBData()
2715 SwView& rView = rSh.GetView(); in _PasteDBData()
2737 rSh.MakeDrawView(); in _PasteDBData()
2738 FmFormView* pFmView = PTR_CAST( FmFormView, rSh.GetDrawView() ); in _PasteDBData()
2742 rSh.SwFEShell::InsertDrawObj( *pObj, *pDragPt ); in _PasteDBData()
2757 SwWrtShell& rSh, sal_Bool bLink, in _PasteFileList() argument
2774 if( SwTransferable::_PasteFileName( aData, rSh, SOT_FORMAT_FILE, nAct, in _PasteFileList()
2779 sFlyNm = rSh.GetFlyName(); in _PasteFileList()
2780 SwTransferable::SetSelInShell( rSh, sal_False, pPt ); in _PasteFileList()
2786 rSh.GotoFly( sFlyNm ); in _PasteFileList()
2837 int SwTransferable::PasteFormat( SwWrtShell& rSh, in PasteFormat() argument
2841 SwWait aWait( *rSh.GetView().GetDocShell(), false ); in PasteFormat()
2851 nRet = pClipboard->PrivatePaste( rSh ); in PasteFormat()
2856 nDestination = SwTransferable::GetSotDestination( rSh ), in PasteFormat()
2873 nRet = SwTransferable::PasteData( rData, rSh, nAction, nFormat, in PasteFormat()
2921 int SwTransferable::PasteUnformatted( SwWrtShell& rSh, TransferableDataHelper& rData ) in PasteUnformatted() argument
2924 return SwTransferable::PasteFormat( rSh, rData, SOT_FORMAT_STRING ); in PasteUnformatted()
2929 int SwTransferable::PasteSpecial( SwWrtShell& rSh, TransferableDataHelper& rData, sal_uLong& rForma… in PasteSpecial() argument
2933 SfxAbstractPasteDialog* pDlg = pFact->CreatePasteDialog( &rSh.GetView().GetEditWin() ); in PasteSpecial()
2938 sal_uInt16 nDest = SwTransferable::GetSotDestination( rSh ); in PasteSpecial()
2991 nRet = SwTransferable::PasteFormat( rSh, rData, nFormat ); in PasteSpecial()
3000 void SwTransferable::FillClipFmtItem( const SwWrtShell& rSh, in FillClipFmtItem() argument
3004 sal_uInt16 nDest = SwTransferable::GetSotDestination( rSh ); in FillClipFmtItem()
3340 int SwTransferable::PrivateDrop( SwWrtShell& rSh, const Point& rDragPt, in PrivateDrop() argument
3353 rSh.UnSetVisCrsr(); in PrivateDrop()
3357 if( rSh.GetFmtFromObj( rDragPt ) ) in PrivateDrop()
3364 if( rSh.SelectObj( rDragPt ) ) in PrivateDrop()
3366 rSh.HideCrsr(); in PrivateDrop()
3367 rSh.EnterSelFrmMode( &rDragPt ); in PrivateDrop()
3371 const int nSelection = rSh.GetSelectionType(); in PrivateDrop()
3376 SfxItemSet aSet( rSh.GetAttrPool(), RES_URL, RES_URL ); in PrivateDrop()
3377 rSh.GetFlyFrmAttr( aSet ); in PrivateDrop()
3381 rSh.SetFlyFrmAttr( aSet ); in PrivateDrop()
3387 rSh.LeaveSelFrmMode(); in PrivateDrop()
3388 rSh.UnSelectFrm(); in PrivateDrop()
3389 rSh.ShowCrsr(); in PrivateDrop()
3395 if( &rSh != &rSrcSh && (nsSelectionType::SEL_GRF & rSh.GetSelectionType()) && in PrivateDrop()
3401 rSh.ReRead( sGrfNm, sFltNm, rSrcSh.GetGraphic() ); in PrivateDrop()
3406 if( rSh.ChgCurrPam( rDragPt ) || in PrivateDrop()
3407 ( rSh.IsSelFrmMode() && rSh.IsInsideSelectedObj( rDragPt )) ) in PrivateDrop()
3430 if(rSrcSh.GetDoc() != rSh.GetDoc()) in PrivateDrop()
3432 rSh.StartUndo( eUndoId, &aRewriter ); in PrivateDrop()
3434 rSh.StartAction(); in PrivateDrop()
3437 if( &rSrcSh != &rSh ) in PrivateDrop()
3439 rSh.EnterStdMode(); in PrivateDrop()
3440 rSh.SwCrsrShell::SetCrsr( rDragPt, sal_True ); in PrivateDrop()
3445 if( !rSh.IsAddMode() ) in PrivateDrop()
3448 if ( rSh.IsBlockMode() ) in PrivateDrop()
3451 rSh.GoPrevCrsr(); in PrivateDrop()
3454 rSh.SwCrsrShell::CreateCrsr(); in PrivateDrop()
3456 rSh.SwCrsrShell::SetCrsr( rDragPt, sal_True, false ); in PrivateDrop()
3457 rSh.GoPrevCrsr(); in PrivateDrop()
3458 cWord = rSh.IntelligentCut( rSh.GetSelectionType(), sal_False ); in PrivateDrop()
3459 rSh.GoNextCrsr(); in PrivateDrop()
3462 bInWrd = rSh.IsInWrd(); in PrivateDrop()
3463 bEndWrd = rSh.IsEndWrd(); in PrivateDrop()
3464 bSttWrd = !bEndWrd && rSh.IsSttWrd(); in PrivateDrop()
3465 bSttPara= rSh.IsSttPara(); in PrivateDrop()
3472 if( &rSrcSh == &rSh ) in PrivateDrop()
3474 rSh.GoPrevCrsr(); in PrivateDrop()
3475 rSh.SwCrsrShell::SetCrsr( aSttPt, sal_True ); in PrivateDrop()
3476 rSh.SelectTxtAttr( RES_TXTATR_INETFMT ); in PrivateDrop()
3477 if( rSh.ChgCurrPam( rDragPt ) ) in PrivateDrop()
3480 rSh.DestroyCrsr(); in PrivateDrop()
3481 rSh.EndUndo(); in PrivateDrop()
3482 rSh.EndAction(); in PrivateDrop()
3483 rSh.EndAction(); in PrivateDrop()
3486 rSh.GoNextCrsr(); in PrivateDrop()
3496 rSh.DelINetAttrWithText(); in PrivateDrop()
3506 sal_Bool bRet = rSrcSh.SwFEShell::Copy( &rSh, aSttPt, rDragPt, bMove, in PrivateDrop()
3522 rSh.SwCrsrShell::DestroyCrsr(); in PrivateDrop()
3524 rSh.ExtendSelection( sal_False ); in PrivateDrop()
3526 rSh.ExtendSelection(); in PrivateDrop()
3535 if( &rSh == &rSrcSh && ( bTblSel || rSh.IsBlockMode() ) ) in PrivateDrop()
3549 rSh.SwEditShell::Insert(' ', bIsXSelection); in PrivateDrop()
3552 rSh.SwapPam(); in PrivateDrop()
3554 rSh.SwEditShell::Insert(' ', bIsXSelection); in PrivateDrop()
3555 rSh.SwapPam(); in PrivateDrop()
3561 if( &rSrcSh == &rSh && !rSh.IsAddMode() ) in PrivateDrop()
3563 rSh.SwCrsrShell::DestroyCrsr(); in PrivateDrop()
3564 rSh.GoPrevCrsr(); in PrivateDrop()
3568 rSh.SwapPam(); in PrivateDrop()
3569 rSh.SwCrsrShell::ClearMark(); in PrivateDrop()
3574 if( rSh.IsAddMode() ) in PrivateDrop()
3575 rSh.SwCrsrShell::CreateCrsr(); in PrivateDrop()
3579 rSh.SttSelect(); in PrivateDrop()
3580 rSh.EndSelect(); in PrivateDrop()
3588 if( rSrcSh.GetDoc() != rSh.GetDoc() ) in PrivateDrop()
3590 rSh.EndUndo(); in PrivateDrop()
3593 if( &rSrcSh != &rSh && ( rSh.IsFrmSelected() || rSh.IsObjSelected() )) in PrivateDrop()
3594 rSh.EnterSelFrmMode(); in PrivateDrop()
3597 rSh.EndAction(); in PrivateDrop()
3602 void SwTransferable::CreateSelection( SwWrtShell& rSh, in CreateSelection() argument
3606 SwTransferable* pNew = new SwTransferable( rSh ); in CreateSelection()
3614 pNew->CopyToSelection( rSh.GetWin() ); in CreateSelection()
3617 void SwTransferable::ClearSelection( SwWrtShell& rSh, in ClearSelection() argument
3622 ((!pMod->pXSelection->pWrtShell) || (pMod->pXSelection->pWrtShell == &rSh)) && in ClearSelection()
3626 TransferableHelper::ClearSelection( rSh.GetWin() ); in ClearSelection()
3678 SwTrnsfrDdeLink::SwTrnsfrDdeLink( SwTransferable& rTrans, SwWrtShell& rSh ) in SwTrnsfrDdeLink() argument
3683 const int nSelection = rSh.GetSelectionType(); in SwTrnsfrDdeLink()
3686 SwFrmFmt* pFmt = rSh.GetTableFmt(); in SwTrnsfrDdeLink()
3693 sal_Bool bUndo = rSh.DoesUndo(); in SwTrnsfrDdeLink()
3694 rSh.DoUndo( sal_False ); in SwTrnsfrDdeLink()
3695 sal_Bool bIsModified = rSh.IsModified(); in SwTrnsfrDdeLink()
3697 ::sw::mark::IMark* pMark = rSh.SetBookmark( in SwTrnsfrDdeLink()
3707 rSh.ResetModified(); in SwTrnsfrDdeLink()
3711 rSh.DoUndo( bUndo ); in SwTrnsfrDdeLink()
3715 0 != ( pDocShell = rSh.GetDoc()->GetDocShell() ) ) in SwTrnsfrDdeLink()