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/09 19:05:19 UTC
svn commit: r554711 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java
Author: vhennebert
Date: Mon Jul 9 10:05:18 2007
New Revision: 554711
URL: http://svn.apache.org/viewvc?view=rev&rev=554711
Log:
Move the content of the now small setupElementList method into initializeElementLists
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java?view=diff&rev=554711&r1=554710&r2=554711
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/TableStepper.java Mon Jul 9 10:05:18 2007
@@ -290,22 +290,18 @@
return maxW;
}
- private void setupElementList(int column) {
- GridUnit gu = getActiveGridUnit(column);
- EffRow row = getActiveRow();
- if (gu != null && !gu.isEmpty() && gu.isPrimary()) {
- activeCells.add(new ActiveCell((PrimaryGridUnit) gu, row, activeRowIndex, rowGroup, getTableLM()));
- }
- }
-
/**
* Initializes the informations relative to the Knuth elements, to handle a new row in
* the current row group.
*/
private void initializeElementLists() {
log.trace("Entering initializeElementLists()");
+ EffRow row = getActiveRow();
for (int i = 0; i < columnCount; i++) {
- setupElementList(i);
+ GridUnit gu = getActiveGridUnit(i);
+ if (gu != null && !gu.isEmpty() && gu.isPrimary()) {
+ activeCells.add(new ActiveCell((PrimaryGridUnit) gu, row, activeRowIndex, rowGroup, getTableLM()));
+ }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org