Class JRExporterParameter
- Direct Known Subclasses:
JRCsvExporterParameter,JRDocxExporterParameter,JRGraphics2DExporterParameter,JRHtmlExporterParameter,JROpenDocumentExporterParameter,JRPdfExporterParameter,JRPrintServiceExporterParameter,JRTextExporterParameter,JRXlsAbstractExporterParameter,JRXmlExporterParameter,JsonExporterParameter
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.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JRExporterParameterstatic final JRExporterParameterDeprecated.Replaced byJasperReportsContext.static final JRExporterParameterDeprecated.Replaced byReportExportConfiguration.getEndPageIndex().static final JRExporterParameterDeprecated.Replaced byReportExportConfiguration.getExporterFilter().static final JRExporterParameterDeprecated.static final JRExporterParameterDeprecated.static final JRExporterParameterDeprecated.Replaced bySimpleExporterInput(java.io.File).static final JRExporterParameterDeprecated.Replaced bySimpleExporterInput(String).static final JRExporterParameterDeprecated.Replace bySimpleExporterInput(java.util.List)static final JRExporterParameterDeprecated.Replaced bySimpleExporterInput(java.io.InputStream).static final JRExporterParameterDeprecated.Replaced bySimpleExporterInput(java.net.URL).static final JRExporterParameterDeprecated.Replaced bySimpleExporterInput(JasperPrint).static final JRExporterParameterDeprecated.Replaced bySimpleExporterInput.getInstance(java.util.List).static final JRExporterParameterDeprecated.Replaced byReportExportConfiguration.getOffsetX().static final JRExporterParameterDeprecated.Replace byReportExportConfiguration.getOffsetY().static final JRExporterParameterDeprecated.static final JRExporterParameterDeprecated.static final JRExporterParameterDeprecated.static final JRExporterParameterDeprecated.Replaced bySimpleWriterExporterOutput(StringBuffer).static final JRExporterParameterDeprecated.Replaced bySimpleWriterExporterOutput(java.io.Writer).static final JRExporterParameterDeprecated.Replaced byReportExportConfiguration.getPageIndex().static final JRExporterParameterDeprecated.To be removed.static final JRExporterParameterDeprecated.Replaced byReportExportConfiguration.getProgressMonitor().static final StringDeprecated.static final JRExporterParameterDeprecated.Replaced byReportExportConfiguration.getStartPageIndex().static final JRExporterParameterDeprecated.Replaced byJasperReportsContext. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JASPER_PRINT
Deprecated.Replaced bySimpleExporterInput(JasperPrint). -
JASPER_PRINT_LIST
Deprecated.Replaced bySimpleExporterInput.getInstance(java.util.List). -
INPUT_ITEM_LIST
Deprecated.Replace bySimpleExporterInput(java.util.List) -
INPUT_STREAM
Deprecated.Replaced bySimpleExporterInput(java.io.InputStream). -
INPUT_URL
Deprecated.Replaced bySimpleExporterInput(java.net.URL). -
INPUT_FILE
Deprecated.Replaced bySimpleExporterInput(java.io.File). -
INPUT_FILE_NAME
Deprecated.Replaced bySimpleExporterInput(String). -
OUTPUT_STRING_BUFFER
Deprecated.Replaced bySimpleWriterExporterOutput(StringBuffer). -
OUTPUT_WRITER
Deprecated.Replaced bySimpleWriterExporterOutput(java.io.Writer). -
OUTPUT_STREAM
Deprecated. -
OUTPUT_FILE
Deprecated. -
OUTPUT_FILE_NAME
Deprecated. -
PAGE_INDEX
Deprecated.Replaced byReportExportConfiguration.getPageIndex(). -
START_PAGE_INDEX
Deprecated.Replaced byReportExportConfiguration.getStartPageIndex(). -
END_PAGE_INDEX
Deprecated.Replaced byReportExportConfiguration.getEndPageIndex(). -
CHARACTER_ENCODING
-
PROGRESS_MONITOR
Deprecated.Replaced byReportExportConfiguration.getProgressMonitor(). -
OFFSET_X
Deprecated.Replaced byReportExportConfiguration.getOffsetX(). -
OFFSET_Y
Deprecated.Replace byReportExportConfiguration.getOffsetY(). -
CLASS_LOADER
Deprecated.Replaced byJasperReportsContext. -
URL_HANDLER_FACTORY
Deprecated.Replaced byJasperReportsContext.URL stream handler factory to be used while exporting the report. The values should be of typejava.net.URLStreamHandlerFactory. -
HYPERLINK_PRODUCER_FACTORY
Deprecated. -
FILTER
Deprecated.Replaced byReportExportConfiguration.getExporterFilter(). -
PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS
Deprecated.A global (per context) property that establishes the priority of export parameters against report hints. If the property is true, export parameters override report hints; this is the default behavior. This property cannot be used as a report export hint.- See Also:
-
PARAMETERS_OVERRIDE_REPORT_HINTS
Deprecated.To be removed.Export parameter that can override thePROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTSproperty. -
IGNORE_PAGE_MARGINS
Deprecated.
-
-
Constructor Details
-
JRExporterParameter
Deprecated.
-
-
Method Details
ExporterInput,ExporterConfigurationandExporterOutput.