// Workaround for https://issues.apache.org/bugzilla/show ... i?id=54094 // You can comment this out if you are using FOP post 1.1 // (see pom.xml for tips on how to configure that) Object o = wordMLPackage.getMainDocumentPart().getContent().get(0); if (o instanceof P && ((P)o).getPPr()!=null) { PPr pPr = ((P)o).getPPr(); BooleanDefaultTrue val = new BooleanDefaultTrue(); val.setVal(Boolean.FALSE); pPr.setPageBreakBefore(val); }