## HTML Option dialog

The dialog appears when you set the Default Format for Viewing Report property of a report tab or a web report to HTML and then click in the value cell in the Report Inspector. It helps you to specify the parameters for running a report in HTML format. See the dialog.

The following are details about options in the dialog:

No Margin

Removes the margins you originally set while designing the report.

Multiple Files

Generates the report result to multiple HTML files. JReport designates a serial number for each HTML page. For example, if you named a 3-page report as "sales", JReport will create three files called sales_1.html, sales_2.html, and sales_3.html.

- Embedded CSS
  Specifies to embed the cascading style sheet (CSS) in the HTML files; otherwise, the .css file will be generated individually.

Single File

Generates the report result to a single HTML file.

- No Hyperlink
  If checked, there will be no hyperlinks for navigating previous and next pages on the navigation bar of the HTML file.
- No Page Number
  If checked, there will be no page number information showing the current page number and total page number on the navigation bar of the HTML file.

Drilldown

Generates the report result into an HTML file with the Drilldown feature enabled. The Drilldown feature enables you to inspect certain items for further detailed data.

Section 508 Compliant Output

If checked, the accessibility attributes defined for the report elements via the Report Inspector will be exported to the HTML result which is Section 508 compliant. See Accessibility for more information.

When Section 508 Compliant Output is checked, the Use HTML Data Table and Relative Font Size options will be checked and disabled. The output will be Section 508 compliant including HTML data table, accessible attributes, and relative font feature.

Use HTML Data Table

Specifies whether the table and crosstab components will be output as table objects in the HTML result.

Absolute Font Size

Generates the report result using an absolute font size, which means that the font size is fixed, and cannot be adjusted according to the font size settings in the web browser.

Relative Font Size

Generates the report result using a relative font size. The font size can be adjusted according to the font size settings in the web browser.

Use Chart

- Applet Chart
  Uses a Java applet to display the charts in an HTML result file.
- Image Chart
  If selected, charts will be displayed as images. You can specify the image type from the drop-down list. The options are:
  - Auto-select
    If selected, the image format will be detected to JPG or GIF by the JReport system automatically. If the image colors are less than 256 colors, GIF will be applied; otherwise, it is JPG.
  - GIF
    If selected, the GIF format will be applied, which is a lossless compression technique and supports only 256 colors. GIF is better than JPG for images with only a few distinct colors, such as line drawings, black and white images and small text that is only a few pixels high.
  - JPEG
    If selected, the JPEG format will be applied, which is supported on the Web. JPEG is a lossy compression technique that is designed to compress color and grayscale continuous-tone images. JPEG images support 16 million colors and are best suited for photographs and complex graphics.
  - PNG
    If selected, the PNG format will be applied, which provides a portable, legally unencumbered, well-compressed (effectively 100 percent lossless compression), well-specified standard for lossless bitmapped image file. PNG supports indexed-color images of up to 256 colors and shows a more interchangeable, flexible and robust function than GIF.

Resolution

Specifies the resolution of the HTML result to zoom in/out, in DPI. The default value is obtained from the operation system, which is the resolution of your monitor, for example, 72 DPI on Unix or 96 on Windows. You can set higher/lower value to zoom in/out.

Web Browser

Specifies the web browser for which the HTML result adapts.

Text Overflow

Specifies whether the text overflow is visible or hidden.

Run Linked Report

If the report is linked with other reports, you can check whether or not to generate the linked reports in the HTML result. If you are only interested in the primary report, leave this option unchecked. Generating linked reports at the same time, especially when the linked reports contain a large amount of data, will cause performance issue.

OK

Applies the changes and closes the dialog.

Cancel

Cancels the changes and exits the dialog.

Help

Displays the help document about this feature.