From: Jeremias Maerki Date: Fri, 11 Mar 2005 13:27:37 +0000 (+0000) Subject: Additional accessors. X-Git-Tag: Root_Temp_KnuthStylePageBreaking~29 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f741562339691572fd56b1b523a910108585362;p=xmlgraphics-fop.git Additional accessors. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198478 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/Block.java b/src/java/org/apache/fop/fo/flow/Block.java index 234abb6ce..011e1dbdb 100644 --- a/src/java/org/apache/fop/fo/flow/Block.java +++ b/src/java/org/apache/fop/fo/flow/Block.java @@ -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. */