Commit 3e4f9432 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка с потерей Mods в SolidFill

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53932 954022d7-b5bf-4e40-9824-e11837661b57
parent b38eb832
...@@ -2005,19 +2005,28 @@ function BinaryPPTYLoader() ...@@ -2005,19 +2005,28 @@ function BinaryPPTYLoader()
uni_fill.fill = new CSolidFill(); uni_fill.fill = new CSolidFill();
uni_fill.fill.color = this.ReadUniColor(); uni_fill.fill.color = this.ReadUniColor();
uni_fill.fill.color.Mods = new CColorModifiers(); // uni_fill.fill.color.Mods = new CColorModifiers();
var mods = uni_fill.fill.color.Mods.Mods; if(uni_fill.fill
var _len = mods.length; && uni_fill.fill.color
for (var i = 0; i < _len; i++) && uni_fill.fill.color.Mods
{ && uni_fill.fill.color.Mods.Mods)
if (mods[i].name == "alpha") {
{ var mods = uni_fill.fill.color.Mods.Mods;
uni_fill.transparent = (255 * mods[i].val / 100000) >> 0; var _len = mods.length;
mods.splice(i, 1); for (var i = 0; i < _len; i++)
break; {
} if (mods[i].name == "alpha")
} {
uni_fill.transparent = (255 * mods[i].val / 100000) >> 0;
mods.splice(i, 1);
break;
}
}
}
else
{
uni_fill.fill.color.Mods = new CColorModifiers();
}
break; break;
} }
case FILL_TYPE_NOFILL: case FILL_TYPE_NOFILL:
......
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