Jasper iReport DOCX generation issues... is Aspose the solution?

We are currently providing PDF generation and that works fine. We want to add a DOCX generation that can easily be modified after generation.

The problems we are having with DOCX documents generated with Jasper iReport include:

  • Text not flowing properly (document divided into rows so various items sometimes get clipped or moved when they shouldn’t)
  • Items in iReport Page Header and Page Footer bands do not generate in MS Word’s Header and Footer (this causes problems when modifying the document because the footers and headers should stay static on the top/bottom of each page, while allowing the main content to flow from one page to another).
  • Elements completely disappear in the generated DOCX if they overlap or overlay another element in iReport.

Does Aspose provide solutions for these issues?

Hi Dallas,

Thanks for your query. It would be great, If you share your jrxml file along with data source for investigation purposes.

Well, normally using a custom data source… below are the issues illustrated on a simple jrxml with an empty datasource. They will appear fine in other formats, but in DOCX you will notice elements disappear and it doesnt make use of Word’s header/footer.

<?xml version="1.0" encoding="UTF-8"?>



























































Hi Dallas,

Thanks for sharing the jrxml. I have tested the scenario and have managed to reproduce the same problem at my end. I have logged this issue in our issue tracking system and you will be notified via this forum thread once this issue is resolved.

I have not found issue related to header and footer. Please find the output docx file generated with latest version of Aspose.Words for JasperReports.

We apologies for your inconvenience.

It seems I am unable to download the files at the URL you posted.

I have not yet used Aspose, I’ve been using Jaspersoft iReport and previewing as DOCX to see the DOCX output of the jrxml files and the problems mentioned in the first post are associated with that.

Other issues I’ve had with iReport are that I am unable to create lists or tables for the sole purpose of formatting (rather than displaying data from a data source).

I have used static texts with bullet points to mimic a bulleted list, but in the DOCX there are problems, it would be nice if I could create a list in iReport and have the DOCX output have an actual MS Word list.

I have also used bordered frames as a way to mimic a table, but this is a tedious process and doesn’t come out as I would prefer in the DOCX generated file. If I try to add text to a frame in the DOCX and the content extends past the frame, rather than expanding the frame, the content beyond the frame disappears.

Do you have any suggestions for these issues? Does Aspose offer solutions for these and the above issues (it sounds like Aspose can take care of the header/footer problems based on your post)?

dallasn:
It seems I am unable to download the files at the URL you posted.


What I mean is that unlike in the Aspose.Word for Java and others, there is no "Download" button near the file size. I also tried to manually put in the entry number in the same URL format as the Aspose.Word for Java (http://aspose.com/community/files/198900/download.aspx) to see if it was there but just missing the button for whatever reason... but that did not work.

Hi there,


Thanks for your inquiry.

We apologise for this issue, I have informed the developer responsible to fix this asap.

In the mean time please find attached the download for Aspose.Words Jasper Reports.

If we can help with anything else, please feel free to ask.

Thanks,

Hi there,


Thanks for waiting.

I believe the download has now been fixed. Please try the link again: http://www.aspose.com/community/files/67/jasperreports-exporters/aspose.words-for-jasperreports/entry265846.aspx

Thanks,

The issues you have found earlier (filed as WORDSJSP-88) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.