Class CoverPageSectPrMover

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

public class CoverPageSectPrMover extends Object
Author:
jharrop
  • Constructor Details

    • CoverPageSectPrMover

      public CoverPageSectPrMover()
  • 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.