Package org.docx4j.model.fields.merge
Class MailMerger.FormTextFieldNames
java.lang.Object
org.docx4j.model.fields.merge.MailMerger.FormTextFieldNames
- Enclosing class:
- MailMerger
protected static class MailMerger.FormTextFieldNames
extends java.lang.Object
If we're converting MERGEFIELD to FORMTEXT, it is
desirable to make the w:fldChar/w:ffData/w:name
unique within the docx (though Word 2010 can still open the docx if they
aren't), and to remove spaces
- Since:
- 3.0.0
- Author:
- jharrop
-
Constructor Summary
Constructors Modifier Constructor Description protectedFormTextFieldNames() -
Method Summary
Modifier and Type Method Description java.lang.StringgenerateName(java.lang.String input)
-
Constructor Details
-
FormTextFieldNames
protected FormTextFieldNames()
-
-
Method Details
-
generateName
public java.lang.String generateName(java.lang.String input)
-