aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/pagination
diff options
context:
space:
mode:
authorarved <arved@unknown>2001-05-01 01:00:32 +0000
committerarved <arved@unknown>2001-05-01 01:00:32 +0000
commit8cc09e58c3ecf8217b6d42422500ad20c4ad4a47 (patch)
tree36373bfd89f200e1c942c42e43f7a5c13e21e27e /src/org/apache/fop/fo/pagination
parent059fa6ae61eacc28f0b81ca4672dab42c080847a (diff)
downloadxmlgraphics-fop-8cc09e58c3ecf8217b6d42422500ad20c4ad4a47.tar.gz
xmlgraphics-fop-8cc09e58c3ecf8217b6d42422500ad20c4ad4a47.zip
K. Liddle: running page num ctr now instance variable for servlet use
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194229 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/pagination')
-rw-r--r--src/org/apache/fop/fo/pagination/PageSequence.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/org/apache/fop/fo/pagination/PageSequence.java b/src/org/apache/fop/fo/pagination/PageSequence.java
index 907734664..380ecbda4 100644
--- a/src/org/apache/fop/fo/pagination/PageSequence.java
+++ b/src/org/apache/fop/fo/pagination/PageSequence.java
@@ -70,16 +70,16 @@ public class PageSequence extends FObj
/** Map of flows to their flow name (flow-name, Flow) */
private Hashtable _flowMap;
-
+
/** the "master-name" attribute */
private String masterName;
-
+
// according to communication from Paul Grosso (XSL-List,
// 001228, Number 406), confusion in spec section 6.4.5 about
// multiplicity of fo:flow in XSL 1.0 is cleared up - one (1)
// fo:flow per fo:page-sequence only.
private boolean isFlowSet = false;
-
+
//
// state attributes used during layout
//
@@ -89,20 +89,20 @@ public class PageSequence extends FObj
private int currentPageNumber = 0;
/** keeps count of page number from previous PageSequence */
- private static int runningPageNumberCounter = 0;
+ private int runningPageNumberCounter = 0;
/** specifies page numbering type (auto|auto-even|auto-odd|explicit) */
- private int pageNumberType;
+ private int pageNumberType;
/** used to determine whether to calculate auto, auto-even, auto-odd */
- private boolean thisIsFirstPage;
+ private boolean thisIsFirstPage;
/** the current subsequence while formatting a given page sequence */
private SubSequenceSpecifier currentSubsequence;
/** the current index in the subsequence list */
private int currentSubsequenceNumber = -1; // starting case is -1 so that first getNext increments to 0
-
+
/** the name of the current page master */
private String currentPageMasterName;