使用updateFields更新目录
public static void main(String[] args) throws Exception {
com.aspose.words.License wordsLicense=new com.aspose.words.License();
wordsLicense.setLicense("D:\\Aspose.TotalforJava.lic");
Stri…...NodeCollection paragraphs = doc.getChildNodes(NodeType.PARAGRAPH, true);...for (Paragraph para : (Iterable<Paragraph>) paragraphs) { String...