我使用bulid进行了文档的嵌入
NodeCollection runs = mainDoc.getChildNodes(NodeType.PARAGRAPH, true); //获取所有节点
int dell = 0 ;
for (int i = 0; i < runs.getCount(); i++) {
Paragraph r = (Paragraph) runs.get(i);
String text = r.…...A4); Section parentSection = r.getParentSection();...insertBreak(BreakType.BreakType.SECTION_BREAK_NEW_PAGE)后再次设置不同的方向,...