]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Notify the AreaTreeHandler about new pages being added.
authorJeremias Maerki <jeremias@apache.org>
Thu, 3 Feb 2005 20:45:33 +0000 (20:45 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 3 Feb 2005 20:45:33 +0000 (20:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198372 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java

index 41e0b3b3b5f39d787f94ffd473d61726c90f40fc..1257df4f01d756e95f20d54b0d092771455e4118 100644 (file)
@@ -153,7 +153,6 @@ public class PageSequenceLayoutManager extends AbstractLayoutManager {
         return areaTreeHandler;
     }
 
-
     /**
      * Set the page counting for this page sequence.
      * This sets the initial page number and the page number formatter.
@@ -497,6 +496,7 @@ public class PageSequenceLayoutManager extends AbstractLayoutManager {
         if (log.isDebugEnabled()) {
             log.debug("[" + curPage.getPageNumber() + "]");
         }
+        areaTreeHandler.notifyNewPage(curPage.getPageNumber());
         RegionViewport rv = curPage.getPage().getRegionViewport(
                     FO_REGION_BODY);
         curBody = (BodyRegion) rv.getRegion();