From 4442f45f8b855739f5e8e9d2dd69b23fff7db2e4 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Sat, 8 May 2004 13:07:17 +0000 Subject: [PATCH] childContext and myCOntext fields added. getReferenceRectangle() added git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197570 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/FOPageSeqNode.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/fop/fo/FOPageSeqNode.java b/src/java/org/apache/fop/fo/FOPageSeqNode.java index f2319988c..c322a8ec9 100644 --- a/src/java/org/apache/fop/fo/FOPageSeqNode.java +++ b/src/java/org/apache/fop/fo/FOPageSeqNode.java @@ -20,6 +20,7 @@ package org.apache.fop.fo; import org.apache.fop.apps.FOPException; +import org.apache.fop.area.Area; import org.apache.fop.datastructs.TreeException; import org.apache.fop.fo.expr.PropertyException; import org.apache.fop.fo.flow.FoMarker; @@ -32,10 +33,13 @@ import org.apache.fop.xml.XmlEvent; */ public class FOPageSeqNode extends FONode { + /** The FoPageSequence ancestor of this node. */ + protected final FONode pageSequence; /** - * The FoPageSequence ancestor of this node. + * Comment for childContext */ - protected final FONode pageSequence; + private Area childContext = null; + private Area myContext = null; /** * @param foTree the FO tree to which this node is added @@ -150,5 +154,9 @@ public class FOPageSeqNode extends FONode { } return numMarkers; } - + + public Area getReferenceRectangle() throws FOPException { + throw new FOPException("Called from FOPageSeqNode"); + } + } -- 2.39.5