]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added a bpd field so that region reference areas has both ipd (from Area)
authorFinn Bock <bckfnn@apache.org>
Wed, 4 Feb 2004 12:57:28 +0000 (12:57 +0000)
committerFinn Bock <bckfnn@apache.org>
Wed, 4 Feb 2004 12:57:28 +0000 (12:57 +0000)
and bpd.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197325 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/area/RegionReference.java

index cadf27846639d373cd76896e654270abe98bd2ff..6632cb7323f6578302f7de74b9cddfb69e564022 100644 (file)
@@ -66,6 +66,8 @@ public class RegionReference extends Area implements Cloneable {
     // the list of block areas from the static flow
     private List blocks = new ArrayList();
 
+    private int bpd;
+
     /**
      * Create a new region reference area.
      *
@@ -124,6 +126,24 @@ public class RegionReference extends Area implements Cloneable {
         blocks.add(block);
     }
 
+    /**
+     * Set the block-progression-dimension.
+     *
+     * @return the footnote area
+     */
+    public void setBPD(int bpd) {
+        this.bpd = bpd;
+    }
+
+    /**
+     * Set the block-progression-dimension.
+     *
+     * @return the footnote area
+     */
+    public int getBPD() {
+        return bpd;
+    }
+
     /**
      * Clone this region.
      * This is used when cloning the page by the page master.