1 17 18 19 20 package org.apache.fop.layoutmgr; 21 22 import org.apache.fop.area.PageViewport; 23 import org.apache.fop.fo.pagination.SimplePageMaster; 24 25 31 public class Page { 32 33 private SimplePageMaster spm; 34 private PageViewport pageViewport; 35 36 43 public Page(SimplePageMaster spm, int pageNumber, String pageNumberStr, boolean blank) { 44 this.spm = spm; 45 this.pageViewport = new PageViewport(spm, pageNumber, pageNumberStr, blank); 46 } 47 48 49 public SimplePageMaster getSimplePageMaster() { 50 return this.spm; 51 } 52 53 54 public PageViewport getPageViewport() { 55 return this.pageViewport; 56 } 57 58 } 59 | Popular Tags |