Commit 892cb143 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Bug 21330 - [Copy&Paste] При копировании ссылки из Document Editor в...

Bug 21330 - [Copy&Paste] При копировании ссылки из Document Editor в Spreadsheet Editor - теряется ScreenTip text.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50989 954022d7-b5bf-4e40-9824-e11837661b57
parent 43ae6da3
...@@ -740,8 +740,8 @@ CopyProcessor.prototype = ...@@ -740,8 +740,8 @@ CopyProcessor.prototype =
this.oCurHyperlinkElem = document.createElement( "a" ); this.oCurHyperlinkElem = document.createElement( "a" );
if(null != this.oCurHyperlink.Value) if(null != this.oCurHyperlink.Value)
this.oCurHyperlinkElem.href = this.oCurHyperlink.Value; this.oCurHyperlinkElem.href = this.oCurHyperlink.Value;
if(null != this.oCurHyperlink.Tooltip) if(null != this.oCurHyperlink.ToolTip)
this.oCurHyperlinkElem.setAttribute("title", this.oCurHyperlink.Tooltip); this.oCurHyperlinkElem.setAttribute("title", this.oCurHyperlink.ToolTip);
} }
break; break;
case para_HyperlinkEnd: case para_HyperlinkEnd:
...@@ -793,8 +793,8 @@ CopyProcessor.prototype = ...@@ -793,8 +793,8 @@ CopyProcessor.prototype =
this.oCurHyperlinkElem = document.createElement( "a" ); this.oCurHyperlinkElem = document.createElement( "a" );
if(null != this.oCurHyperlink.Value) if(null != this.oCurHyperlink.Value)
this.oCurHyperlinkElem.href = this.oCurHyperlink.Value; this.oCurHyperlinkElem.href = this.oCurHyperlink.Value;
if(null != this.oCurHyperlink.Tooltip) if(null != this.oCurHyperlink.ToolTip)
this.oCurHyperlinkElem.setAttribute("title", this.oCurHyperlink.Tooltip); this.oCurHyperlinkElem.setAttribute("title", this.oCurHyperlink.ToolTip);
//���������� ��� �������������� �������� � ������ //���������� ��� �������������� �������� � ������
for(var i = 0; i < this.Para.childNodes.length; i++) for(var i = 0; i < this.Para.childNodes.length; i++)
{ {
...@@ -942,8 +942,8 @@ CopyProcessor.prototype = ...@@ -942,8 +942,8 @@ CopyProcessor.prototype =
this.oCurHyperlinkElem = document.createElement( "a" ); this.oCurHyperlinkElem = document.createElement( "a" );
if(null != this.oCurHyperlink.Value) if(null != this.oCurHyperlink.Value)
this.oCurHyperlinkElem.href = this.oCurHyperlink.Value; this.oCurHyperlinkElem.href = this.oCurHyperlink.Value;
if(null != this.oCurHyperlink.Tooltip) if(null != this.oCurHyperlink.ToolTip)
this.oCurHyperlinkElem.setAttribute("title", this.oCurHyperlink.Tooltip); this.oCurHyperlinkElem.setAttribute("title", this.oCurHyperlink.ToolTip);
} }
// TODO : ����������� ��������, ��� ������ ������� Hyperlink. ������� �� ����������. // TODO : ����������� ��������, ��� ������ ������� Hyperlink. ������� �� ����������.
if ( ParaStart > 0 ) if ( ParaStart > 0 )
......
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