Hello,
Whenever I run my program the resulted document will always have unreadable content. tried to find the root of the issue and it will always happen whenever I try to modify a table.
my current table edit code:
Tr workingRow = (Tr) XmlUtils.deepCopy(templateRow);
List<?> textElements = getTargetElements(workingRow, Text.class);
for (Object object : textElements) {
Text text = (Text) object;
textBefore = text.getValue();
String replacementValue = (String) replacements.get(textBefore);
if (replacementValue != null) {
text.setValue(replacementValue); ...