Example #1
0
 /// <summary>
 /// Add a new AbstractNum
 /// </summary>
 /// <returns></returns>
 /// @author antony liu
 public string AddAbstractNum()
 {
     CT_AbstractNum ctAbstractNum = ctNumbering.AddNewAbstractNum();
     XWPFAbstractNum abstractNum = new XWPFAbstractNum(ctAbstractNum, this);
     abstractNum.AbstractNumId = abstractNums.Count.ToString();
     abstractNum.MultiLevelType = MultiLevelType.HybridMultilevel;
     abstractNum.InitLvl();
     abstractNums.Add(abstractNum);
     return abstractNum.GetAbstractNum().abstractNumId;
 }