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 (teodord@users.sourceforge.net) version: $Id: JRHtmlExporterParameter.java 1824 2007-08-23 14:19:12Z teodord $
A string representing HTML code that will be inserted between pages of the generated report. By default, JasperReports
separates pages by two empty lines, but this behaviour can be overriden by this parameter.
Indicates whether
JRPrintFrame frames are to be exported as nested HTML tables.
The type of the parameter is java.lang.Boolean.
Is set to false, the frame contents will be integrated into the master/page HTML table.
This can be useful when exporting frames as nested tables causes output misalignments.
A string representing HTML code that will be inserted after the generated report. By default, JasperReports closes
the usual HTML tags that were opened in HTML_HEADER. If the default HTML_HEADER was overriden, it is recommended that
this parameter is overriden too, in order to ensure proper construction of HTML page.
A string representing HTML code that will be inserted in front of the generated report. The JasperReports engine places
a piece of HTML code at the top of the page but users can define their own headers and stylesheet links.
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.
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 the tag (as a file on disk or a
web resource).
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.
A boolean value specifying whether the blank lines, that sometimes appear between rows, should be deleted. Sometimes page
break occurs before the entire page is filled with data (i.e. having a group with the isStartNewPage attribute set to true).
All the remaining empty space could be removed by setting this parameter to true.
A boolean value specifying whether the export engine should use small images for aligning. This is useful when you don't have
images in your report anyway and you don't want to have to handle images at all.
A boolean value specifying whether the report background should be white. If this parameter is not set, the default
background will appear, depending on the selected CSS styles.
A String value specifying the unit to use when measuring lengths or font size.
This can be one of the supported size units from the CSS specifications like "px" for pixels
or "pt" for points. The default value is "px", meaning that lengths and font sizes are specified in pixels.