Package org.docx4j.convert.out.common.preprocess
package org.docx4j.convert.out.common.preprocess
-
ClassesClassDescriptionThis class moves w:bookmarkStart into the next paragraph if they are outside of a paragraph.In Word, adjacent paragraphs with the same borders are enclosed in a single border (unless bullets/numbering apply).This class is something like the opposite to the FieldsPreprocessor.Workaround for https://issues.apache.org/bugzilla/show_bug.cgi?id=54094 You can disable this step if you are using FOP post 1.1 See also FopWorkaroundReplacePageBreakInEachListWorkaround for https://issues.apache.org/bugzilla/show_bug.cgi?id=54094 You can disable this step if you are using FOP post 1.1 The problem could arise anywhere a w:p with page break before is converted to fo:list-block (typically that means it would also have had numbering)This class collects information about the use of page numbering fields, and their formatting.A typical case this would fix is where the spacing between paragraphs is wrong in the PDF|XHTML output (because that is set in DocDefaults).Create a partial deep copy of the document.