Should this also update the PDF document title? I’ve noticed that it does not seem to copy the word document title to the pdf document title.
My workaround is to call:
String docTitle = doc.getBuiltInDocumentProperties().getTitle();
save as pdf e.g. mydoc.pdf
and then reopen the converted pdf:
com.aspose.pdf.Document pdfdoc= new com.aspose.pdf.Document(“mydoc.pdf”);
pdfdoc.getInfo().setTitle(docTitle);
The problem is this requires the use of two “purchased” libraries instead of one.
–
David McMillan