We use next code to convert docx to pdf (Spiredoc 11.7.0 for Java):
- Code: Select all
Document document = new Document("test_table.docx");
document.saveToFile("test_table_spiredoc.pdf", FileFormat.PDF);
In pdf file table looks different from docx, however saving file as pdf from MS Word make table with right column widths (see attached files).
Please help to resolve this issue.
Thanks,
Andrei Chorin