Re: replacing line break with paragraph break

Hi Andrey,
Currently I am using aspose-words-14.10.0-jdk16.jar in my application. I want to remove all the carriage returns from the end of documents. Pleas help me.
While running above code I am not getting the class(or component) asposewobfuscated.rn(…)

Please reply.

Thanks & Regards,
Dinesh Gupta

Hi Dinesh,

Thanks for your inquiry. Please attach the following sample resources here for testing:

  • Your input Word document that contains carriage returns
  • Your expected Word document showing the final result. You can create expected document using Microsoft Word.

As soon as you get these pieces of information ready, we'll start investigation into your issue and provide you code to achieve the same using Aspose.Words for Java. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click 'Reply' button that will bring you to the 'reply page' and there at the bottom you can include any attachments with that post by clicking the 'Add/Update' button.

Best regards,