You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by bc...@apache.org on 2004/02/04 13:57:28 UTC

cvs commit: xml-fop/src/java/org/apache/fop/area RegionReference.java

bckfnn      2004/02/04 04:57:28

  Modified:    src/java/org/apache/fop/area RegionReference.java
  Log:
  Added a bpd field so that region reference areas has both ipd (from Area)
  and bpd.
  
  Revision  Changes    Path
  1.3       +20 -0     xml-fop/src/java/org/apache/fop/area/RegionReference.java
  
  Index: RegionReference.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/RegionReference.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RegionReference.java	27 Aug 2003 18:14:45 -0000	1.2
  +++ RegionReference.java	4 Feb 2004 12:57:28 -0000	1.3
  @@ -66,6 +66,8 @@
       // the list of block areas from the static flow
       private List blocks = new ArrayList();
   
  +    private int bpd;
  +
       /**
        * Create a new region reference area.
        *
  @@ -122,6 +124,24 @@
        */
       public void addBlock(Block block) {
           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;
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org