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

Free Support Forum - aspose.com

A problem with line spacing when exist a symbok of tabulation

I’m trying to try how your trial version of library (Aspose.Words for JasperReports) generates reports from a template of JasperReport to Docx file.
I noticed such a strange thing: if there is a symbol of tabulation ("\t") in the text, then not the distance between the lines automatically becomes like a single.
If you remove the tab character, the formatting becomes correct.
Also, if there are many symbols of tabulation in the text, a forced page break occurs (not specified in the template).
Used library for JasperReports - 6.4.2.-6.4.3 from archives of versions Aspos: 19.12, 19.7, 18.8.

Setting (exporter.setParameter(AWExporterParameter.USE_LINE_SPACINGS, AWExporterParameter.USE_LINE_SPACINGS_ALWAYS)) did not help.

Is there any way to fix this?


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input .jrxml/.jrprint file.
  • Please attach the output Word file that shows the undesired behavior and generated by latest version of Aspose.Words for JasperReports 19.12.
  • Please attach the expected output Word file that shows the desired behavior.
  • Please create a simple Java application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

A post was split to a new topic: Command tab generate extra space