From e07b60d81466c0d07ef2bfd694b222806ea18880 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Tue, 5 Jul 2011 14:35:36 +0000 Subject: [PATCH] add test case for lost cell properties git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143077 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hwpf/converter/TestWordToFoConverter.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java index 33321987f1..b5c442aea7 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToFoConverter.java @@ -71,6 +71,15 @@ public class TestWordToFoConverter extends TestCase .contains( "" ) ); } + 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";