Class MailMergerWithNext


public class MailMergerWithNext extends MailMerger
  • Constructor Details

  • Method Details

    • performLabelMerge

      @Deprecated public static void performLabelMerge(WordprocessingMLPackage input, List<Map<DataFieldName,String>> data) throws Docx4JException
      Deprecated.
      Similar to performMerge method but better to merge labels template because of using the NEXT instruction to go to the next item. The contents of the input pkg are replaced with the results of the merge.
      Parameters:
      input - Document template
      data - List of multiple datamap
      Throws:
      Docx4JException
    • performLabelMerge

      public void performLabelMerge(List<Map<DataFieldName,String>> data) throws Docx4JException
      Similar to performMerge method but better to merge labels template because of using the NEXT instruction to go to the next item. The contents of the input pkg are replaced with the results of the merge.
      Parameters:
      input - Document template
      data - List of multiple datamap
      Throws:
      Docx4JException