Commit 9eb68152 authored by GoshaZotov's avatar GoshaZotov

read table custom style(if empty style content)

parent 78ffed5b
...@@ -5191,7 +5191,7 @@ ...@@ -5191,7 +5191,7 @@
res = this.bcr.Read1(length, function(t,l){ res = this.bcr.Read1(length, function(t,l){
return oThis.ReadTableCustomStyle(t,l, oNewStyle, aElements); return oThis.ReadTableCustomStyle(t,l, oNewStyle, aElements);
}); });
if(null != oNewStyle.name && aElements.length > 0) { if(null != oNewStyle.name) {
if (null === oNewStyle.displayName) if (null === oNewStyle.displayName)
oNewStyle.displayName = oNewStyle.name; oNewStyle.displayName = oNewStyle.name;
oCustomStyles[oNewStyle.name] = {style : oNewStyle, elements: aElements}; oCustomStyles[oNewStyle.name] = {style : oNewStyle, elements: aElements};
......
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