Convert HTML to Word document

Hi team,
I have come across the following issue while implementing the html to word conversion.

If I have a table which has multiple columns, in two cells of this table, the two cells (different columns) contain a word which is excessively large i.e. 100+ characters and does not include a space.

When I set the cell width, which is smaller than the page width, Aspose does not honor the page width instead it honors the width of the word. This results in the word document spilling over the margins of the page.

Hi Kelvin,

Thanks for your inquiry. It would be great if you please share following detail for investigation purposes.

  • Please attach your input Html.

  • Please create a standalone/runnable simple application (for example a Console
    Application Project
    ) that demonstrates the code (Aspose.Words code) you used to generate your output document

  • Please attach the output Word file that shows the undesired behavior.

  • Please attach your target Word document showing the desired behavior. You can
    use Microsoft Word to create your target Word document. I will investigate as to how you are expecting your final document be generated like.

Unfortunately, it is difficult to say what the problem is without the Document(s) and
simplified application. We need your Document(s) and simple project to reproduce the problem. As soon as you get these pieces of information to us we’ll start our investigation into your issue.