BackPrevious Page Next PageNext

Previewing Reports

Previewing a report in JReport format

Previewing a report in other formats

In the process of designing a report, you can preview it at any time. JReport Designer supports previewing reports in JReport format. For page reports and web reports, you can also preview them in formats such as HTML, PDF, Excel and so on.

When previewing a report,

Previewing a report in JReport format

To preview a report in JReport format, just click the View tab, which will cause the JReport Engine to run the report (for details about the options in the View tab, see Design/View Area). The result is then shown in the viewer. To optimize performance, JReport Designer displays report pages before they have been completely generated.

Previewing library components

When previewing a library component in JReport format, by default only the result of the data component in the library component is displayed. The other parts like the configuration panel cannot be previewed. If you want to preview the effect when the library component is published to JReport Server and inserted into a dashboard, check the As Dashboard Component checkbox on the top-right corner of the View tab, then the title bar of the library component will be shown and you can click Show button on the title bar to display the configuration panel of the library component and preview the objects in it.

Preview Library Component

Previewing 2-D bar, bench, line, area and stock charts

When previewing a 2-D chart of the Bar, Bench, Line, Area or Stock type in JReport format, you can select the values you are interested in to have them zoomed.

  1. Drag the mouse from the start value to the end value you want to select.

    Preview Bar Chart

  2. Release the mouse. The selected values will be zoomed in. If the chart is equipped with a scrollbar, the bar will be adjusted automatically at the same time.

    Zoomed Chart

  3. To go back to the initial state of the chart, click the arrow at the upper right corner of the chart paper.

Previewing banded objects in page reports

When previewing a banded object in a page report in JReport format, you are able to dynamically sort the records and show details of aggregate level fields.

Tip: After some modifications in the design area, if you find the report is shown very quickly and the changes are not applied in view mode, this means you need to click the Refresh Data button Refresh Data button on the toolbar to re-run your report.

Previewing a report in other formats

For page reports and web reports, JReport also allows you to preview them in the following formats: Page Report Result/Web Report Result, HTML, PDF, Excel, Text, RTF, XML and PostScript. To do this, click View > Preview As and then select a format from the drop-down menu. If Page Report Result/Web Report Result is selected, the report will be opened in Page Report Studio/Web Report Studio. When any of the other formats is selected, the report will be exported to a temporary file of the selected format which will then be automatically opened with the appropriate application. The temporary file will be removed when you exit JReport Designer. If you want the file to be saved so that you can review it at any time, use the Export feature instead.

You should pay attention to the following when using the Preview As feature:

BackPrevious Page Next PageNext