Class CoverPageSectPrMover

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

public class CoverPageSectPrMover extends Object
  • Field Details

    • log

      private static org.slf4j.Logger log
  • 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.
    • moveSectPr

      private static void moveSectPr(Body body)
    • cutSectPr

      private static SectPr cutSectPr(P p)
    • pasteSectPr

      private static void pasteSectPr(List<Object> contentList, SectPr sectPr)