We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Elements mis-aligned in the html converted from docx

Hi,

When converting a table (surrounded by a frame) from docx to html. I noticed one of the elements are not correctly aligned using Aspose.Words, while if I used ‘save as’ in MS Word, it looks fine.

Code:
var doc = new Document(@".\test.docx");
doc.Save(@".\AsposeOutput.htm");

I’ve attached the original docx file, Aspose output html and Word output html, as well as a screenshot for your reference. You can find the bottom right image was placed in a wrong position in the Aspose html output, while in the Word docx and html output, they look fine.

Could you please help me take a look?

test.zip (36.4 KB)
image.png (52.3 KB)

Thanks,

@ServerSide527

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17995. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-17995) have been fixed in this Aspose.Words for .NET 19.3 update and this Aspose.Words for Java 19.3 update.