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.
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 accountSign in
Already have an account? Sign in here.
Sign In Now