aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
index 9379e0328..a1e20cd7f 100644
--- a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
@@ -55,9 +55,18 @@ public abstract class AbstractLayoutManager implements LayoutProcessor, Constant
}
/**
+ * Abstract layout manager.
+ *
+ * @param fo the formatting object for this layout manager
+ */
+ public AbstractLayoutManager(FObj fo) {
+ setFObj(fo);
+ }
+
+ /**
* Set the FO object for this layout manager
*
- * @param fo the fo for this layout manager
+ * @param fo the formatting object for this layout manager
*/
public void setFObj(FObj fo) {
this.fobj = fo;