Commit a4fc2085 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

themeOverride support

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55842 954022d7-b5bf-4e40-9824-e11837661b57
parent bc7964f3
......@@ -9401,6 +9401,8 @@ function CTheme()
this.extraClrSchemeLst = [];
this.isThemeOverride = false;
// pointers
this.presentation = null;
this.clrMap = null;
......
......@@ -3287,6 +3287,8 @@ function BinaryPPTYLoader()
if (0 == _at)
theme.name = s.GetString2();
else if (1 == _at)
theme.isThemeOverride = s.GetBool();
else
break;
}
......
......@@ -816,6 +816,10 @@ function CBinaryFileWriter()
this.WriteUChar(g_nodeAttributeStart);
this._WriteString2(0, _theme.name);
if (_theme.isThemeOverride)
this._WriteBool1(1, true);
this.WriteUChar(g_nodeAttributeEnd);
this.WriteRecord1(0, _theme.themeElements, this.WriteThemeElements);
......
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