1 17 18 19 20 package org.apache.fop.svg; 21 22 import java.util.List ; 23 24 import org.apache.fop.pdf.PDFPage; 25 26 30 public class PDFContext { 31 32 private PDFPage currentPage; 33 private List fontList; 34 35 36 private int pagecount; 37 38 42 public void setFontList(List list) { 43 this.fontList = list; 44 } 45 46 47 public List getFontList() { 48 return this.fontList; 49 } 50 51 52 public boolean isPagePending() { 53 return this.currentPage != null; 54 } 55 56 59 public void clearCurrentPage() { 60 currentPage = null; 61 } 62 63 64 public PDFPage getCurrentPage() { 65 return this.currentPage; 66 } 67 68 72 public void setCurrentPage(PDFPage page) { 73 this.currentPage = page; 74 } 75 76 77 public void increasePageCount() { 78 this.pagecount++; 79 } 80 81 } 82 | Popular Tags |