aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-02-04 12:57:28 +0000
committerFinn Bock <bckfnn@apache.org>2004-02-04 12:57:28 +0000
commit95a786d221b4781042dcf5fcc81adfcfef111f9b (patch)
tree88c8670e2042514a1561c212e67a3df1aa2f15e9 /src
parent16d93f50fb2d6c0be1076201993ecc3469ea7606 (diff)
downloadxmlgraphics-fop-95a786d221b4781042dcf5fcc81adfcfef111f9b.tar.gz
xmlgraphics-fop-95a786d221b4781042dcf5fcc81adfcfef111f9b.zip
Added a bpd field so that region reference areas has both ipd (from Area)
and bpd. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197325 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/area/RegionReference.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/RegionReference.java b/src/java/org/apache/fop/area/RegionReference.java
index cadf27846..6632cb732 100644
--- a/src/java/org/apache/fop/area/RegionReference.java
+++ b/src/java/org/apache/fop/area/RegionReference.java
@@ -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.
*
@@ -125,6 +127,24 @@ public class RegionReference extends Area implements Cloneable {
}
/**
+ * 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.
* The blocks are not copied since the master will have no blocks.