DOC->HTML->DOC - Comments/Headers/Footers lost

Sir,

I am trying to convert a Microsoft Word document (containing few comments) to HTML and back to .doc . The Comments are lost (converted to ordinary document text) when they are converted back. Is there any way to preserve the comments (as comments itself) when converting from html to doc?

This is same with headers and footers.

I am using Aspose.Words JAVA API 2.4.1.0

Thanks in advance.

Thanks,
Saravanan. S

Hi
Thanks for your request. Actually HTML does not have special nodes for comments, headers and footers. So as you understand there is no direct way to roundtrip comments/headers/footers during DOC->HTML->DOC conversion. You can try to create your custom code to achieve this. Please see the following example
https://releases.aspose.com/words/net
Maybe technique suggested there could help you.
Best regards.