Use aspose.word.jasperReport for generate docx file

Hi I am generating docx file using jasper report. I am getting problem with docx file when I overlap any two element in jrxml file. I want to use aspose.word for jasper report to download docx file . Can any body tell me , how to use aspose.word for jasper report.

HI Vivek,


Thanks for your inquiry.
vivek-1:
I want to use aspose.word for jasper report to download docx file . Can any body tell me , how to use aspose.word for jasper report.
Aspose.Words for JasperReports works with JasperReports and JasperServer. The article at following documentation link explains how to integrate the exporter.
http://www.aspose.com/docs/display/wordsjasperreports/Installation

Please check the AWDocxExporter’s detail from here:
http://www.aspose.com/docs/display/wordsjasperreports/AWDocxExporter
vivek-1:
I am getting problem with docx file when I overlap any two element in jrxml file.
It would be great if you please share your jrxml file along with xml data source here for testing? I will investigate the issue on my side and provide you more information.

Hi Tahir,

Thanks for reply. I have managed to download docx using aspose.words.jar file. I have some issue when download file.
1. I wrote text over an image. It does not display in docx format.
2. I have an image then one another image and then a textfield at top . I get only one image, When I see it then it render text and both image on screen perfectly on docx page but show only on image. What should I do in this case.

HI Vivek,

Thanks for your inquiry. It is nice to hear from you that you have exported your jrxml to Docx. In your case, I suggest you please use AWExporterParameter.OVERLAP_RESOLUTION_METHOD. Please read more detail from here:
http://www.aspose.com/docs/display/wordsjasperreports/Overlapping+Items

If you still face problem, please share your jrxml file along with xml data source here for testing. I will investigate the issue on my side and provide you more information.


here is my jrml file. I tried both type of overlapping.
exporter.setParameter(AWExporterParameter.OVERLAP_RESOLUTION_METHOD, AWExporterParameter. OVERLAP_RESOLUTION_METHOD_PUSH_ITEMS);

This line gives me better result but text is not over image. first text show and below that text both image show at correct position. You can use any image with same width and height.

HI Vivek,


Thanks for sharing the jrxml file. When you use AWExporterParameter.OVERLAP_RESOLUTION_METHOD_PUSH_ITEMS, the overlapping items are pushed in appropriate directions.

The AWExporterParameter.OVERLAP_RESOLUTION_METHOD_PUSH_ITEMS is used by default as it allows the preservation of the original position of report items and does not affect surrounding contents. However, it may corrupt the item’s appearance. If you are not satisfied with the Truncate method, you can try the Push method.

Could you please share your output Docx and Jasper Report version which you are using here for our reference?

Moreover, the by using AWExporterParameter.OVERLAP_RESOLUTION_METHOD_TRUNCATE_ITEMS the output Docx is not correct. I have logged this issue as WORDSJSP-127 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved. I have attached the output Docx with this post for your kind reference.

We apologize for your inconvenience.

Hi Tahir,

I Thanks for your consistent reply,
I am adding here two image with both parameter Truncate_Item and Push_Item. My requirement is that I want That text over Image. These Image has taken for same jrxml ,I have commented in previous reply.
Kindly take a look and reply as soon as possible.
And one ore thing, I am getting problem to use Live chat option, when I click on start chat It show a message that someone will reply you soon and I see this for hours. Is there any problem with connectivity?

HI Vivek,


Thanks for sharing the detail. My apologies for the issues you faced while trying to use the Live Chat feature. I managed to reproduce the same issue at my side. We will update you via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir,

Thanks for reply. I am waiting for your response. Please let me know as soon as possible.
And if you need any other information from my side, please let me know as soon as possible.

Hi Vivek,


Thanks for your inquiry. I would like to share with you that issues are addressed and resolved based on first come first serve basis. Currently, your issue is pending for analysis and is in the queue. We will update you via this forum thread once there is any update available on your issue.

Thank you for your patience and understanding.

Hi Tahir,

Thanks for your valuable reply. I just want to know that is there any update with with my query. I just want to know a estimated time in which it will resolve.

Hi Vivek,


Thanks for your inquiry. I have verified the status of your issue from our issue tracking system and like to share with you that your issue is still pending for analysis and is in the queue. We will update you via this forum thread once there is any update available about your issue. We appreciate your patience.

Hi Tahir,


I want to know that the issue addressed in the thread have been resolved or not. I am also facing the similar problem “Text not rendered over image”.

Thanks

Hi Manish,


Thanks for your inquiry.

Unfortunately, the issue WORDSJSP-127 is not resolved yet. This issue is pending for analysis and is in the queue. We will update you via this forum thread once there is any update available about this issue. I am afraid, I cannot provide you any reliable estimate at the moment. Once this issue is analyzed, we will then be able to provide you an estimate.