Thanks for reply.
I was able to convert to docx back but there are 2 smal issues.
Conversion si adding line extra breaks in formatting for some content. Another issue is that headers and footer don't get added back as header and footer but as image at top and bottom only.
I see that there is <DIV TYPE=HEADER> and <DIV TYPE=FOOTER> in html file generated.
Is it possible somehow to insert them as actual header and footer in docx when converting from html?
Thanks.