Browse Source

Added initial-page-number support


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193333 13f79535-47bb-0310-9956-ffa450edef68
tags/pre-columns
arved 24 years ago
parent
commit
a040ade26a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/org/apache/fop/fo/pagination/PageSequence.java

+ 1
- 1
src/org/apache/fop/fo/pagination/PageSequence.java View 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 {

Loading…
Cancel
Save