Class JRHtmlExporterParameter
- java.lang.Object
-
- net.sf.jasperreports.engine.JRExporterParameter
-
- net.sf.jasperreports.engine.export.JRHtmlExporterParameter
-
public class JRHtmlExporterParameter extends JRExporterParameter
Deprecated.Contains parameters useful for export in HTML format.The HTML exporter can send data to a string buffer, output stream, character stream or file on disk. The engine looks among the export parameters in order to find the selected output type in this order: OUTPUT_STRING_BUFFER, OUTPUT_WRITER, OUTPUT_STREAM, OUTPUT_FILE, OUTPUT_FILE_NAME.
An important issue is images. The HTML format stores images as separate files, so the exporter needs to know where these images will be stored. If they are stored on disk, the IMAGES_URI parameter will be initialized with a string containing the file name on disk. If they remain in memory, IMAGES_URI must point to a resource that is able to send the images to the browser (such as an image servlet, as shown in the webapp example).
- Author:
- Teodor Danciu ([email protected])
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.JRExporterParameter
CHARACTER_ENCODING, CLASS_LOADER, END_PAGE_INDEX, FILTER, HYPERLINK_PRODUCER_FACTORY, IGNORE_PAGE_MARGINS, INPUT_FILE, INPUT_FILE_NAME, INPUT_ITEM_LIST, INPUT_STREAM, INPUT_URL, JASPER_PRINT, JASPER_PRINT_LIST, OFFSET_X, OFFSET_Y, OUTPUT_FILE, OUTPUT_FILE_NAME, OUTPUT_STREAM, OUTPUT_STRING_BUFFER, OUTPUT_WRITER, PAGE_INDEX, PARAMETERS_OVERRIDE_REPORT_HINTS, PROGRESS_MONITOR, PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS, START_PAGE_INDEX, URL_HANDLER_FACTORY
-
-
Constructor Summary
Constructors Constructor Description JRHtmlExporterParameter(String name)
Deprecated.
-
-
-
Field Detail
-
IMAGES_MAP
public static final JRHtmlExporterParameter IMAGES_MAP
Deprecated.Replaced byHtmlExporterOutput.getImageHandler()
.A map containing all the images that were used for generating the report. The JasperReports engine stores all the images in this map, and uses the map keys for referencing images throughout the export process.
-
IMAGES_DIR
public static final JRHtmlExporterParameter IMAGES_DIR
Deprecated.Replaced byHtmlExporterOutput.getImageHandler()
.A java.io.File instance representing an absolute path to a folder on a local disk, where all the images are stored.
-
IMAGES_DIR_NAME
public static final JRHtmlExporterParameter IMAGES_DIR_NAME
Deprecated.Replaced byHtmlExporterOutput.getImageHandler()
.An absolute path to a folder on a local disk, where all the images are stored. This is an alternative to IMAGES_DIR
-
IS_OUTPUT_IMAGES_TO_DIR
public static final JRHtmlExporterParameter IS_OUTPUT_IMAGES_TO_DIR
Deprecated.Replaced byHtmlExporterOutput.getImageHandler()
.A boolean value specifying whether the images should be stored on disk. The default value is true. If this parameter is specified, IMAGES_DIR or IMAGES_DIR_NAME must also be specified and point to a valid directory.
-
IMAGES_URI
public static final JRHtmlExporterParameter IMAGES_URI
Deprecated.Replaced byHtmlExporterOutput.getImageHandler()
.An URI to the folder where all the images are stored. It could also point to a different resource, such as an image servlet. It is used in the generated HTML to point to the actual location of the image in thetag (as a file on disk or a web resource).
-
HTML_HEADER
public static final JRHtmlExporterParameter HTML_HEADER
Deprecated.Replaced byHtmlExporterConfiguration.getHtmlHeader()
.
-
BETWEEN_PAGES_HTML
public static final JRHtmlExporterParameter BETWEEN_PAGES_HTML
Deprecated.Replaced byHtmlExporterConfiguration.getBetweenPagesHtml()
.
-
HTML_FOOTER
public static final JRHtmlExporterParameter HTML_FOOTER
Deprecated.Replaced byHtmlExporterConfiguration.getHtmlFooter()
.
-
IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS
public static final JRHtmlExporterParameter IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS
Deprecated.
-
IS_WHITE_PAGE_BACKGROUND
public static final JRHtmlExporterParameter IS_WHITE_PAGE_BACKGROUND
Deprecated.Replaced byHtmlReportConfiguration.isWhitePageBackground()
.
-
IS_WRAP_BREAK_WORD
public static final JRHtmlExporterParameter IS_WRAP_BREAK_WORD
Deprecated.Replaced byHtmlReportConfiguration.isWrapBreakWord()
.
-
SIZE_UNIT
public static final JRHtmlExporterParameter SIZE_UNIT
Deprecated.Replaced byHtmlReportConfiguration.getSizeUnit()
.
-
ZOOM_RATIO
public static final JRHtmlExporterParameter ZOOM_RATIO
Deprecated.Replaced byHtmlReportConfiguration.getZoomRatio()
.
-
FLUSH_OUTPUT
public static final JRHtmlExporterParameter FLUSH_OUTPUT
Deprecated.Replaced byHtmlExporterConfiguration.isFlushOutput()
.
-
RESOURCE_HANDLER
public static final JRHtmlExporterParameter RESOURCE_HANDLER
Deprecated.Replaced byHtmlExporterOutput.getResourceHandler()
.
-
-
Constructor Detail
-
JRHtmlExporterParameter
public JRHtmlExporterParameter(String name)
Deprecated.
-
-