]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
RTF: Don't set \brsp at tables, because it makes them look quite broken.
authorPeter Herweg <pherweg@apache.org>
Tue, 27 Dec 2005 22:17:47 +0000 (22:17 +0000)
committerPeter Herweg <pherweg@apache.org>
Tue, 27 Dec 2005 22:17:47 +0000 (22:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359302 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java

index 53ac912d0c70d662fc7beed0da9c380b5a75a49f..54119c09f26b289e4c7801a2a2fc6d3d9dbd9c2f 100644 (file)
@@ -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