Hello,
I'm trying to convert a docx-file to PDF. The docx-file contains a number of custom document properties and these are used throughout the document. The problem is that the properties values vanishes when I convert the document to PDF.
The code I'm currently using to convert to PDF is the following
public InputStream toPDF(InputStream is) throws DocumentProcessorException {
WordprocessingMLPackage doc;
try {
doc = WordprocessingMLPackage.load(is);
} catch (Docx4JException ex) {
throw new DocumentProcessorException(ex); ...