Class CoverPageSectPrMover

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

public class CoverPageSectPrMover
extends java.lang.Object
Author:
jharrop
  • Constructor Summary

    Constructors 
    Constructor Description
    CoverPageSectPrMover()  
  • Method Summary

    Modifier and Type Method Description
    static void process​(WordprocessingMLPackage wmlPackage)
    If the first w:p starts with a w:sectPr, this is moved into a new following w:p.

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