use of org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPageMar in project Gargoyle by callakrsos.
the class MSWord method applyPageMargin.
/**
* 페이지 마진을 설정한다.
*/
public void applyPageMargin() {
CTSectPr addNewSectPr = doc.getDocument().getBody().addNewSectPr();
CTPageMar addNewPgMar = addNewSectPr.addNewPgMar();
addNewPgMar.setLeft(BigInteger.valueOf(720L));
addNewPgMar.setTop(BigInteger.valueOf(720L));
addNewPgMar.setRight(BigInteger.valueOf(720L));
addNewPgMar.setBottom(BigInteger.valueOf(720L));
}