]> source.dussan.org Git - poi.git/commitdiff
fix: allow text breaks in table cells after Word-to-FO converter
authorSergey Vladimirov <sergey@apache.org>
Fri, 22 Jul 2011 12:48:15 +0000 (12:48 +0000)
committerSergey Vladimirov <sergey@apache.org>
Fri, 22 Jul 2011 12:48:15 +0000 (12:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149592 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java

index d543bfc3a4cc44f0dbbd313289cf110b4de7d010..fdea671039b3edbb2b5f721720419a2b325c9ce1 100644 (file)
@@ -318,7 +318,8 @@ public class WordToFoUtils extends AbstractWordUtils
         }
         if ( !tableRow.cantSplit() )
         {
-            tableRowElement.setAttribute( "keep-together", "always" );
+            tableRowElement.setAttribute( "keep-together.within-column",
+                    "always" );
         }
     }