diff options
author | William Victor Mote <vmote@apache.org> | 2003-09-02 01:31:36 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-09-02 01:31:36 +0000 |
commit | b35e94b1df6972593ec2b0ac2fabb560feaddb35 (patch) | |
tree | a981385617fcb6fd8a34106b6fbbbb49525400c9 /src/java/org/apache/fop/fo/pagination/PageSequence.java | |
parent | 29741488f060797401a577e9537ff34ec6534151 (diff) | |
download | xmlgraphics-fop-b35e94b1df6972593ec2b0ac2fabb560feaddb35.tar.gz xmlgraphics-fop-b35e94b1df6972593ec2b0ac2fabb560feaddb35.zip |
Remove all storage of fo/FOInputHandler from within the FO Tree itself, in favor of storing it one time in apps/Document and getting it from there when needed. Makes everything cleaner, and uses less memory, at the probable expense of some processing time (to go up the tree to get to Document).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196887 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/PageSequence.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/PageSequence.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/PageSequence.java b/src/java/org/apache/fop/fo/pagination/PageSequence.java index 77198e21b..d783b6510 100644 --- a/src/java/org/apache/fop/fo/pagination/PageSequence.java +++ b/src/java/org/apache/fop/fo/pagination/PageSequence.java @@ -331,7 +331,7 @@ public class PageSequence extends FObj { */ private void startStructuredPageSequence() { if (!sequenceStarted) { - foInputHandler.startPageSequence(this); + getFOTreeControl().getFOInputHandler().startPageSequence(this); sequenceStarted = true; } } @@ -343,7 +343,7 @@ public class PageSequence extends FObj { */ public void end() { try { - this.foInputHandler.endPageSequence(this); + this.getFOTreeControl().getFOInputHandler().endPageSequence(this); } catch (FOPException fopex) { getLogger().error("Error in PageSequence.end(): " + fopex.getMessage(), fopex); |