Exemple #1
0
        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);
        }
Exemple #2
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);
        }
Exemple #3
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;
 }