]> source.dussan.org Git - poi.git/commitdiff
ensure that CTNumPr is included in poi-ooxml-schemas.jar (Bugzilla 49833)
authorYegor Kozlov <yegor@apache.org>
Sat, 4 Sep 2010 10:05:38 +0000 (10:05 +0000)
committerYegor Kozlov <yegor@apache.org>
Sat, 4 Sep 2010 10:05:38 +0000 (10:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@992574 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/status.xml
src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java

index 40ad949571968688bb17376aad989b83631f80ea..ecd28631be66ff819cd5ed4770647430b690e03d 100644 (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>
index 15ef5cef432098aebf3bd9607ff7c34ff2c2299c..bf82b7ce9c53354f9ab50d3e91f877ab5421130e 100644 (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());
+    }
+    
 }