Class FromMergeFields
java.lang.Object
org.docx4j.model.datastorage.migration.AbstractMigrator
org.docx4j.model.datastorage.migration.AbstractMigratorUsingAnswersFormat
org.docx4j.model.datastorage.migration.FromMergeFields
public class FromMergeFields extends AbstractMigratorUsingAnswersFormat
This class will help you to migrate
from MERGEFIELDs
to use of content control data bindings.
After migrating, you'll be able to
use the OpenDoPE authoring tool to
add repeats, conditionals, and other
OpenDoPE features, if you need them.
Limitations: this first version
operates only on the main document part
(ie it won't process variables in
headers/footers, footnotes/endnotes,
or comments)
- Since:
- 3.0.0
- Author:
- jharrop
-
Field Summary
Fields inherited from class org.docx4j.model.datastorage.migration.AbstractMigratorUsingAnswersFormat
keys, questionsPart, standardisedAnswersPartFields inherited from class org.docx4j.model.datastorage.migration.AbstractMigrator
conditionsPart, storeItemID, xPathsPart -
Constructor Summary
Constructors Constructor Description FromMergeFields() -
Method Summary
Modifier and Type Method Description static voidmain(java.lang.String[] args)WordprocessingMLPackagemigrate(WordprocessingMLPackage pkgIn)Methods inherited from class org.docx4j.model.datastorage.migration.AbstractMigratorUsingAnswersFormat
createContentControl, createPartsMethods inherited from class org.docx4j.model.datastorage.migration.AbstractMigrator
addPropertiesPart, createConditionsPart, createContentControl, createSdtPr, createSdtRun, createXPathsPart
-
Constructor Details
-
FromMergeFields
public FromMergeFields()
-
-
Method Details