Hi,
I am using docx4j to generate letters based on template using codes from the UnmarshallFromTemplate.java sample. It works great!!!
However I met a problem with word. For example, I typed the following into Word: Dear ${firstName}, after saving it, Word generate the following XML:
<w:t>${</w:t></w:r><w:proofErr w:type="spellStart"/><w:r w:rsidR="00F35EC5"><w:t>firstName</w:t></w:r><w:proofErr w:type="spellEnd"/><w:r w:rsidR="00F35EC5"><w:t>}</w:t></w:r><w:r><w:t>,
You can see the "${" and "firstName" and "}" are separated, just wondering is there any way to avoid this in Word?
Thanks a lot!