Excel Export

  • Last update:February 25, 2021
  • I. Overview

    Whether you export excel from designer or browser, you can choose to export as full page, unaltered and page to sheet export.

    This article will briefly introduce the differences of these three export methods.

    II. Excel export method

    Take the example of  %FR_Home%\webapps\webroot\WEB-INF\reportlets\demo\Report\Title Repeated, Total In-page and Conditional Warning.cpt  template to see the effect of the following three kinds of export.

    Title Repeated, Total In-page and Conditional Warning.cpt

    1. Full page export

    During full page export, if the report template is paginated, it will be exported in the form of paginated results, and the repeated titles will also be repeated.

    1.png


    2. Unaltered export 

    When unaltered exporting, even if the report template is paginated, it will not be paginated and will be exported continuously. If there are duplicate titles, the title will only be displayed once.


    3. Page to sheet export

    Each page of the report result is saved as a sheet in Excel file when the report is exported in pages and sheets.

    Note 1: after the row-based engine is started, it does not support to export excel by page to sheet.

    Note 2: the length of the sheet name in Excel should not be too long. If you need to export to excel, you should simplify the sheet name as much as possible.


    III. Toolbar settings

    Users can customize the report toolbar and add the required export button according to their needs. Please refer to Pagination Preview settings for details.

    IV. Precautions

    1. Exported content is inconsistent with the preview

    Problem Description: after exporting excel, the header position of print preview is completely different from that of template preview.

    Cause analysis: the upper and lower margins of template page settings are inconsistent with those of Excel page.

    Solution: select menu template > page setup > page, and set the top and bottom margins to 12.7mm. As shown in the figure below:


    2. if the exported data exceeds 15 bits, it will be displayed as 0

    Problem Description: when the cell data exceeds 15 bits, only the first 15 bits are normally displayed in the exported excel, and the rest are displayed as 0, as shown in the following figure:

    Cause analysis: Excel's own logic causes this problem. Only the first 15 digits can be recognized, and the ones after 15 digits will be displayed as 0.


    Attachment List


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

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

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

    不再提示

    10s後關閉

    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