Commit 1acb24b2 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32406

parent 19d3d171
...@@ -1377,7 +1377,7 @@ asc_docs_api.prototype.UpdateParagraphProp = function(ParaPr, bParaPr){ ...@@ -1377,7 +1377,7 @@ asc_docs_api.prototype.UpdateParagraphProp = function(ParaPr, bParaPr){
ListType.SubType = undefined; ListType.SubType = undefined;
if(AscFormat.isRealNumber(ParaPr.Bullet.bulletType.AutoNumType)) if(AscFormat.isRealNumber(ParaPr.Bullet.bulletType.AutoNumType))
{ {
var AutoNumType = g_NumberingArr[ParaPr.Bullet.bulletType.AutoNumType] - 99; var AutoNumType = AscCommonWord.g_NumberingArr[ParaPr.Bullet.bulletType.AutoNumType] - 99;
if(AutoNumType > 0 && AutoNumType < 9) if(AutoNumType > 0 && AutoNumType < 9)
{ {
ListType.SubType = AutoNumType; ListType.SubType = AutoNumType;
......
...@@ -2479,3 +2479,4 @@ function getNumInfoLvl(Lvl) { ...@@ -2479,3 +2479,4 @@ function getNumInfoLvl(Lvl) {
window['AscCommonWord'] = window['AscCommonWord'] || {}; window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].CAbstractNum = CAbstractNum; window['AscCommonWord'].CAbstractNum = CAbstractNum;
window['AscCommonWord'].getNumInfoLvl = getNumInfoLvl; window['AscCommonWord'].getNumInfoLvl = getNumInfoLvl;
window['AscCommonWord'].g_NumberingArr = g_NumberingArr;
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