From a040ade26a1e12128f3007c02e7c27c611e84def Mon Sep 17 00:00:00 2001 From: arved Date: Mon, 17 Apr 2000 23:16:52 +0000 Subject: [PATCH] Added initial-page-number support git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193333 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/pagination/PageSequence.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5