]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix for display-align on table-cell.
authorJeremias Maerki <jeremias@apache.org>
Fri, 13 May 2005 14:39:06 +0000 (14:39 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 13 May 2005 14:39:06 +0000 (14:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_KnuthStylePageBreaking@198624 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java

index d359dfa9b819b40d7d0d997c84446126e7442940..d4b22213f5268bfed297fbedd6506843d7da98c4 100644 (file)
@@ -636,11 +636,11 @@ public class TableContentLayoutManager {
                     readyCount++;
                     int len = ElementListUtils.calcContentLength(
                             gridUnits[i].getElements(), start[i], end[i]);
+                    partLength[i] = len;
+                    log.debug("len of part: " + len);
                     if (start[i] == 0 && lastRow.getExplicitHeight().min > 0) {
                         len = Math.max(len, lastRow.getExplicitHeight().opt);
                     }
-                    partLength[i] = len;
-                    log.debug("len of part: " + len);
                     
                     //Now add the borders to the contentLength
                     if (isSeparateBorderModel()) {