代码如下:
//插入续表题目
table.getParentNode().insertAfter(continueNameParagraph, table);
doc.updatePageLayout();
//判断续表题目是否和之前的续表在同一个页面里。如果在同一个页面里的话,就不断insert一个paragraph,直到续表的题目到下一页
while (collector.getEndPageIndex(continueNameP…...wordformat; import com.aspose.words.*; import javax.swing.*;...e.CHINESE_PRC); Document doc = new Document("C:\\Users\\11964\\Desktop\\测试粗排...