diff options
author | Steve Coffman <gears@apache.org> | 2000-05-30 16:41:28 +0000 |
---|---|---|
committer | Steve Coffman <gears@apache.org> | 2000-05-30 16:41:28 +0000 |
commit | cb102dcd7b5ceceec280881838948438d980062a (patch) | |
tree | b5d95abeb75a63609427f31244ffe1267d91f363 | |
parent | c67e1503f2bebaaa05410a07339b9d49e66f7154 (diff) | |
download | xmlgraphics-fop-cb102dcd7b5ceceec280881838948438d980062a.tar.gz xmlgraphics-fop-cb102dcd7b5ceceec280881838948438d980062a.zip |
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
-rw-r--r-- | src/org/apache/fop/fo/pagination/PageSequence.java | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |