]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added initial-page-number support
authorarved <arved@unknown>
Mon, 17 Apr 2000 23:16:52 +0000 (23:16 +0000)
committerarved <arved@unknown>
Mon, 17 Apr 2000 23:16:52 +0000 (23:16 +0000)
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

index ce2664c23e6d080ede15a8addb84aaf9841a2c62..e1ebf88e8b41f52990cea573d25e7d3555a6d480 100644 (file)
@@ -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 {