- Code: Select all
@Override
public List<Object> apply(Object object) {
if (object instanceof org.docx4j.wml.Text){
Text wText=(org.docx4j.wml.Text) object;
if(wText.getValue().equals("formattedAuditNumber")){
wText.setValue("A-123-456-9876");
}
}
return null;
}
I tried playing ...