ensure that CTNumPr is included in poi-ooxml-schemas.jar (Bugzilla 49833)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992574 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2010-09-04 10:05:38 +00:00
parent d6e6f426f5
commit 5fc4b570ca
2 changed files with 10 additions and 0 deletions

View File

@ -34,6 +34,7 @@
<changes>
<release version="3.7-beta3" date="2010-??-??">
<action dev="poi-developers" type="fix">49833 - ensure that CTNumPr is included in poi-ooxml-schemas.jar</action>
<action dev="POI-DEVELOPERS" type="fix">49841 - fixed LEFT and RIGHT to return #VALUE! when called with a negative operand </action>
<action dev="POI-DEVELOPERS" type="fix">49783 - fixed evaluation of XSSF workbooks containing formulas with reference errors (#REF!)</action>
<action dev="POI-DEVELOPERS" type="fix">49751 - fixed fetching names of user defined styles in HSSFCellStyle.getUserStyleName()</action>

View File

@ -237,4 +237,13 @@ public final class TestXWPFParagraph extends TestCase {
CTBookmark ctBookmark = paragraph.getCTP().getBookmarkStartArray(0);
assertEquals("poi", ctBookmark.getName());
}
public void testGetSetNumID() {
XWPFDocument doc = new XWPFDocument();
XWPFParagraph p = doc.createParagraph();
p.setNumID(new BigInteger("10"));
assertEquals("10", p.getNumID().toString());
}
}