doc.UpdateFields(), you have to manually Update the entire directory after opening word. Moreover, the table of contents is inconsistent with the first-level heading, and there should be two spaces between the serial n…...Update toc didn't work Aspose.Words Product Family words-java...updateFields(), you have to manually update the entire directory after...