We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words. landscape + portrait orientation

Hi.I bought a product license Aspose.Word and I have a problem with using:
I export reports from JasperReports using Aspose.Word.
When a document has mix orientation (landscape + portrait)
in the generated Microsoft Word file, the portrait orientation replaces the landscape orientation.
In the archive, an example of the generated report (Report.docx). Please, help me fix this problem.


Thanks for your inquiry. Could you please ZIP and attach your .jrprint file along with problematic and expected output Word documents? We will investigate the issue on our side and provide you more information.

Aspose error orientation.zip (681.1 KB)


Thanks for sharing the detail. Unfortunately, we are unable to export the .jrprint file. Could you please share the following detail for further investigation?

  1. Please share your expected output Word document.
  2. Please share the name of main .jrxml file.
  3. Please share the iReports version if you are using it.
  4. AWDocxExporter.exportReport throws exception for the shared .jrprint file. Please share the file that can be exportable.

Thanks for your cooperation.

Hi. Thanks for your help. My problem fixed in release Aspose.Words.JasperReports-18.8.


Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.