aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/rtf
diff options
context:
space:
mode:
authorPeter Herweg <pherweg@apache.org>2005-12-27 22:17:47 +0000
committerPeter Herweg <pherweg@apache.org>2005-12-27 22:17:47 +0000
commit3742f324a30750df6a6c69397d2501c82576ba7c (patch)
tree025bd44084d3e6200fff1192445b182e6575ac72 /src/java/org/apache/fop/render/rtf
parentda88aad98bb22d669191f7e3a25280ba180a1bd2 (diff)
downloadxmlgraphics-fop-3742f324a30750df6a6c69397d2501c82576ba7c.tar.gz
xmlgraphics-fop-3742f324a30750df6a6c69397d2501c82576ba7c.zip
RTF: Don't set \brsp at tables, because it makes them look quite broken.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359302 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/rtf')
-rw-r--r--src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java b/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java
index 53ac912d0..54119c09f 100644
--- a/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java
+++ b/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java
@@ -55,8 +55,10 @@ public class BorderAttributesConverter {
//division by 50 to convert millipoints to twips
attrs.set(IBorderAttributes.BORDER_WIDTH, border.getBorderWidth(side, false) / 50);
attributes.set(controlWord, attrs);
- attrs.setTwips(IBorderAttributes.BORDER_SPACE, border.getPadding(side, false, null));
- attributes.set(controlWord, attrs);
+ //Don't set BORDER_SPACE, because it makes the table look quite broken:
+ //vertical and horizontal borders don't meet at corners.
+ //attrs.setTwips(IBorderAttributes.BORDER_SPACE, border.getPadding(side, false, null));
+ //attributes.set(controlWord, attrs);
} else {
// Here padding specified, but corresponding border is not available