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 vh...@apache.org on 2007/07/19 16:13:02 UTC

svn commit: r557630 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java

Author: vhennebert
Date: Thu Jul 19 07:13:01 2007
New Revision: 557630

URL: http://svn.apache.org/viewvc?view=rev&rev=557630
Log:
Rename endRow into the more meaningful endRowIndex

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?view=diff&rev=557630&r1=557629&r2=557630
==============================================================================
--- 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 Thu Jul 19 07:13:01 2007
@@ -35,7 +35,7 @@
         private ListIterator knuthIter;
         private boolean prevIsBox = false;
         /** Number of the row where the row-span ends, zero-based. */
-        private int endRow;
+        private int endRowIndex;
         /** Index, in the list of Knuth elements, of the element starting the current step. */
         private int start;
         /** Index, in the list of Knuth elements, of the element ending the current step. */
@@ -101,14 +101,14 @@
             paddingAfter = pgu.getBorders().getPaddingAfter(false, pgu.getCellLM());
             start = 0;
             end = -1;
-            endRow = rowIndex + pgu.getCell().getNumberRowsSpanned() - 1;
+            endRowIndex = rowIndex + pgu.getCell().getNumberRowsSpanned() - 1;
             keepWithNextSignal = false;
             remainingLength = totalLength;
             goToNextLegalBreak();
         }
 
         boolean endsOnRow(int rowIndex) {
-            return rowIndex == endRow;
+            return rowIndex == endRowIndex;
         }
 
         int getRemainingHeight(int activeRowIndex, EffRow[] rowGroup) {



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