aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout/AreaTree.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/layout/AreaTree.java')
-rw-r--r--src/org/apache/fop/layout/AreaTree.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/org/apache/fop/layout/AreaTree.java b/src/org/apache/fop/layout/AreaTree.java
index 5b6574346..14f9377bf 100644
--- a/src/org/apache/fop/layout/AreaTree.java
+++ b/src/org/apache/fop/layout/AreaTree.java
@@ -56,6 +56,7 @@ import org.apache.fop.fo.flow.StaticContent;
import org.apache.fop.svg.*;
import org.apache.fop.render.Renderer;
import org.apache.fop.datatypes.IDReferences;
+import org.apache.fop.extensions.ExtensionObj;
// Java
import java.io.IOException;
@@ -73,6 +74,10 @@ public class AreaTree {
/* list of all the pages */
Vector pageList = new Vector();
+ /** List of root extension objects */
+ Vector rootExtensions = new Vector();
+
+
IDReferences idReferences = new IDReferences();
public void setFontInfo(FontInfo fontInfo) {
@@ -95,4 +100,16 @@ public class AreaTree {
{
return idReferences;
}
+
+ public void addExtension(ExtensionObj obj)
+ {
+ rootExtensions.addElement(obj);
+ }
+
+ public Vector getExtensions()
+ {
+ return rootExtensions;
+ }
+
+
}