xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r594079 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java
Date Mon, 12 Nov 2007 10:40:21 GMT
Author: vhennebert
Date: Mon Nov 12 02:40:21 2007
New Revision: 594079

URL: http://svn.apache.org/viewvc?rev=594079&view=rev
Log:
Use tableLM instead of the primary grid unit to retrieve the Table fobj

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

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java?rev=594079&r1=594078&r2=594079&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java Mon Nov
12 02:40:21 2007
@@ -74,7 +74,7 @@
         }
         if (pgu.isLastGridUnitRowSpan() && pgu.getRow() != null) {
             makeBoxForWholeRow |= pgu.getRow().mustKeepTogether();
-            makeBoxForWholeRow |= pgu.getTable().mustKeepTogether();
+            makeBoxForWholeRow |= tableLM.getTable().mustKeepTogether();
         }
         if (makeBoxForWholeRow) {
             elementList = new java.util.ArrayList(1);
@@ -94,7 +94,7 @@
         this.previousRowsLength = previousRowsLength;
         nextStepLength = previousRowsLength;
         totalLength = previousRowsLength + ElementListUtils.calcContentLength(elementList);
-        if (pgu.getTable().isSeparateBorderModel()) {
+        if (tableLM.getTable().isSeparateBorderModel()) {
             borderBefore = pgu.getBorders().getBorderBeforeWidth(false)
                     + tableLM.getHalfBorderSeparationBPD();
             borderAfter = pgu.getBorders().getBorderAfterWidth(false)



---------------------------------------------------------------------
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