From: Jeremias Maerki Date: Thu, 3 Feb 2005 20:45:33 +0000 (+0000) Subject: Notify the AreaTreeHandler about new pages being added. X-Git-Tag: Root_Temp_KnuthStylePageBreaking~135 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=20c39d9367be8260b57c325f9b3eb48655b11b38;p=xmlgraphics-fop.git Notify the AreaTreeHandler about new pages being added. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198372 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java index 41e0b3b3b..1257df4f0 100644 --- a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java @@ -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();