aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/extensions
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-12 06:18:43 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-12 06:18:43 +0000
commit194c471b1cf53892d5d1f0b0943b19a366221f91 (patch)
treedc91ace94ca7edf4ce1c385f27ae306ef028105b /src/java/org/apache/fop/extensions
parent23fed6850260a52c4be20341773f68a62fe229cf (diff)
downloadxmlgraphics-fop-194c471b1cf53892d5d1f0b0943b19a366221f91.tar.gz
xmlgraphics-fop-194c471b1cf53892d5d1f0b0943b19a366221f91.zip
1. convert fo.FOTreeHandler to fire events when it completes a PageSequence or document object
2. move logic that starts layout from fo.FOTreeHandler to apps.Driver. 3. add logic to apps.Driver to handle the events fired from fo.FOTreeHandler 4. end result is that FOTreeHandler now allows other objects to handle page-sequence and document objects in a manner similar to the way SAX allows them to handle XML elements. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196787 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/extensions')
-rw-r--r--src/java/org/apache/fop/extensions/Bookmarks.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/extensions/Bookmarks.java b/src/java/org/apache/fop/extensions/Bookmarks.java
index 4fb6a6b86..0fa44f524 100644
--- a/src/java/org/apache/fop/extensions/Bookmarks.java
+++ b/src/java/org/apache/fop/extensions/Bookmarks.java
@@ -109,7 +109,7 @@ public class Bookmarks extends ExtensionObj {
}
// add data to area tree for resolving and handling
if (foInputHandler instanceof FOTreeHandler) {
- AreaTree at = ((FOTreeHandler)foInputHandler).getAreaTree();
+ AreaTree at = ((FOTreeHandler)foInputHandler).driver.getAreaTree();
at.addTreeExtension(data);
data.setAreaTree(at);
}