Commit 8c1316d3 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=30194 - Не копируется ссылка из CSE в CDE

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64942 954022d7-b5bf-4e40-9824-e11837661b57
parent fecb02c8
......@@ -4217,6 +4217,17 @@ PasteProcessor.prototype =
var oCurPar = oCurCell.Content.Content[0];
var hyperLink = range.getHyperlink();
var oCurHyperlink = null;
if(hyperLink)
{
var oCurHyperlink = new ParaHyperlink();
oCurHyperlink.Set_Paragraph(this.oCurPar);
oCurHyperlink.Set_Value( hyperLink.Hyperlink );
if(hyperLink.Tooltip)
oCurHyperlink.Set_ToolTip(hyperLink.Tooltip);
}
var value2 = range.getValue2();
for(var n = 0; n < value2.length; n++)
{
......@@ -4275,9 +4286,15 @@ PasteProcessor.prototype =
}
//add run
oCurPar.Internal_Content_Add(n, oCurRun, false);
if(oCurHyperlink)
oCurHyperlink.Add_ToContent(n, oCurRun, false);
else
oCurPar.Internal_Content_Add(n, oCurRun, false);
}
if(oCurHyperlink)
oCurPar.Internal_Content_Add(n, oCurHyperlink, false);
j = j + gridSpan - 1;
}
//if((i + vMerge - 1) == diffRow)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment