1 28 package net.sf.jasperreports.engine.export; 29 30 34 public class PdfFont 35 { 36 private String pdfFontName; 37 private String pdfEncoding; 38 private boolean isPdfEmbedded; 39 private boolean isPdfSimulatedBold; 40 private boolean isPdfSimulatedItalic; 41 42 43 public PdfFont(String pdfFontName, String pdfEncoding, boolean isPdfEmbedded) 44 { 45 this(pdfFontName, pdfEncoding, isPdfEmbedded, false, false); 46 } 47 48 public PdfFont( 49 String pdfFontName, 50 String pdfEncoding, 51 boolean isPdfEmbedded, 52 boolean isPdfSimulatedBold, 53 boolean isPdfSimulatedItalic 54 ) 55 { 56 this.pdfFontName = pdfFontName; 57 this.pdfEncoding = pdfEncoding; 58 this.isPdfEmbedded = isPdfEmbedded; 59 this.isPdfSimulatedBold = isPdfSimulatedBold; 60 this.isPdfSimulatedItalic = isPdfSimulatedItalic; 61 } 62 63 public String getPdfFontName() 64 { 65 return pdfFontName; 66 } 67 68 public String getPdfEncoding() 69 { 70 return pdfEncoding; 71 } 72 73 public boolean isPdfEmbedded() 74 { 75 return isPdfEmbedded; 76 } 77 78 public boolean isPdfSimulatedBold() 79 { 80 return isPdfSimulatedBold; 81 } 82 83 public boolean isPdfSimulatedItalic() 84 { 85 return isPdfSimulatedItalic; 86 } 87 88 } 89 | Popular Tags |