示例#1
0
文件: XWPFTable.cs 项目: ornoand/npoi
 /**
  * add a new Row to the table
  * at position pos
  * @param row	the row which should be Added
  */
 public bool AddRow(XWPFTableRow row, int pos)
 {
     if (pos >= 0 && pos <= tableRows.Count)
     {
         ctTbl.InsertNewTr(pos);
         ctTbl.SetTrArray(pos, row.GetCTRow());
         tableRows.Insert(pos, row);
         return(true);
     }
     return(false);
 }
示例#2
0
文件: XWPFTable.cs 项目: ornoand/npoi
 /**
  * add a new Row to the table
  *
  * @param row	the row which should be Added
  */
 public void AddRow(XWPFTableRow row)
 {
     ctTbl.AddNewTr();
     ctTbl.SetTrArray(this.NumberOfRows - 1, row.GetCTRow());
     tableRows.Add(row);
 }
示例#3
-1
 /**
  * add a new Row to the table
  * at position pos
  * @param row	the row which should be Added
  */
 public bool AddRow(XWPFTableRow row, int pos)
 {
     if (pos >= 0 && pos <= tableRows.Count)
     {
         ctTbl.InsertNewTr(pos);
         ctTbl.SetTrArray(pos, row.GetCTRow());
         tableRows.Insert(pos, row);
         return true;
     }
     return false;
 }
示例#4
-1
 /**
  * add a new Row to the table
  * 
  * @param row	the row which should be Added
  */
 public void AddRow(XWPFTableRow row)
 {
     ctTbl.AddNewTr();
     ctTbl.SetTrArray(this.NumberOfRows-1, row.GetCTRow());
     tableRows.Add(row);
 }