]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Column support
authorarved <arved@unknown>
Mon, 18 Dec 2000 03:46:29 +0000 (03:46 +0000)
committerarved <arved@unknown>
Mon, 18 Dec 2000 03:46:29 +0000 (03:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193897 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/layout/PageMaster.java

index f564abda33c046e9ce87ea7d95e96e9aaa9c5732..6e60886e2da6a0289ee5a647d724b65a05d049b8 100644 (file)
@@ -55,7 +55,7 @@ public class PageMaster {
     private int width;
     private int height;
        
-    private RegionArea body;
+    private BodyRegionArea body;
     private RegionArea before;
     private RegionArea after;
     private RegionArea start;
@@ -74,7 +74,7 @@ public class PageMaster {
        this.before = region;
     }
 
-    public void addBody(RegionArea region) {
+    public void addBody(BodyRegionArea region) {
        this.body = region;
     }
 
@@ -97,7 +97,7 @@ public class PageMaster {
     public Page makePage(AreaTree areaTree) {
        Page p = new Page(areaTree, this.height, this.width);
        if (this.body != null) {
-           p.addBody(body.makeAreaContainer());
+           p.addBody(body.makeBodyAreaContainer());
        }
        if (this.before != null) {
            p.addBefore(before.makeAreaContainer());