Aspose.PDF For JAVA PDF转换为DOCX


#1

你好,我用的是Aspose.PDF For JAVA

我想吧PDF转换为DOCX,但是转换太慢,超过5分钟

PDF示例文件:


#2

@zg0x1231

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue with below code snippet. A ticket with ID PDFJAVA-38591 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

// Load source PDF file
Document doc = new Document("ssh.pdf");
// Instantiate Doc SaveOptions instance
DocSaveOptions saveOptions = new DocSaveOptions();
// Set output file format as DOCX
saveOptions.setFormat(DocSaveOptions.DocFormat.DocX);
// Save resultant DOCX file
doc.save("resultant.docx", saveOptions);

We are sorry for the inconvenience.