ExporterInput
, ExporterConfiguration
and ExporterOutput
.public class JRExporterParameter
extends java.lang.Object
The JasperPrint
object needed for the export can be specified in many ways: an instance of JasperPrint,
an input stream, a file on disk, or an URL. The export engine will search for this object through parameters in the following
order: JASPER_PRINT_LIST, JASPER_PRINT, INPUT_STREAM, INPUT_URL, INPUT_FILE, INPUT_FILE_NAME.
The output type of the export process can also vary: a string buffer, an output stream / writer of a file on disk. The order of parameters used by JasperReports when looking for the output depends on the final document format and is explained in detail for each format (see documentation for the children of this class).
JasperReports allows users to export only a page range from the entire report or even a single page. The engine first searches for the PAGE_INDEX parameter. If this is not present, it looks for the START_PAGE_INDEX and END_PAGE_INDEX parameters. The engine will try to narrow the page range (which is initially the entire report) by using these two parameters, if present.
Modifier | Constructor and Description |
---|---|
protected |
JRExporterParameter(java.lang.String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Deprecated.
|
public static final JRExporterParameter JASPER_PRINT
SimpleExporterInput.SimpleExporterInput(JasperPrint)
.public static final JRExporterParameter JASPER_PRINT_LIST
SimpleExporterInput.getInstance(java.util.List)
.public static final JRExporterParameter INPUT_STREAM
SimpleExporterInput.SimpleExporterInput(java.io.InputStream)
.public static final JRExporterParameter INPUT_URL
SimpleExporterInput.SimpleExporterInput(java.net.URL)
.public static final JRExporterParameter INPUT_FILE
SimpleExporterInput.SimpleExporterInput(java.io.File)
.public static final JRExporterParameter INPUT_FILE_NAME
SimpleExporterInput.SimpleExporterInput(String)
.public static final JRExporterParameter OUTPUT_STRING_BUFFER
SimpleWriterExporterOutput.SimpleWriterExporterOutput(StringBuffer)
.public static final JRExporterParameter OUTPUT_WRITER
SimpleWriterExporterOutput.SimpleWriterExporterOutput(java.io.Writer)
.public static final JRExporterParameter OUTPUT_STREAM
public static final JRExporterParameter OUTPUT_FILE
public static final JRExporterParameter OUTPUT_FILE_NAME
public static final JRExporterParameter PAGE_INDEX
ReportExportConfiguration.getPageIndex()
.public static final JRExporterParameter START_PAGE_INDEX
ReportExportConfiguration.getStartPageIndex()
.public static final JRExporterParameter END_PAGE_INDEX
ReportExportConfiguration.getEndPageIndex()
.public static final JRExporterParameter CHARACTER_ENCODING
public static final java.lang.String PROPERTY_CHARACTER_ENCODING
WriterExporterOutput.PROPERTY_CHARACTER_ENCODING
.public static final JRExporterParameter PROGRESS_MONITOR
ReportExportConfiguration.getProgressMonitor()
.public static final JRExporterParameter OFFSET_X
ReportExportConfiguration.getOffsetX()
.public static final JRExporterParameter OFFSET_Y
ReportExportConfiguration.getOffsetY()
.public static final JRExporterParameter CLASS_LOADER
JasperReportsContext
.public static final JRExporterParameter URL_HANDLER_FACTORY
JasperReportsContext
.java.net.URLStreamHandlerFactory
.public static final JRExporterParameter FILE_RESOLVER
JasperReportsContext
.FileResolver
instance to be used while exporting the report.public static final JRExporterParameter HYPERLINK_PRODUCER_FACTORY
ReportExportConfiguration.getHyperlinkProducerFactory()
.public static final JRExporterParameter FILTER
ReportExportConfiguration.getExporterFilter()
.public static final java.lang.String PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS
CommonExportConfiguration.PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
.public static final JRExporterParameter PARAMETERS_OVERRIDE_REPORT_HINTS
PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS
property.public static final JRExporterParameter IGNORE_PAGE_MARGINS
HtmlReportConfiguration.isIgnorePageMargins()
and XlsReportConfiguration.isIgnorePageMargins()
.public static final java.lang.String PROPERTY_IGNORE_PAGE_MARGINS
ReportExportConfiguration.PROPERTY_IGNORE_PAGE_MARGINS
.© 2001-2014 TIBCO Software Inc. www.jaspersoft.com