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…...Words Product Family words-java Crane March 25, 2025, 4:04pm...https://reference.aspose.com/words/java/com.aspose.words/listlevel/#getNumberFormat...