From cb102dcd7b5ceceec280881838948438d980062a Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Tue, 30 May 2000 16:41:28 +0000 Subject: [PATCH] This is a quick fix for the problem of runtests.sh (and .bat) document PageSequence's carrying over from one document to the rest (causing the page numbers to be wrong on later documents). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193393 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/pagination/PageSequence.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/apache/fop/fo/pagination/PageSequence.java b/src/org/apache/fop/fo/pagination/PageSequence.java index 34278d162..d697529e4 100644 --- a/src/org/apache/fop/fo/pagination/PageSequence.java +++ b/src/org/apache/fop/fo/pagination/PageSequence.java @@ -108,6 +108,7 @@ public class PageSequence extends FObj if ( parent.getName().equals("fo:root") ) { + this.runningPageNumberCounter=0; //else not initialized correctly this.root = (Root) parent; this.root.addPageSequence(this); } -- 2.39.5