diff options
author | William Victor Mote <vmote@apache.org> | 2003-10-06 16:55:58 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-10-06 16:55:58 +0000 |
commit | 4d5340186c241d20697ac63efa710378ca31fc1a (patch) | |
tree | 1d9ce4e2cfb6fb6e9848fa9ab51d756fc0d454d5 /src/java/org | |
parent | cdd59c2b332948f9289c92a63df525a7d85402c2 (diff) | |
download | xmlgraphics-fop-4d5340186c241d20697ac63efa710378ca31fc1a.tar.gz xmlgraphics-fop-4d5340186c241d20697ac63efa710378ca31fc1a.zip |
move creation of bookmarks in AreaTree from LayoutManagerLS to Document, so that it automatically occurs for all LayoutStrategies
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196945 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/apps/Document.java | 1 | ||||
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/apps/Document.java b/src/java/org/apache/fop/apps/Document.java index b284c5dfb..453438fef 100644 --- a/src/java/org/apache/fop/apps/Document.java +++ b/src/java/org/apache/fop/apps/Document.java @@ -344,6 +344,7 @@ public class Document implements FOTreeControl, FOTreeListener, */ public void foPageSequenceComplete (FOTreeEvent event) throws FOPException { PageSequence pageSeq = event.getPageSequence(); + areaTree.addBookmarksToAreaTree(); layoutStrategy.format(pageSeq, areaTree); } diff --git a/src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java b/src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java index c63281b5f..53ce038bd 100644 --- a/src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java +++ b/src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java @@ -94,8 +94,6 @@ public class LayoutManagerLS extends LayoutStrategy { return; } - areaTree.addBookmarksToAreaTree(); - // Initialize if already used? // this.layoutMasterSet.resetPageMasters(); if (pageSeq.getPageSequenceMaster() != null) { |