Table of contents not added in pdf format using ASPOSE WORD - java

Table of contents is seen in .docx in a open office and libre office but not seen in Microsoft Office. Also if we export the same document in pdf it is not shown.


Table of contents not added in pdf format using ASPOSE WORD , java - Stack Overflow
We have posted in stackoverflow also. Please suggest us if we are doing anything wrong.

Thanks,
Biswas

Hi Biswas,


Thanks for your inquiry. Could you please attach your Word/Pdf documents (cover_page_toc.docx, our_testing_template.docx and Document.Doc2PdfSave Out.pdf) you’re getting this problem with here for testing? We will investigate the issue on our end and provide you more information.

PS: To attach these resources, please zip them and Click ‘Reply’ button that will bring you to the ‘reply page’ and there at the bottom you can include any attachments with that post by clicking the ‘Add/Update’ button.

Best regards,

Hi,


I have attached the required documents. Please have a look.

Thanks,
Biswas

Hi Biswas,


Thanks for your inquiry. Well, this is an expected behavior. It seems MS Word does not allow text formatted with Heading styles to appear in TOC entries either. If we can help you with anything else, please feel free to ask.

Best regards,