diff options
author | Yegor Kozlov <yegor@apache.org> | 2010-09-04 10:05:38 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2010-09-04 10:05:38 +0000 |
commit | 5fc4b570caeff1c689881d001628ebeeab3c4a41 (patch) | |
tree | 2d41afefdd47cc86db33c805be601c47d4f15e70 /src/ooxml/testcases/org/apache/poi/xwpf | |
parent | d6e6f426f52f989642da783a5322647ea31685ed (diff) | |
download | poi-5fc4b570caeff1c689881d001628ebeeab3c4a41.tar.gz poi-5fc4b570caeff1c689881d001628ebeeab3c4a41.zip |
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
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/xwpf')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java index 15ef5cef43..bf82b7ce9c 100644 --- a/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java +++ b/src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFParagraph.java @@ -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()); + } + } |