aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/PageSequence.java
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-09-02 01:31:36 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-09-02 01:31:36 +0000
commitb35e94b1df6972593ec2b0ac2fabb560feaddb35 (patch)
treea981385617fcb6fd8a34106b6fbbbb49525400c9 /src/java/org/apache/fop/fo/pagination/PageSequence.java
parent29741488f060797401a577e9537ff34ec6534151 (diff)
downloadxmlgraphics-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.java4
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);