Commit d10c09d7 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix #32322

parent 34b39b1f
......@@ -1128,6 +1128,7 @@ function isRealObject(obj)
window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].c_oSerConstants = c_oSerConstants;
window['AscCommon'].c_oSerPropLenType = c_oSerPropLenType;
window['AscCommon'].c_oSer_ColorType = c_oSer_ColorType;
window['AscCommon'].c_oSerBorderType = c_oSerBorderType;
window['AscCommon'].c_oSerBordersType = c_oSerBordersType;
window['AscCommon'].c_oSerPaddingType = c_oSerPaddingType;
......
......@@ -2010,7 +2010,7 @@ function Binary_rPrWriter(memory, saveParams)
{
this.memory.WriteByte(c_oSerProp_rPrType.HighLightTyped);
this.memory.WriteByte(c_oSerPropLenType.Byte);
this.memory.WriteByte(c_oSer_ColorType.Auto);
this.memory.WriteByte(AscCommon.c_oSer_ColorType.Auto);
}
else
{
......@@ -6929,7 +6929,7 @@ function Binary_rPrReader(doc, oReadResult, stream)
break;
case c_oSerProp_rPrType.HighLightTyped:
var nHighLightTyped = this.stream.GetUChar();
if(nHighLightTyped == c_oSer_ColorType.Auto)
if(nHighLightTyped == AscCommon.c_oSer_ColorType.Auto)
rPr.HighLight = highlight_None;
break;
case c_oSerProp_rPrType.RStyle:
......
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