Hi guys,
I am using docx4j to generate a report, I can generate it in .docx but I have problems when converting it to pdf.
Let me explain what I do, first I have a template and I have some keywords to replace, some are text, but some others are images and even tables
To search for keywords I do this:
template = WordprocessingMLPackage.load(stream);
HashMap<String, String> values = setValuesMap(route);
replacePlaceholders(template, values);
List<Object> texts = ...