How to convert PDF to DOCX in Java

We are trying to convert PDF’s directly to DOCX format. We can see the the demo of this function on the aspose.clod site but cannot see how we can achieve it ourselves.

Could you please advise

Many thanks

@jbrady1990

We support the following three API methods to convert PDF documents to DOCX/DOC in Aspose.PDF Cloud. For Java SDK unit tests, please check GitHub repo. Hopefully, it will help you to accomplish the task.

GET ​/pdf​/{name}​/convert​/doc Converts PDF document (located on storage) to DOC format and returns resulting file in response content

​PUT /pdf​/{name}​/convert​/doc Converts PDF document (located on storage) to DOC format and uploads resulting file to storage

PUT ​/pdf​/convert​/doc Converts PDF document (in request content) to DOC format and uploads resulting file to storage