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 je...@apache.org on 2005/03/11 14:27:37 UTC

cvs commit: xml-fop/src/java/org/apache/fop/fo/flow Block.java

jeremias    2005/03/11 05:27:37

  Modified:    src/java/org/apache/fop/fo/flow Block.java
  Log:
  Additional accessors.
  
  Revision  Changes    Path
  1.53      +30 -0     xml-fop/src/java/org/apache/fop/fo/flow/Block.java
  
  Index: Block.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/Block.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- Block.java	3 Feb 2005 08:18:27 -0000	1.52
  +++ Block.java	11 Mar 2005 13:27:37 -0000	1.53
  @@ -220,6 +220,36 @@
           return breakBefore;
       }
   
  +    /** @return the "keep-with-next" property.  */
  +    public KeepProperty getKeepWithNext() {
  +        return keepWithNext;
  +    }
  +
  +    /** @return the "keep-with-previous" property.  */
  +    public KeepProperty getKeepWithPrevious() {
  +        return keepWithPrevious;
  +    }
  +
  +    /** @return the "keep-together" property.  */
  +    public KeepProperty getKeepTogether() {
  +        return keepTogether;
  +    }
  +
  +    /** @return the "orphans" property.  */
  +    public int getOrphans() {
  +        return orphans.getValue();
  +    }
  +
  +    /** @return the "widows" property.  */
  +    public int getWidows() {
  +        return widows.getValue();
  +    }
  +
  +    /** @return the "line-stacking-strategy" property.  */
  +    public int getLineStackingStrategy() {
  +        return lineStackingStrategy;
  +    }
  +
       /**
        * Return the "color" property.
        */
  
  
  

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