public string AddAbstractNum() { XWPFAbstractNum xwpfAbstractNum = new XWPFAbstractNum(this.ctNumbering.AddNewAbstractNum(), this); xwpfAbstractNum.AbstractNumId = this.abstractNums.Count.ToString(); xwpfAbstractNum.MultiLevelType = MultiLevelType.HybridMultilevel; xwpfAbstractNum.InitLvl(); this.abstractNums.Add(xwpfAbstractNum); return(xwpfAbstractNum.GetAbstractNum().abstractNumId); }
/// <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); }
/// <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; }