Class CreateWrappers

java.lang.Object
org.docx4j.convert.out.ConversionFeatures
org.docx4j.convert.out.common.CreateWrappers

public class CreateWrappers
extends ConversionFeatures
This class generates the sections depending on the selected features
  • Constructor Details

  • Method Details

    • process

      public static ConversionSectionWrappers process​(WordprocessingMLPackage wmlPackage, java.util.Set<java.lang.String> features) throws Docx4JException
      This method creates the Sections for the conversion. The type of the created sections depend on the selected features.
      Features processed:
      • PP_COMMON_PAGE_NUMBERING
      • PP_COMMON_DUMMY_PAGE_NUMBERING
      • PP_COMMON_CREATE_SECTIONS
      • PP_COMMON_DUMMY_CREATE_SECTIONS
      Parameters:
      wmlPackage - , the package that should be preprocessed
      features - , the selected features
      Returns:
      the created sections
      Throws:
      Docx4JException