Class AbstractMigratorUsingAnswersFormat
java.lang.Object
org.docx4j.model.datastorage.migration.AbstractMigrator
org.docx4j.model.datastorage.migration.AbstractMigratorUsingAnswersFormat
- Direct Known Subclasses:
FromMergeFields,FromVariableReplacement
public class AbstractMigratorUsingAnswersFormat extends AbstractMigrator
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.String>keysprotected QuestionsPartquestionsPartprotected StandardisedAnswersPartstandardisedAnswersPartFields inherited from class org.docx4j.model.datastorage.migration.AbstractMigrator
conditionsPart, storeItemID, xPathsPart -
Constructor Summary
Constructors Constructor Description AbstractMigratorUsingAnswersFormat() -
Method Summary
Modifier and Type Method Description protected voidcreateContentControl(RPr rPr, java.util.List<java.lang.Object> replacementContent, java.lang.String key)protected voidcreateParts(WordprocessingMLPackage pkgOut)Methods inherited from class org.docx4j.model.datastorage.migration.AbstractMigrator
addPropertiesPart, createConditionsPart, createContentControl, createSdtPr, createSdtRun, createXPathsPart
-
Field Details
-
questionsPart
-
standardisedAnswersPart
-
keys
protected java.util.Map<java.lang.String,java.lang.String> keys
-
-
Constructor Details
-
AbstractMigratorUsingAnswersFormat
public AbstractMigratorUsingAnswersFormat()
-
-
Method Details
-
createParts
- Overrides:
createPartsin classAbstractMigrator- Throws:
InvalidFormatException
-
createContentControl
protected void createContentControl(RPr rPr, java.util.List<java.lang.Object> replacementContent, java.lang.String key)- Parameters:
r-replacementContent-key-
-