aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/FONode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/FONode.java')
-rw-r--r--src/org/apache/fop/fo/FONode.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/FONode.java b/src/org/apache/fop/fo/FONode.java
index 884e4070f..e4d22c2f6 100644
--- a/src/org/apache/fop/fo/FONode.java
+++ b/src/org/apache/fop/fo/FONode.java
@@ -92,6 +92,9 @@ abstract public class FONode {
protected int forcedStartOffset = 0;
protected int forcedWidth = 0;
+ protected int widows = 0;
+ protected int orphans = 0;
+
protected LinkSet linkSet;
protected FONode(FObj parent) {
@@ -178,6 +181,16 @@ abstract public class FONode {
}
}
+ public void setWidows(int wid)
+ {
+ widows = wid;
+ }
+
+ public void setOrphans(int orph)
+ {
+ orphans = orph;
+ }
+
public void removeAreas() {
// still to do
}