Commit 2dd6ba59 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 27859 - [AutoSave] Потеря выбранного цвета шрифта гиперссылки после переоткрытия

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60028 954022d7-b5bf-4e40-9824-e11837661b57
parent ed79a143
...@@ -7104,7 +7104,10 @@ function BinaryPPTYLoader() ...@@ -7104,7 +7104,10 @@ function BinaryPPTYLoader()
{ {
hyperlink = new ParaHyperlink(); hyperlink = new ParaHyperlink();
hyperlink.Set_Value(_run.hlink.url); hyperlink.Set_Value(_run.hlink.url);
if(!_run.Unifill)
{
_run.Unifill = CreateUniFillSchemeColorWidthTint(11, 0); _run.Unifill = CreateUniFillSchemeColorWidthTint(11, 0);
}
_run.Underline = true; _run.Underline = true;
} }
text_pr.Set_FromObject(_run); text_pr.Set_FromObject(_run);
......
...@@ -2252,7 +2252,7 @@ asc_docs_api.prototype.put_TextColor = function(color) ...@@ -2252,7 +2252,7 @@ asc_docs_api.prototype.put_TextColor = function(color)
{ {
var _unifill = new CUniFill(); var _unifill = new CUniFill();
_unifill.fill = new CSolidFill(); _unifill.fill = new CSolidFill();
_unifill.fill.color = CorrectUniColor(color, _unifill.fill.color); _unifill.fill.color = CorrectUniColor(color, _unifill.fill.color, 0);
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(); this.WordControl.m_oLogicDocument.Create_NewHistoryPoint();
this.WordControl.m_oLogicDocument.Paragraph_Add( new ParaTextPr( { Unifill : _unifill } ) ); this.WordControl.m_oLogicDocument.Paragraph_Add( new ParaTextPr( { Unifill : _unifill } ) );
} }
......
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