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

дополнение к Revision: 49384

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49385 954022d7-b5bf-4e40-9824-e11837661b57
parent b8176d44
......@@ -634,11 +634,14 @@ function BinaryFileWriter(doc)
this.copyParams.nNumIdIndex++;
//проверяем PStyle уровней списка
var aNum = this.Document.Numbering.Get_AbstractNum(oNumPr.NumId);
for(var i = 0, length = aNum.Lvl.length; i < length; ++i)
if(null != aNum)
{
var oLvl = aNum.Lvl[i];
if(null != oLvl.PStyle)
this.copyParams.oUsedStyleMap[oLvl.PStyle] = 1;
for(var i = 0, length = aNum.Lvl.length; i < length; ++i)
{
var oLvl = aNum.Lvl[i];
if(null != oLvl.PStyle)
this.copyParams.oUsedStyleMap[oLvl.PStyle] = 1;
}
}
}
}
......
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