1 28 package net.sf.jasperreports.engine; 29 30 import net.sf.jasperreports.engine.util.JRProperties; 31 32 33 44 public interface JRFont extends JRStyleContainer 45 { 46 47 public static final String DEFAULT_FONT_NAME = JRProperties.PROPERTY_PREFIX + "default.font.name"; 48 public static final String DEFAULT_FONT_SIZE = JRProperties.PROPERTY_PREFIX + "default.font.size"; 49 public static final String DEFAULT_PDF_FONT_NAME = JRProperties.PROPERTY_PREFIX + "default.pdf.font.name"; 50 public static final String DEFAULT_PDF_ENCODING = JRProperties.PROPERTY_PREFIX + "default.pdf.encoding"; 51 public static final String DEFAULT_PDF_EMBEDDED = JRProperties.PROPERTY_PREFIX + "default.pdf.embedded"; 52 53 56 public JRReportFont getReportFont(); 57 58 61 public void setReportFont(JRReportFont reportFont); 62 63 66 public String getFontName(); 67 68 71 public String getOwnFontName(); 72 73 76 public void setFontName(String fontName); 77 78 81 public boolean isBold(); 82 83 86 public Boolean isOwnBold(); 87 88 91 public void setBold(boolean isBold); 92 93 96 public void setBold(Boolean isBold); 97 98 101 public boolean isItalic(); 102 103 106 public Boolean isOwnItalic(); 107 108 111 public void setItalic(boolean isItalic); 112 113 116 public void setItalic(Boolean isItalic); 117 118 121 public boolean isUnderline(); 122 123 126 public Boolean isOwnUnderline(); 127 128 131 public void setUnderline(boolean isUnderline); 132 133 136 public void setUnderline(Boolean isUnderline); 137 138 141 public boolean isStrikeThrough(); 142 143 146 public Boolean isOwnStrikeThrough(); 147 148 151 public void setStrikeThrough(boolean isStrikeThrough); 152 153 156 public void setStrikeThrough(Boolean isStrikeThrough); 157 158 161 public int getSize(); 162 163 166 public Integer getOwnSize(); 167 168 171 public void setSize(int size); 172 173 176 public void setSize(Integer size); 177 178 181 public int getFontSize(); 182 183 186 public Integer getOwnFontSize(); 187 188 191 public void setFontSize(int fontSize); 192 193 196 public void setFontSize(Integer fontSize); 197 198 201 public String getPdfFontName(); 202 203 206 public String getOwnPdfFontName(); 207 208 211 public void setPdfFontName(String pdfFontName); 212 213 216 public String getPdfEncoding(); 217 218 221 public String getOwnPdfEncoding(); 222 223 226 public void setPdfEncoding(String pdfEncoding); 227 228 231 public boolean isPdfEmbedded(); 232 233 236 public Boolean isOwnPdfEmbedded(); 237 238 241 public void setPdfEmbedded(boolean isPdfEmbedded); 242 243 246 public void setPdfEmbedded(Boolean isPdfEmbedded); 247 248 } 249 | Popular Tags |