Hi,
I am experimenting with the AWHtmlExporter class. I use it in the way specified by the Aspose documentation http://www.aspose.com/documentation/jasperreports-exporters/aspose.words-for-jasperreports/com/aspose/words/jasperreports/awhtmlexporter.html, setting the Jasper Print object and the output file name properties appropriately.
However, when I try to export I get this exception from the export report method:
net.sf.jasperreports.engine.JRException
at com.aspose.words.jasperreports.n.exportReport(Unknown Source)
As you can see, this gives me little information to go on. Are there some common pitfalls for using the HTML exporter I should know?
Hi,
Thank you for your request.
Could you please attach a .jrprint file to test?
I will try to make a test case and attach it here.
Hi Dmitry,
Sorry for the long reply to this issue. I have been running several tests and I cannot reproduce the problem, so I think it may have been a one off occurrence.
However, the output from the HTML exporter does not seem to be much different from the standard Jasper Reports HTML export.
I have been reading through the Aspose feature documentation here: http://www.aspose.com/documentation/jasperreports-exporters/aspose.words-for-jasperreports/doc-docx-html-and-txt-export.html, but what we really want is to export each report page as a separate HTML page. These should be linked in a frameset in the same sort of way as JavaDoc (example: http://java.sun.com/javase/6/docs/api/).
Is this possible with the current HTML exporter? What other features or bugs does this HTML exporter have to offer over the standard Jasper exporter?
Best Regards,
Steve.
Hi Steve,
No, it is not currently possible. The way you need the pages to be exported is quite specific. I think we will consider implementing it in the future, but not at the moment. As you know, the biggest problems we are struggling against are "floating" footers and page margins. Those are what I would like currently focus on.
Thanks.
Ok, thanks.
As a bit of background, our tool is producing test reports (which you have probably guessed from the examples I sent). These reports can be exported in a number of formats. Most of the standard exporters that come with Jasper Reports do not produce what we would consider production or commercial level documents, hence our interest in the Aspose library.
Our primary focus is also on the DOC and DOCX formats, so I agree with concentrating on those issues. A secondary requirement is to produce usable HTML reports and the JavaDoc style is probably the most achievable, either through our own implementation or with a secondary library, such as the Aspose HTML exporter.