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

Создание Workbook.theme и Workbook.clrSchemeMap перенесено из конструктора в Serialize

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48393 954022d7-b5bf-4e40-9824-e11837661b57
parent 6b855b32
......@@ -6030,6 +6030,9 @@ function Binary_OtherTableReader(stream, oMedia, sUrlPath, wb)
var oRes = this.bcr.ReadTable(function(t, l){
return oThis.ReadOtherContent(t,l);
});
this.wb.clrSchemeMap = GenerateDefaultColorMap();
if(null == this.wb.theme)
this.wb.theme = GenerateDefaultTheme(this.wb);
g_oColorManager.setTheme(this.wb.theme);
g_oDefaultFont = g_oDefaultFontAbs = new Font();
g_oDefaultFill = g_oDefaultFillAbs = new Fill();
......
......@@ -1362,8 +1362,8 @@ function Workbook(sUrlPath, eventsHandlers, oApi){
g_oIdCounter = new CIdCounter();
g_oTableId = new CTableId();
this.theme = GenerateDefaultTheme(this);
this.clrSchemeMap = GenerateDefaultColorMap();
this.theme = null;
this.clrSchemeMap = null;
this.DefinedNames = new Object();
this.oRealDefinedNames = new Object();
......
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