|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.JRExporterParameter
net.sf.jasperreports.engine.export.JRHtmlExporterParameter
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).
Field Summary | |
static JRHtmlExporterParameter |
BETWEEN_PAGES_HTML
A string representing HTML code that will be inserted between pages of the generated report. |
static JRHtmlExporterParameter |
HTML_FOOTER
A string representing HTML code that will be inserted after the generated report. |
static JRHtmlExporterParameter |
HTML_HEADER
A string representing HTML code that will be inserted in front of the generated report. |
static JRHtmlExporterParameter |
IMAGES_DIR
A java.io.File instance representing an absolute path to a folder on a local disk, where all the images are stored. |
static JRHtmlExporterParameter |
IMAGES_DIR_NAME
An absolute path to a folder on a local disk, where all the images are stored. |
static JRHtmlExporterParameter |
IMAGES_MAP
A map containing all the images that were used for generating the report. |
static JRHtmlExporterParameter |
IMAGES_URI
An URI to the folder where all the images are stored. |
static JRHtmlExporterParameter |
IS_OUTPUT_IMAGES_TO_DIR
A boolean value specifying whether the images should be stored on disk. |
static JRHtmlExporterParameter |
IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS
A boolean value specifying whether the blank lines, that sometimes appear between rows, should be deleted. |
static JRHtmlExporterParameter |
IS_USING_IMAGES_TO_ALIGN
A boolean value specifying whether the export engine should use small images for aligning. |
static JRHtmlExporterParameter |
IS_WHITE_PAGE_BACKGROUND
A boolean value specifying whether the report background should be white. |
static JRHtmlExporterParameter |
IS_WRAP_BREAK_WORD
A boolean value specifying whether the export engine should use force wrapping by breaking words (CSS word-wrap: break-word ). |
static JRHtmlExporterParameter |
SIZE_UNIT
A String value specifying the unit to use when measuring lengths or font size. |
static java.lang.String |
SIZE_UNIT_PIXEL
Possible value for the SIZE_UNIT parameter indicated that measurements are made in pixels. |
static java.lang.String |
SIZE_UNIT_POINT
Possible value for the SIZE_UNIT parameter indicated that measurements are made in points. |
Fields inherited from class net.sf.jasperreports.engine.JRExporterParameter |
CHARACTER_ENCODING, CLASS_LOADER, END_PAGE_INDEX, FONT_MAP, INPUT_FILE, INPUT_FILE_NAME, 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, PROGRESS_MONITOR, START_PAGE_INDEX |
Constructor Summary | |
protected |
JRHtmlExporterParameter(java.lang.String name)
|
Methods inherited from class net.sf.jasperreports.engine.JRExporterParameter |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final JRHtmlExporterParameter IMAGES_MAP
public static final JRHtmlExporterParameter IMAGES_DIR
public static final JRHtmlExporterParameter IMAGES_DIR_NAME
public static final JRHtmlExporterParameter IS_OUTPUT_IMAGES_TO_DIR
public static final JRHtmlExporterParameter IMAGES_URI
public static final JRHtmlExporterParameter HTML_HEADER
public static final JRHtmlExporterParameter BETWEEN_PAGES_HTML
public static final JRHtmlExporterParameter HTML_FOOTER
public static final JRHtmlExporterParameter IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS
public static final JRHtmlExporterParameter IS_WHITE_PAGE_BACKGROUND
public static final JRHtmlExporterParameter IS_USING_IMAGES_TO_ALIGN
public static final JRHtmlExporterParameter IS_WRAP_BREAK_WORD
word-wrap: break-word
).
public static final JRHtmlExporterParameter SIZE_UNIT
public static final java.lang.String SIZE_UNIT_PIXEL
SIZE_UNIT
parameter indicated that measurements are made in pixels.
public static final java.lang.String SIZE_UNIT_POINT
SIZE_UNIT
parameter indicated that measurements are made in points.
Constructor Detail |
protected JRHtmlExporterParameter(java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |