You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have an issue with replacing variables in docx file. The file contains a lot of variables and is formatted. Most of them are replaced correctly but some aren't. Here's code example:
In logs i got:
org.docx4j.XmlUtils: Invalid key 'first</w:t></w:r><w:r><w:rPr><w:color w:val="FF0000"/></w:rPr><w:t>name' or key not mapped to a value
Example of placeholder which is replaced by variable correctly:
${last_name}
Example result:
Smith
Example of placeholder which is not replaced by variable correctly:
FIRST NAME ${first_name}
Example result:
first_name
When i manually clear formatting on the placeholder field in docx file it works correctly, but is there any other way for preparing all variables correctly?
The text was updated successfully, but these errors were encountered:
Hi,
I have an issue with replacing variables in docx file. The file contains a lot of variables and is formatted. Most of them are replaced correctly but some aren't. Here's code example:
In logs i got:
org.docx4j.XmlUtils: Invalid key 'first</w:t></w:r><w:r><w:rPr><w:color w:val="FF0000"/></w:rPr><w:t>name' or key not mapped to a value
Example of placeholder which is replaced by variable correctly:
${last_name}
Example result:
Smith
Example of placeholder which is not replaced by variable correctly:
FIRST NAME ${first_name}
Example result:
first_name
When i manually clear formatting on the placeholder field in docx file it works correctly, but is there any other way for preparing all variables correctly?
The text was updated successfully, but these errors were encountered: