Hello,
I'm working on a project taking an xml file and merging with a docx template, ultimately creating a PDF file. I've been able to use the ContentControlsMergeXML and ConvertOutPDF sample files to create a basic application to merge and convert. So far, so good.
The templates I'm working with include checkboxes. I was hoping to use conditional content controls to display a checked box/unchecked check box depending on xml values. I can get the conditional to work, however I was using Wingdings (Actually, Wingdings 2) to display the checkbox (whether checked or unchecked.) I can place wingding characters within the docx, however I am unable to convert wingding characters to PDF, ultimately any wingding character being displayed as a #.
I have created a simple docx that I've run through the unmodified ConvertOutPDF sample code that displays the behavior of the wingdings font. And if I upload the docx to the webapp, the webapp also generates a pdf using # for any wingdings
I'm sure I'm missing something simple somewhere, but I can't figure out what it is. Anyone have any ideas what I need to do to get wingdings/wingdings 2 characters to appear in a PDF created from docx4j?
Thanks for any assistance
Mike