From f34bdbaea94c0442356bd0ad1726d09768f71549 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Fri, 30 Sep 2011 13:19:09 +0000 Subject: [PATCH] disable wraps in "extended" cells git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177644 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hssf/converter/ExcelToFoConverter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java b/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java index baea9052f3..71915d9ea3 100644 --- a/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java +++ b/src/scratchpad/src/org/apache/poi/hssf/converter/ExcelToFoConverter.java @@ -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, -- 2.39.5