Class PageBreak

java.lang.Object
org.docx4j.convert.out.common.preprocess.PageBreak

public class PageBreak extends Object
  • Field Details

    • log

      private static org.slf4j.Logger log
  • Constructor Details

    • PageBreak

      public PageBreak()
  • Method Details

    • process

      public static void process(WordprocessingMLPackage wmlPackage)
      If a page-break w:br w:type="page" is found within a run with some formatting applied to it then it will be generated into an fo:inline tag. This page break will be ignored by fop. This class moves the page-breaks to the enclosing block.
    • movePageBreaks

      private static void movePageBreaks(Body body)
    • updateParagraph

      private static void updateParagraph(P paragraph)
    • checkPageBreak

      private static boolean checkPageBreak(List<Object> content)