From 4e065f724d4415ebbb90890c3522d3e17472bcbf Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Wed, 20 Oct 2004 21:07:02 +0000 Subject: Fourth phase of performance improvement. - Misc cleanup. PR: 31699 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198096 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java') diff --git a/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java b/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java index 15ee8b873..f3f261694 100644 --- a/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java @@ -18,8 +18,8 @@ package org.apache.fop.layoutmgr; -import org.apache.fop.fo.FObj; import org.apache.fop.fo.flow.Marker; +import org.apache.fop.fo.pagination.Flow; import org.apache.fop.area.Area; import org.apache.fop.area.BlockParent; @@ -34,7 +34,8 @@ import org.apache.fop.traits.MinOptMax; * and filling them with block-level areas generated by its children. */ public class FlowLayoutManager extends BlockStackingLayoutManager { - + private Flow fobj; + /** List of break possibilities */ protected List blockBreaks = new ArrayList(); @@ -47,8 +48,9 @@ public class FlowLayoutManager extends BlockStackingLayoutManager { * This is the top level layout manager. * It is created by the PageSequence FO. */ - public FlowLayoutManager(FObj node) { + public FlowLayoutManager(Flow node) { super(node); + fobj = node; } /** -- cgit v1.2.3