aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/rtf/RTFHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/rtf/RTFHandler.java')
-rw-r--r--src/java/org/apache/fop/render/rtf/RTFHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/RTFHandler.java b/src/java/org/apache/fop/render/rtf/RTFHandler.java
index 151bb373d..06e02f9ff 100644
--- a/src/java/org/apache/fop/render/rtf/RTFHandler.java
+++ b/src/java/org/apache/fop/render/rtf/RTFHandler.java
@@ -505,7 +505,9 @@ public class RTFHandler extends FOEventHandler {
try {
Integer iWidth = new Integer(tc.getColumnWidth().getValue() / 1000);
- builderContext.getTableContext().setNextColumnWidth(iWidth.toString() + "pt");
+ String strWidth = iWidth.toString() + "pt";
+ Float width = new Float(FoUnitsConverter.getInstance().convertToTwips(strWidth));
+ builderContext.getTableContext().setNextColumnWidth(width);
builderContext.getTableContext().setNextColumnRowSpanning(new Integer(0), null);
} catch (Exception e) {
log.error("startColumn: " + e.getMessage());