I'm trying to convert a file from a .pdf to .doc format, i'm using this library Aspose PDF 18.9.1 with license and Java 8. The PDF document has bookmarks and link, when I get the transformation of the doc file, if i click on the bookmark and on the link doens't run. This is my code:
// Load source PDF file
Document pdfDocument = new Document("example.pdf");
// Create DocSaveOptions object
DocSaveOptions saveOption = new DocSaveOptions();
// Set format DOC
saveOption.setFormat(DocSaveOptions.DocFormat.Doc);
// Save the resultant DOC file
pdfDocument.save("example.doc", saveOption);
Thank you for sharing requested data and information.
We have investigated the document and have figured out that it does not contain any bookmark but hyperlinks that is local hyperlink on page number 1 and external hyperlink on page number 7. We have verified this with Adobe Acrobat as well as with Aspose.PDF for Java API using below code snippet:
Therefore, we have been able to reproduce the problem with hyperlinks when shared PDF file is converted to DOC file. A ticket with ID PDFJAVA-38126 has been logged in our issue management system for further investigation and resolution. We will update you as soon as this ticket will be resolved.
We are sorry for the inconvenience.