]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
PR:
authorGlen Mazza <gmazza@apache.org>
Sat, 19 Feb 2005 03:56:58 +0000 (03:56 +0000)
committerGlen Mazza <gmazza@apache.org>
Sat, 19 Feb 2005 03:56:58 +0000 (03:56 +0000)
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

index beeade9a19afe3d7bf61193e410ccfd572cad35d..f08bf58206dd837e982d154d5217c12097ab83ad 100644 (file)
@@ -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() */