poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r992574 - in /poi/trunk/src: documentation/content/xdocs/status.xml ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java
Date Sat, 04 Sep 2010 10:05:38 GMT
Author: yegor
Date: Sat Sep  4 10:05:38 2010
New Revision: 992574

URL: http://svn.apache.org/viewvc?rev=992574&view=rev
Log:
ensure that CTNumPr is included in poi-ooxml-schemas.jar (Bugzilla 49833)

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

Modified: poi/trunk/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=992574&r1=992573&r2=992574&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/status.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/status.xml Sat Sep  4 10:05:38 2010
@@ -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>

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java?rev=992574&r1=992573&r2=992574&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java Sat
Sep  4 10:05:38 2010
@@ -237,4 +237,13 @@ public final class TestXWPFParagraph ext
         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());
+    }
+    
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message