xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r530887 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
Date Fri, 20 Apr 2007 19:09:52 GMT
Author: vhennebert
Date: Fri Apr 20 12:09:51 2007
New Revision: 530887

URL: http://svn.apache.org/viewvc?view=rev&rev=530887
Log:
Fix the handling of padding for spanning cells in the collapsing-border model

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java?view=diff&rev=530887&r1=530886&r2=530887
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
(original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java
Fri Apr 20 12:09:51 2007
@@ -358,8 +358,6 @@
                         primaryGridUnit.getFlag(GridUnit.IN_LAST_COLUMN)};
                 TraitSetter.addCollapsingBorders(curBlockArea,
                         primaryGridUnit.getBorders(), outer, this);
-                TraitSetter.addPadding(curBlockArea, primaryGridUnit.getBorders(),
-                        false, false, false, false, this);
             } else {
                 boolean[] outer = new boolean[4];
                 int dy = yoffset;
@@ -405,6 +403,8 @@
                 }
             }
         }
+        TraitSetter.addPadding(curBlockArea, primaryGridUnit.getBorders(),
+                false, false, false, false, this);
 
         //Handle display-align
         int contentBPD = getContentHeight(primaryGridUnit);



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


Mime
View raw message