CTSectPr sectPr = document.getDocument().getBody().addNewSectPr();
CTPageMar pageMar = sectPr.addNewPgMar();
pageMar.setLeft(BigInteger.valueOf(720L));
pageMar.setTop(BigInteger.valueOf(1440L));
pageMar.setRight(BigInteger.valueOf(720L));
pageMar.setBottom(BigInteger.valueOf(1440L))在导入org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPageMar类的时候可能找不到引用的jar包,提示“The type org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPageMar
cannot be resolved”
POI 3.8、POI3.9、POI3.10.1和POI 3.11的jar包中都不包含CTPageMar这个类