aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/table
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2006-08-08 15:40:12 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2006-08-08 15:40:12 +0000
commitc83b0f893ee4e383be8b5c26e5ddf6492519a9fd (patch)
treeaf9db4f92a9f135105f27c3ab6bd22acc7b7f04e /src/java/org/apache/fop/layoutmgr/table
parentb1b90ee83327f03c058c8128df5efe2a3fdc7cb7 (diff)
downloadxmlgraphics-fop-c83b0f893ee4e383be8b5c26e5ddf6492519a9fd.tar.gz
xmlgraphics-fop-c83b0f893ee4e383be8b5c26e5ddf6492519a9fd.zip
Small update in the table-layout code
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429694 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/table')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
index a5eeb1093..1c3045e52 100644
--- a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
@@ -76,6 +76,8 @@ public class TableContentLayoutManager implements PercentBaseContext {
private int startXOffset;
private int usedBPD;
+
+ private TableStepper stepper = new TableStepper(this);
/**
* Main constructor
@@ -577,8 +579,7 @@ public class TableContentLayoutManager implements PercentBaseContext {
log.debug(" height=" + rowHeights[i] + " explicit=" + explicitRowHeights[i]);
}
}
- TableStepper stepper = new TableStepper(this);
- LinkedList returnedList = stepper.getCombinedKnuthElementsForRowGroup(
+ LinkedList returnedList = this.stepper.getCombinedKnuthElementsForRowGroup(
context, rowGroup, maxColumnCount, bodyType);
if (returnedList != null) {
returnList.addAll(returnedList);