Commit 8929597f authored by Sergey Konovalov's avatar Sergey Konovalov

set pre-installed first style border and fill regardless of opened file

parent 9e0cc6de
...@@ -4869,10 +4869,13 @@ ...@@ -4869,10 +4869,13 @@
res = this.bcr.Read1(length, function (t, l) { res = this.bcr.Read1(length, function (t, l) {
return oThis.ReadBorders(t, l, oStyleObject.aBorders); return oThis.ReadBorders(t, l, oStyleObject.aBorders);
}); });
oStyleObject.aBorders[0] = new AscCommonExcel.Border();
} else if (c_oSerStylesTypes.Fills === type) { } else if (c_oSerStylesTypes.Fills === type) {
res = this.bcr.Read1(length, function (t, l) { res = this.bcr.Read1(length, function (t, l) {
return oThis.ReadFills(t, l, oStyleObject.aFills); return oThis.ReadFills(t, l, oStyleObject.aFills);
}); });
oStyleObject.aFills[0] = new AscCommonExcel.Fill();
oStyleObject.aFills[1] = new AscCommonExcel.Fill();
} else if (c_oSerStylesTypes.Fonts === type) { } else if (c_oSerStylesTypes.Fonts === type) {
res = this.bcr.Read1(length, function (t, l) { res = this.bcr.Read1(length, function (t, l) {
return oThis.ReadFonts(t, l, oStyleObject.aFonts); return oThis.ReadFonts(t, l, oStyleObject.aFonts);
......
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