aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo
diff options
context:
space:
mode:
authorarved <arved@unknown>2000-04-17 23:16:52 +0000
committerarved <arved@unknown>2000-04-17 23:16:52 +0000
commita040ade26a1e12128f3007c02e7c27c611e84def (patch)
tree67d29079dd4320aeaec5ca7c2701859bff7fcb3c /src/org/apache/fop/fo
parentd8c438d6d3c736e4954066b9b8e500152e1a6a31 (diff)
downloadxmlgraphics-fop-a040ade26a1e12128f3007c02e7c27c611e84def.tar.gz
xmlgraphics-fop-a040ade26a1e12128f3007c02e7c27c611e84def.zip
Added initial-page-number support
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193333 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo')
-rw-r--r--src/org/apache/fop/fo/pagination/PageSequence.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/pagination/PageSequence.java b/src/org/apache/fop/fo/pagination/PageSequence.java
index ce2664c23..e1ebf88e8 100644
--- a/src/org/apache/fop/fo/pagination/PageSequence.java
+++ b/src/org/apache/fop/fo/pagination/PageSequence.java
@@ -107,7 +107,7 @@ public class PageSequence extends FObj {
layoutMasterSet = root.getLayoutMasterSet();
InitialPageNumber ipn = (InitialPageNumber) this.properties.get("initial-page-number");
- this.currentPageNumber = ipn.getInitialPageNumber() - 1;
+ this.currentPageNumber = ipn.getInteger().intValue() - 1;
}
protected Page makePage(AreaTree areaTree) throws FOPException {