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.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/FONode.java b/src/org/apache/fop/fo/FONode.java
index 9e04e66bc..0c7fa6b04 100644
--- a/src/org/apache/fop/fo/FONode.java
+++ b/src/org/apache/fop/fo/FONode.java
@@ -54,6 +54,7 @@ package org.apache.fop.fo;
// FOP
import org.apache.fop.apps.FOPException;
import org.apache.fop.layout.Area;
+import org.apache.fop.layout.LinkSet;
// Java
import java.util.Vector;
@@ -90,6 +91,8 @@ abstract public class FONode {
protected int forcedStartOffset = 0;
protected int forcedWidth = 0;
+ protected LinkSet linkSet;
+
protected FONode(FObj parent) {
this.parent = parent;
}
@@ -146,6 +149,14 @@ abstract public class FONode {
return this.parent;
}
+ public void setLinkSet(LinkSet linkSet) {
+ this.linkSet = linkSet;
+ }
+
+ public LinkSet getLinkSet() {
+ return this.linkSet;
+ }
+
abstract public Status layout(Area area)
throws FOPException;
}