BackPrevious Page Next PageNext

To PDF

To export the results of a report to PDF file, follow the steps below:

  1. Open the report that you want to export.
  2. Click File > Export > To PDF.
  3. In the Export to PDF dialog, specify the settings as required.

    Export to PDF dialog

  4. When done, click OK to generate the file.

The following example shows how to export the results of a report to PDF format and view the exported result file, taking the sample report Combo_link.cls in SampleReports.cat as an example:

  1. Click File > Open.
  2. In the Open Report dialog, click the Browse button to open the catalog file SampleReports.cat in <install_root>\Demo\Reports\SampleReports, then open Combo_link.cls in the catalog.
  3. Click File > Export > To PDF to open the Export to PDF dialog.
  4. Specify the path where the files will be exported and the file name as required. Here we use the default path C:\JReport\Designer\Demo\Reports\SampleReports\ and default name Combo_link_Yealy Sales By Product Name.pdf.
  5. Check TOC, Drilldown and Generate charts and barcodes using vector graphics.
  6. Check the Encrypt option to set the document open password and permissions password in the Encrypt dialog.

    Encrypt dialog

  7. Check the Sign option to set a digital ID for the PDF file in the Sign Digital ID dialog.

    Sign Digital ID dialog

  8. Click OK.
  9. In the Enter Parameter Values dialog, click Default to generate the results using the default parameter value.
  10. Open the directory C:\JReport\Designer\Demo\Reports\SampleReports\ and find the exported files.
  11. Open the file Combo_link_Yealy Sales By Product Name.pdf with the inputted document open password or permissions password using the Adobe Acrobat software.
  12. The signature is displayed in the left Security Settings panel, and all information you set can be found there.
  13. The Table of Contents (TOC) is displayed in the left panel, and includes the names of both groups, subgroups and group summaries.You can click any object in the TOC to locate it in the report.
  14. Place the mouse pointer over a summary field. When it becomes a hand, click to view the details of the summary.

    Exported report - PDF

    Note that summaries should be inserted into the report in advance. They cannot be hidden or suppressed; otherwise you will not be able to get the drill-down files.

    Also, since the option Generate charts and barcodes using vector graphics is checked when exporting the report, when zooming in the chart, you will find that the chart is a vector graphic which never distorts.

Notes:

BackPrevious Page Next PageNext