poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1149592 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java
Date Fri, 22 Jul 2011 12:48:16 GMT
Author: sergey
Date: Fri Jul 22 12:48:15 2011
New Revision: 1149592

URL: http://svn.apache.org/viewvc?rev=1149592&view=rev
Log:
fix: allow text breaks in table cells after Word-to-FO converter

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java?rev=1149592&r1=1149591&r2=1149592&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java Fri Jul
22 12:48:15 2011
@@ -318,7 +318,8 @@ public class WordToFoUtils extends Abstr
         }
         if ( !tableRow.cantSplit() )
         {
-            tableRowElement.setAttribute( "keep-together", "always" );
+            tableRowElement.setAttribute( "keep-together.within-column",
+                    "always" );
         }
     }
 



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


Mime
View raw message