Hi libero,
libero:
*I have tested your proposal as described.
But the bug still occurs.
I have added my generated “Out.Docx”.
Were you able to create the “Out.Docx” without errors?*
Thanks for sharing the output document. I have not found any issue in shared Out.docx. There is no empty pages in Out.docx.
I have retested the scenario with following code example by using Aspose.Words for JasperReports 1.10.0 and have found one empty page in Out.docx. Please check the page number 11 of attached Out.docx.
AWDocxExporter exporter = new AWDocxExporter();
exporter.setParameter(JRExporterParameter.INPUT_FILE_NAME, "c:\\Aspose_Error.jrprint");
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "c:\\Out.Docx");
exporter.setParameter(AWExporterParameter.USE_EXACT_ROW_HEIGHTS, Boolean.FALSE);
exporter.setParameter(AWExporterParameter.SPACING_FACTOR, 0.0);
exporter.exportReport();
Moreover, I have verified the status of WORDSJSP-134 from our issue tracking system and like to share with you that this issue has been closed without a fix. The AWExporterParameter.SPACING_FACTOR additional configuration option fix this issue.
However, I have found one empty page in output docx. I am in communication with the development team about this issue and will update you as soon as I have information on this.
libero:
When I use the new “aspose.words.jasperreports.jar” and export without the new settings (AWExporterParameter.USE_EXACT_ROW_HEIGHTS and AWExporterParameter.SPACING_FACTOR) I get the best result. Could the error until now no longer produce.
Could you please share the export parameters which you have used to export your .jrprint file?
libero:
What about the license for the new jar?
Please check the expiration date of
your license file. To check an expiration date of your license, please
open the license file using notepad. You will see the following tags:
20140618
It means that you can free upgrade to version of Aspose.Words published before 06/18/2014.
If you need to update to the latest version of Aspose.Words for JasperReports, but your license does not allow you to update to this version, you should contact Aspose sales team to renew your license.
https://forum.aspose.com/c/purchase/6