aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-03-11 13:27:37 +0000
committerJeremias Maerki <jeremias@apache.org>2005-03-11 13:27:37 +0000
commit6f741562339691572fd56b1b523a910108585362 (patch)
tree8f96824674b407111251967f40a9171ff60ec833 /src
parent61ccdc197b8e27c824aa09ed766f54430ef13cd4 (diff)
downloadxmlgraphics-fop-6f741562339691572fd56b1b523a910108585362.tar.gz
xmlgraphics-fop-6f741562339691572fd56b1b523a910108585362.zip
Additional accessors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198478 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/fo/flow/Block.java30
1 files changed, 30 insertions, 0 deletions
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.
*/