From c1652b40715d4b1479efc99f222f2b64ed531eae Mon Sep 17 00:00:00 2001 From: Dmytro Goldshteyn Date: Mon, 2 Sep 2019 12:10:56 +0200 Subject: [PATCH] update AbstractNumId by adding --- src/NPOI.OOXML/XWPF/Usermodel/XWPFNumbering.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NPOI.OOXML/XWPF/Usermodel/XWPFNumbering.cs b/src/NPOI.OOXML/XWPF/Usermodel/XWPFNumbering.cs index 1deee85..9b05491 100644 --- a/src/NPOI.OOXML/XWPF/Usermodel/XWPFNumbering.cs +++ b/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