Package org.docx4j.model.fields.merge
Class MailMergerWithNext
java.lang.Object
org.docx4j.model.fields.AbstractMerger
org.docx4j.model.fields.merge.MailMerger
org.docx4j.model.fields.merge.MailMergerWithNext
-
Nested Class Summary
Nested classes/interfaces inherited from class org.docx4j.model.fields.merge.MailMerger
MailMerger.OutputFieldNested classes/interfaces inherited from class org.docx4j.model.fields.AbstractMerger
AbstractMerger.FormTextFieldNames -
Field Summary
Fields inherited from class org.docx4j.model.fields.AbstractMerger
fieldFate, input -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperformLabelMerge(List<Map<DataFieldName, String>> data) Similar to performMerge method but better to merge labels template because of using the NEXT instruction to go to the next item.static voidperformLabelMerge(WordprocessingMLPackage input, List<Map<DataFieldName, String>> data) Deprecated.Methods inherited from class org.docx4j.model.fields.merge.MailMerger
extractInstr, getConsolidatedResultCrude, getConsolidatedResultCrude, getDatafieldNameFromInstr, performMerge, performOnInstance, setFormFieldProperties, setMERGEFIELDInOutputMethods inherited from class org.docx4j.model.fields.AbstractMerger
canonicaliseStarts, getConsolidatedResultCrude, getTextInsideContent, performMerge, recursiveRemove, removeSimpleField, setOutputField
-
Constructor Details
-
MailMergerWithNext
-
-
Method Details
-
performLabelMerge
@Deprecated public static void performLabelMerge(WordprocessingMLPackage input, List<Map<DataFieldName, String>> data) throws Docx4JExceptionDeprecated.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 templatedata- List of multiple datamap- Throws:
Docx4JException
-
performLabelMerge
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 templatedata- List of multiple datamap- Throws:
Docx4JException
-