Class PageBreak

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

public class PageBreak
extends java.lang.Object
Author:
alberto
  • Constructor Summary

    Constructors 
    Constructor Description
    PageBreak()  
  • Method Summary

    Modifier and Type Method Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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.