Package org.docx4j.model.fields.merge
Class DataFieldName
java.lang.Object
org.docx4j.model.fields.merge.DataFieldName
The name of the data field.
When Word performs a mail merge, it treats this as case-insensitive
(and takes the first matching field).
The purpose of this class is to ensure the key provided is
case-insensitive.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
nameCaseSensitive
-
-
Constructor Details
-
DataFieldName
-
-
Method Details
-
getName
Returns the data field name in caps (which is what a Word mail merge expects)- Since:
- 11.5.5
-
getNameAsProvided
Returns the data field name as provided in the constructor (ie case sensitive); useful outside of mail merge applications.- Since:
- 11.5.5
-
equals
-
hashCode
public int hashCode()
-