Jump to content
We've recently updated our Privacy Statement, available here ×
  • Export options "As Excel" and "As XLSX" take longer and are not loading JRPrint from cache in versions 4.5.x and later


    abresci
    • Features: JasperReports Server Version: v4.7, v4.5

    Issue

    Some users of JasperReports Server have noticed that the "As Excel" and "As XLSX" export options seem to take longer to generate than others. It is suspected that these options require re-executing the report (vs. other export options, which use the cached JRPrint object from the first execution of the report).

     

    Explanation

    It is true that the "As Excel" and "As XLSX" options require additional processing and may take slightly longer than other export options. The reason why is because as of 4.5.x, these options override the default pagination settings in the report (pagination ON) and render the reports WITHOUT pagination. This setup requires manipulation of the report and a re-compilation of the JRPrint object (the cached object cannot be used).

    Due to popular demand, this was introduced as the default behavior for Excel-related export options in 4.5.x. Users generally disabled pagination in various ways for Excel output prior to 4.5.x, and this made the default output more congruent with user expectations (no need for page headers/footers in Excel rows).

    For those who wish to continue exporting to Excel WITH pagination (and without the need for re-compilation of the JRPrint object), the "As Excel (paginated)" and "As XLSX (paginated)" options are available as well.

     

    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...