We have observed that the PDF tag structure for the Table of Contents (TOC) differs when generating a document via code compared to using the Word “Save as PDF” option. Specifically, the reference link is missing in the …...docx (8.1 KB) Code Word - Save As...document as DOCX String outputPath = "C:\\out.docx"; doc.save(outputPath);...