Package org.docx4j.samples
Class FieldsRemoveMERGEFIELD
java.lang.Object
org.docx4j.samples.FieldsRemoveMERGEFIELD
org.docx4j.model.fields.merge.MailMerger has
options for what to do with MERGEFIELD after processing,
and that is ordinarily what you would use.
The purpose of this example is simply to remove MERGEFIELD
without performing any merge.
This is useful where you want to clean up a pre-existing
docx before working on it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringextractInstr(List<Object> instructions) static voidmigrate(WordprocessingMLPackage pkgIn)