Browse Source

update AbstractNumId by adding

master
Dmytro Goldshteyn 5 years ago
parent
commit
c1652b4071
  1. 1
      src/NPOI.OOXML/XWPF/Usermodel/XWPFNumbering.cs

1
src/NPOI.OOXML/XWPF/Usermodel/XWPFNumbering.cs

@ -249,6 +249,7 @@ namespace NPOI.XWPF.UserModel
int pos = abstractNums.Count;
if (abstractNum.GetAbstractNum() != null)
{ // Use the current CTAbstractNum if it exists
abstractNum.GetAbstractNum().abstractNumId = pos.ToString();
ctNumbering.AddNewAbstractNum().Set(abstractNum.GetAbstractNum());
}
else

Loading…
Cancel
Save