Commit 91cb5a01 authored by Alexander.Trofimov's avatar Alexander.Trofimov

EThemeColor -> AscCommonWord.EThemeColor

parent 4d1d22a1
......@@ -277,6 +277,7 @@ BinaryCommonWriter.prototype.WriteColorTheme = function(unifill, color)
if (null != unifill && null != unifill.fill && null != unifill.fill.color && unifill.fill.color.color instanceof AscFormat.CSchemeColor) {
var uniColor = unifill.fill.color;
if(null != uniColor.color){
var EThemeColor = AscCommonWord.EThemeColor;
var nFormatId = EThemeColor.themecolorNone;
switch(uniColor.color.id){
case 0: nFormatId = EThemeColor.themecolorAccent1;break;
......
......@@ -12545,3 +12545,4 @@ OpenParStruct.prototype = {
window['AscCommonWord'] = window['AscCommonWord'] || {};
window["AscCommonWord"].BinaryFileReader = BinaryFileReader;
window["AscCommonWord"].BinaryFileWriter = BinaryFileWriter;
window["AscCommonWord"].EThemeColor = EThemeColor;
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