I am creating an HTML table and inserting it to a Word document (.DOCX) using following APIs:
But the table does not appear (fit) properly on the document. I have attached the output document and the HTML file of the table.
I tried to use the following APIs also to set the auto-fit behavior of the table but had no luck:
Table table = (Table)Document.getChild(NodeType.TABLE, 0, true);
I get the same table.
Please suggest some solution for the table to appear correctly on the document.
Thanks & Regards,