1 28 package net.sf.jasperreports.engine; 29 30 31 38 public interface JRReport extends JRDefaultFontProvider, JRDefaultStyleProvider 39 { 40 41 42 45 public static final String LANGUAGE_JAVA = "java"; 46 47 50 public static final String LANGUAGE_GROOVY = "groovy"; 51 52 56 public static final byte PRINT_ORDER_VERTICAL = 1; 57 58 59 62 public static final byte PRINT_ORDER_HORIZONTAL = 2; 63 64 65 68 public static final byte ORIENTATION_PORTRAIT = 1; 69 70 71 74 public static final byte ORIENTATION_LANDSCAPE = 2; 75 76 79 public static final byte WHEN_NO_DATA_TYPE_NO_PAGES = 1; 80 81 82 85 public static final byte WHEN_NO_DATA_TYPE_BLANK_PAGE = 2; 86 87 88 91 public static final byte WHEN_NO_DATA_TYPE_ALL_SECTIONS_NO_DETAIL = 3; 92 93 94 97 public static final byte WHEN_RESOURCE_MISSING_TYPE_NULL = JRDataset.WHEN_RESOURCE_MISSING_TYPE_NULL; 98 99 100 103 public static final byte WHEN_RESOURCE_MISSING_TYPE_EMPTY = JRDataset.WHEN_RESOURCE_MISSING_TYPE_EMPTY; 104 105 106 109 public static final byte WHEN_RESOURCE_MISSING_TYPE_KEY = JRDataset.WHEN_RESOURCE_MISSING_TYPE_KEY; 110 111 112 115 public static final byte WHEN_RESOURCE_MISSING_TYPE_ERROR = JRDataset.WHEN_RESOURCE_MISSING_TYPE_ERROR; 116 117 118 121 public String getName(); 122 123 126 public String getLanguage(); 127 128 131 public int getColumnCount(); 132 133 138 public byte getPrintOrder(); 139 140 143 public int getPageWidth(); 144 145 148 public int getPageHeight(); 149 150 153 public byte getOrientation(); 154 155 158 public byte getWhenNoDataType(); 159 160 163 public void setWhenNoDataType(byte whenNoDataType); 164 165 168 public int getColumnWidth(); 169 170 173 public int getColumnSpacing(); 174 175 178 public int getLeftMargin(); 179 180 183 public int getRightMargin(); 184 185 188 public int getTopMargin(); 189 190 193 public int getBottomMargin(); 194 195 198 public boolean isTitleNewPage(); 199 200 203 public boolean isSummaryNewPage(); 204 205 210 public boolean isFloatColumnFooter(); 211 212 215 public String getScriptletClass(); 216 217 221 public String getFormatFactoryClass(); 222 223 226 public String getResourceBundle(); 227 228 231 public String [] getPropertyNames(); 232 233 237 public String getProperty(String name); 238 239 242 public void setProperty(String name, String value); 243 244 247 public void removeProperty(String name); 248 249 252 public String [] getImports(); 253 254 257 public JRReportFont[] getFonts(); 258 259 262 public JRStyle[] getStyles(); 263 264 267 public JRParameter[] getParameters(); 268 269 272 public JRQuery getQuery(); 273 274 277 public JRField[] getFields(); 278 279 282 public JRSortField[] getSortFields(); 283 284 287 public JRVariable[] getVariables(); 288 289 292 public JRGroup[] getGroups(); 293 294 297 public JRBand getBackground(); 298 299 302 public JRBand getTitle(); 303 304 307 public JRBand getPageHeader(); 308 309 312 public JRBand getColumnHeader(); 313 314 317 public JRBand getDetail(); 318 319 322 public JRBand getColumnFooter(); 323 324 327 public JRBand getPageFooter(); 328 329 332 public JRBand getLastPageFooter(); 333 334 337 public JRBand getSummary(); 338 339 342 public byte getWhenResourceMissingType(); 343 344 348 public void setWhenResourceMissingType(byte whenResourceMissingType); 349 350 351 358 public JRDataset getMainDataset(); 359 360 361 366 public JRDataset[] getDatasets(); 367 368 369 379 public boolean isIgnorePagination(); 380 381 382 387 public JRPropertiesMap getPropertiesMap(); 388 } 389 | Popular Tags |