/** * 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); }