Class CoverPageSectPrMover
java.lang.Object
org.docx4j.convert.out.common.preprocess.CoverPageSectPrMover
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static SectPrprivate static voidmoveSectPr(Body body) private static voidpasteSectPr(List<Object> contentList, SectPr sectPr) static voidprocess(WordprocessingMLPackage wmlPackage) If the first w:p starts with a w:sectPr, this is moved into a new following w:p.
-
Field Details
-
log
private static org.slf4j.Logger log
-
-
Constructor Details
-
CoverPageSectPrMover
public CoverPageSectPrMover()
-
-
Method Details
-
process
If the first w:p starts with a w:sectPr, this is moved into a new following w:p. This prevents the creation of an empty fo:flow, which causes a validation exception in FOP. -
moveSectPr
-
cutSectPr
-
pasteSectPr
-