]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Additional accessors.
authorJeremias Maerki <jeremias@apache.org>
Fri, 11 Mar 2005 13:27:37 +0000 (13:27 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 11 Mar 2005 13:27:37 +0000 (13:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198478 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/flow/Block.java

index 234abb6cee758e70dfd48c3384f6d3866913fa86..011e1dbdb7d6fa6c33c084a6776cce1b4b1b3dc4 100644 (file)
@@ -220,6 +220,36 @@ public class Block extends FObjMixed {
         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.
      */