Hi Team,
I am using Aspose word 18.7. When we are processing a word document with table of content it is not coming how it is there in source word document. Word document has updated table of content.
Following is the code used:
Document doc = new Document(filePath);
doc.updateFields();
doc.save(outpufFile, SaveFormat.PDF);
Also attached the source word and generated PDF file.tocIssue.zip (105.9 KB)