Hello,
We have purchased an Aspose licence. While converting from .doc to .htm/.html, we are experiencing the following discrepancy.
We tried converting a doc file to html using Microsoft Word first and then using Aspose. It was noticed that if the doc file contains a table and we center align the table (note that only the table is center aligned. The content within the table is left aligned.), then Microsoft Word encapsulates the table within a div in the converted file. Aspose does the same.
The issue is that Microsoft Word adds the div as:
(as shown in snapshot ‘Div_outside_table_MS.png’)
whereas Aspose adds the div as:
(As shown in snapshot ‘Div_outside_table_Aspose.png’)
PFA the following files for your investigation:
1. Original word file: Sample_Table_alignment.docx
2. The hmtl file as generated by MS Word: Sample_Table_alignment_MS.htm and folder Sample_Table_alignment_MS_files
3. The html file generated by Aspose Words: Sample_Table_alignment_Aspose.html
4. The 2 snapshots mentioned above.
Please can you get this issue resolved? Due to the discrepancy, we are facing alignment issues in the converted documents.