You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ph...@apache.org on 2005/12/27 23:19:22 UTC

svn commit: r359302 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java

Author: pherweg
Date: Tue Dec 27 14:17:47 2005
New Revision: 359302

URL: http://svn.apache.org/viewcvs?rev=359302&view=rev
Log:
RTF: Don't set \brsp at tables, because it makes them look quite broken.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java?rev=359302&r1=359301&r2=359302&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java Tue Dec 27 14:17:47 2005
@@ -55,8 +55,10 @@
             //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
             



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org