Jump to content
  • JRGraphics2DExporter.exportReportToGraphics2D() does not export all the pages


    sanyampandey
    CategoryBug report
    PriorityHigh
    ReproducibilityAlways
    ResolutionOpen
    SeverityMajor
    StatusNew
    Versionv5.2.0

    JRGraphics2DExporter.exportReportToGraphics2D() does not export all the pages JRPrintPage from the JasperPrint. It only exports the "startIndex" page even when JRExporterParameter.PAGE_INDEX is not set.

     

    Code Snippet from exportReportToGraphics2D():

     

    //

    List pages = jasperPrint.getPages();

    ...

    ...

    try

    {

    JRPrintPage page = pages.get(startPageIndex);

    exportPage(page);

    }

    //

     

    Expected behavior: Loop through and export all pages from startPageIndex to endPageIndex.



    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...