I have an html file that I am converting to docx with the help of docx4java. The html file contains reference to images (<img src="abc.jpg"/>). The html file gets converted successfully, however, all images are broken. So, I tried XHTMLImporter which is basically converting the html to xhtml and then generates docx from the xhtml. It works great but it doesn't handle html's <hr> tag.
I am hoping that there is some way that I can include all images referenced by my html file in the docx package without making them inline images because adding inline images results in two instances of the each image in the gernerated docx file.
Any help would be greatly appreciated.