vmote       2003/10/06 09:55:58

  Modified:    src/java/org/apache/fop/apps Document.java
               src/java/org/apache/fop/layoutmgr LayoutManagerLS.java
  Log:
  move creation of bookmarks in AreaTree from LayoutManagerLS to Document, so that it 
automatically occurs for all LayoutStrategies
  
  Revision  Changes    Path
  1.10      +2 -1      xml-fop/src/java/org/apache/fop/apps/Document.java
  
  Index: Document.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/apps/Document.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Document.java     6 Oct 2003 16:38:48 -0000       1.9
  +++ Document.java     6 Oct 2003 16:55:58 -0000       1.10
  @@ -344,6 +344,7 @@
        */
       public void foPageSequenceComplete (FOTreeEvent event) throws FOPException {
           PageSequence pageSeq = event.getPageSequence();
  +        areaTree.addBookmarksToAreaTree();
           layoutStrategy.format(pageSeq, areaTree);
       }
   
  
  
  
  1.18      +1 -3      xml-fop/src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java
  
  Index: LayoutManagerLS.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/LayoutManagerLS.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- LayoutManagerLS.java      6 Oct 2003 16:38:48 -0000       1.17
  +++ LayoutManagerLS.java      6 Oct 2003 16:55:58 -0000       1.18
  @@ -94,8 +94,6 @@
               return;
           }
   
  -        areaTree.addBookmarksToAreaTree();
  -
           // Initialize if already used?
           //    this.layoutMasterSet.resetPageMasters();
           if (pageSeq.getPageSequenceMaster() != null) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to