Commit 964e9f3d authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

если в файле есть стиль Hyperlink, то он подменяет default стиль для гиперссылок.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49743 954022d7-b5bf-4e40-9824-e11837661b57
parent 51903175
......@@ -3343,6 +3343,8 @@ function BinaryFileReader(doc, openParams)
stDefault.Header = oNewId.id;
if(stDefault.Footer == stId)
stDefault.Footer = oNewId.id;
if(stDefault.Hyperlink == stId)
stDefault.Hyperlink = oNewId.id;
delete styles[stId];
break;
......@@ -3352,6 +3354,8 @@ function BinaryFileReader(doc, openParams)
stDefault.Header = oNewId.id;
if("Footer" == oNewStyle.Name)
stDefault.Footer = oNewId.id;
if("Hyperlink" == oNewStyle.Name)
stDefault.Hyperlink = oNewId.id;
if(true == oNewId.def)
{
switch(oNewStyle.Type)
......
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