From 20c39d9367be8260b57c325f9b3eb48655b11b38 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 3 Feb 2005 20:45:33 +0000 Subject: [PATCH] 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 --- .../org/apache/fop/layoutmgr/PageSequenceLayoutManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5