Browser Export

  • Last update:February 29, 2024
  • Overview

    Application Scenario

    After you select the file format of the to-be-exported report, the file content is generated in the server memory based on the report content and is directly pushed to the client through Servlet.

    The following table describes the supported export formats on the browser.

    Format
    Description

    PDF

    Allows you to export a template as a PDF file.

    Excel

    Allows you to export a report as an Excel file.

    Export formats: Pagination Export, Unaltered Export, and Page to Sheet Export.

    Some tags in HTML cannot be exported. Only pure colors in the cell background can be exported.

    For details, see Excel Export.

    Word

    Allows you to export a report as a Word file.

    Floating elements cannot be exported. A report including multiple sheets (with different settings in each sheet) cannot be exported.

    Image

    Allows you to export a report as an Image file.

    Image formats: JPG, PNG, GIF, and BMP.

    You are not advised to export a report as a GIF file because the GIF file requires a large amount of memory.

    Function Description

    You can preview a template and click Export on the toolbar to export the template as a file in multiple formats, as shown in the following figure.

     1.png

    iconNote:
    If parameters exist in the template, you need to query data before clicking Export.

    Example

    This document introduces how to export a report through the example of exporting GettingStartedEN.cpt as a PDF file.

    Template Opening

    Open the report in the path %FR_HOME%\webroot\WEB-INF\reportlets\GettingStartedEN.cpt.

    Export Button Setting

    Choose Template > Web Attribute > Pagination Preview, set Following Settings to Set for This Template Separately, and double-click Export. You can see that the Export button is added on the toolbar, as shown in the following figure.

    iconNote:
    This button is added to the toolbar by default. You do not need to add the button separately. If you delete the button manually, you can refer to the above steps to add it again.

     2.png

    Browser Export

    Click Pagination Preview, select a parameter, and click Query, as shown in the following figure.

    iconNote:
    The report export result is consistent with the actual effect in the preview mode. Therefore, you need to set parameter values and query data before export.

    Click Export on the report toolbar and select PDF from the drop-down list. An animation displaying the export process pops up. After the uploading is finished, the PDF file is exported successfully, as shown in the following figure.

    3.png

    Attachment List


    Theme: Report Application
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    9s后關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy