From 6f741562339691572fd56b1b523a910108585362 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Fri, 11 Mar 2005 13:27:37 +0000 Subject: [PATCH] Additional accessors. 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 | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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. */ -- 2.39.5