git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1098927 13f79535-47bb-0310-9956-ffa450edef68tags/REL_3_8_BETA3
@@ -34,6 +34,7 @@ | |||
<changes> | |||
<release version="3.8-beta3" date="2011-??-??"> | |||
<action dev="poi-developers" type="fix">51112 - Correct XWPFTable tracking of new rows</action> | |||
<action dev="poi-developers" type="fix">51113 - Correct XWPFParagraph tracking of inserted runs</action> | |||
<action dev="poi-developers" type="fix">51111 - Correct XWPFParagraph tracking of new runs</action> | |||
<action dev="poi-developers" type="fix">51115 - Handle DataFormatter escaping of "." in the same way as "-" and "/"</action> |
@@ -159,6 +159,7 @@ public class XWPFTable implements IBodyElement{ | |||
.sizeOfTcArray() : 0; | |||
XWPFTableRow tabRow = new XWPFTableRow(ctTbl.addNewTr(), this); | |||
addColumn(tabRow, sizeCol); | |||
tableRows.add(tabRow); | |||
return tabRow; | |||
} | |||
@@ -94,6 +94,7 @@ public class TestXWPFTable extends TestCase { | |||
//add a new row | |||
xtab.createRow(); | |||
assertEquals(4, xtab.getNumberOfRows()); | |||
//check number of cols | |||
assertEquals(2, table.getTrArray(0).sizeOfTcArray()); |