Docx to HTML- back to Docx

Hi, I posted this as a reply to another post, but wanted to create a new post

I have noticed formatting differences when converting from one format to another. We were going to use Aspose for translating from docx to html and back again, but margins/indenting of numbered lists are incorrect. I think it’s because the html margins values (in pts) are saved and then when opened by Aspose as html and saved as docx, it keeps the values (ex. 85.25 pt), so exaggerated indents. Is this also a known issue? Is there a workaround?

Thanks

Hi Bruno,

Thanks for your inquiry.

Please note that it is not guaranteed that the final DOCX output will look exactly the same as the input DOCX during the DOCX to HTML to DOCX round-trip. This is because Word and HTML formats are quite different. I would suggest you please visit the following links to learn about the features supported during importing/exporting from/to HTML format.

https://docs.aspose.com/words/net/load-in-the-html-html-xhtml-mhtml-format/
https://docs.aspose.com/words/net/save-in-html-xhtml-mhtml-formats/

If we can help you with anything else, please feel free to ask.

Best regards,