poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1177644 - /poi/trunk/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java
Date Fri, 30 Sep 2011 13:19:10 GMT
Author: sergey
Date: Fri Sep 30 13:19:09 2011
New Revision: 1177644

URL: http://svn.apache.org/viewvc?rev=1177644&view=rev
Log:
disable wraps in "extended" cells

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java?rev=1177644&r1=1177643&r2=1177644&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java Fri
Sep 30 13:19:09 2011
@@ -328,6 +328,7 @@ public class ExcelToFoConverter extends 
             block.setAttribute( "overflow", "hidden" );
             block.setAttribute( "height", normalHeightPt + "pt" );
             block.setAttribute( "keep-together.within-line", "always" );
+            block.setAttribute( "wrap-option", "no-wrap" );
         }
 
         processCellStyle( workbook, cell.getCellStyle(), tableCellElement,



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


Mime
View raw message