Re: Does Aspose.Words for Java supports doc/docx to PDF/A

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

Hi David,

Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-14190 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

You can use Aspose.Pdf to achieve your requirements. Please set the value of Aspose.Pdf.Document.DisplayDocTitle property to true if you want to show the title in document's window title bar.