Commit a2069511 authored by Sergey Konovalov's avatar Sergey Konovalov

open notesMasters rels

parent a0f57eb9
...@@ -703,6 +703,27 @@ function BinaryPPTYLoader() ...@@ -703,6 +703,27 @@ function BinaryPPTYLoader()
_noteNum++; _noteNum++;
} }
} }
if (undefined != _main_tables["47"])
{
s.Seek2(_main_tables["47"]);
s.Skip2(6); // type + len + start attr
var _noteMasterNum = 0;
while (true)
{
var _at = s.GetUChar();
if (_at == g_nodeAttributeEnd)
break;
var indexL = s.GetLong();
var notesMaster = this.presentation.notesMasters[_noteMasterNum];
var notesMasterTheme = this.presentation.themes[indexL];
if (notesMaster && notesMasterTheme) {
notesMaster.setTheme(notesMasterTheme);
}
_noteMasterNum++;
}
}
} }
if (this.Api != null && !this.IsThemeLoader) if (this.Api != null && !this.IsThemeLoader)
......
...@@ -68,7 +68,8 @@ var c_oMainTables = { ...@@ -68,7 +68,8 @@ var c_oMainTables = {
ImageMap : 42, ImageMap : 42,
FontMap : 43, FontMap : 43,
SlideNotesRels : 45, SlideNotesRels : 45,
NotesRels : 46 NotesRels : 46,
NotesMastersRels: 47
}; };
function CSeekTableEntry() function CSeekTableEntry()
......
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