]> source.dussan.org Git - poi.git/commitdiff
disable wraps in "extended" cells
authorSergey Vladimirov <sergey@apache.org>
Fri, 30 Sep 2011 13:19:09 +0000 (13:19 +0000)
committerSergey Vladimirov <sergey@apache.org>
Fri, 30 Sep 2011 13:19:09 +0000 (13:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177644 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java

index baea9052f3f04d99efb9a4d39d94247618e3cf29..71915d9ea350798022aacd3c03d8ae79729b7cd5 100644 (file)
@@ -328,6 +328,7 @@ public class ExcelToFoConverter extends AbstractExcelConverter
             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,