Browse Source

Slight mods for BodyAreaContainer


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193899 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_17_0
arved 23 years ago
parent
commit
8a788e99bb

+ 1
- 1
src/org/apache/fop/fo/flow/BasicLink.java View File

@@ -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++) {

+ 2
- 1
src/org/apache/fop/fo/pagination/PageSequence.java View File

@@ -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);

Loading…
Cancel
Save