diff options
author | arved <arved@unknown> | 2000-12-18 03:51:47 +0000 |
---|---|---|
committer | arved <arved@unknown> | 2000-12-18 03:51:47 +0000 |
commit | 8a788e99bb13e31e62a8311254dfef46c850180f (patch) | |
tree | a1e141b48daf67ad8f7bcf505a0242fb11039e41 /src | |
parent | 2dca07ec35e542bf46b0523244cf1a4cb5035be4 (diff) | |
download | xmlgraphics-fop-8a788e99bb13e31e62a8311254dfef46c850180f.tar.gz xmlgraphics-fop-8a788e99bb13e31e62a8311254dfef46c850180f.zip |
Slight mods for BodyAreaContainer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193899 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/org/apache/fop/fo/flow/BasicLink.java | 2 | ||||
-rw-r--r-- | src/org/apache/fop/fo/pagination/PageSequence.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/BasicLink.java b/src/org/apache/fop/fo/flow/BasicLink.java index aa07d6f7a..aff4a0380 100644 --- a/src/org/apache/fop/fo/flow/BasicLink.java +++ b/src/org/apache/fop/fo/flow/BasicLink.java @@ -119,7 +119,7 @@ public class BasicLink extends FObjMixed { // assumption - AS // should be able to retrieve this from somewhere - JT - AreaContainer ac = p.getBody(); + AreaContainer ac = p.getBody().getMainReferenceArea(); int numChildren = this.children.size(); for (int i = this.marker; i < numChildren; i++) { diff --git a/src/org/apache/fop/fo/pagination/PageSequence.java b/src/org/apache/fop/fo/pagination/PageSequence.java index ee7f0deeb..8ed4b0d4c 100644 --- a/src/org/apache/fop/fo/pagination/PageSequence.java +++ b/src/org/apache/fop/fo/pagination/PageSequence.java @@ -59,6 +59,7 @@ import org.apache.fop.fo.flow.Flow; import org.apache.fop.fo.flow.StaticContent; import org.apache.fop.layout.Area; import org.apache.fop.layout.AreaContainer; +import org.apache.fop.layout.BodyAreaContainer; import org.apache.fop.layout.AreaTree; import org.apache.fop.layout.Page; import org.apache.fop.layout.PageMaster; @@ -299,7 +300,7 @@ public class PageSequence extends FObj } else { - AreaContainer bodyArea = currentPage.getBody(); + BodyAreaContainer bodyArea = currentPage.getBody(); bodyArea.setIDReferences(areaTree.getIDReferences()); Flow flow = getCurrentFlow(RegionBody.REGION_CLASS); |