]> source.dussan.org Git - poi.git/commitdiff
add test case for lost cell properties
authorSergey Vladimirov <sergey@apache.org>
Tue, 5 Jul 2011 14:35:36 +0000 (14:35 +0000)
committerSergey Vladimirov <sergey@apache.org>
Tue, 5 Jul 2011 14:35:36 +0000 (14:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143077 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java

index 33321987f1738ffadad341f64baa3d96e8fc1caa..b5c442aea76b06cdc6814a749879f81d6ca428f6 100644 (file)
@@ -71,6 +71,15 @@ public class TestWordToFoConverter extends TestCase
                 .contains( "<!--Image link to '0.emf' can be here-->" ) );
     }
 
+    public void testInnerTable() throws Exception
+    {
+        final String sampleFileName = "innertable.doc";
+        String result = getFoText( sampleFileName );
+
+        assertTrue( result
+                .contains( "padding-end=\"0.0in\" padding-start=\"0.0in\" width=\"1.0770833in\"" ) );
+    }
+
     public void testHyperlink() throws Exception
     {
         final String sampleFileName = "hyperlink.doc";