From 52c43477450720370d8eee5fbcf6dcdb54f09f50 Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Sat, 19 Feb 2005 03:56:58 +0000 Subject: [PATCH] PR: Obtained from: Submitted by: Reviewed by: Page numbering bug fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198444 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java index beeade9a1..f08bf5820 100644 --- a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java @@ -213,6 +213,7 @@ public class PageSequenceLayoutManager extends AbstractLayoutManager { log.debug("Ending layout"); finishPage(); pageSeq.getRoot().notifyAdditionalPagesGenerated((currentPageNum - startPageNum) + 1); + pageSeq.getRoot().setEndingPageNumberOfPreviousSequence(currentPageNum); } /** @see org.apache.fop.layoutmgr.LayoutManager#isBogus() */ -- 2.39.5