I am trying to convert a PDF to a Word document using Aspose.Words for Java. Unfortunately I am getting the following error: Pdf format is not supported on this platform. Use .NET Standard or .NET 4.6.1 version of Aspose.Words for loading Pdf documents.
Can you please add PDF support for the Java version of Aspose.Words?
I am aware of the fact that I can convert a PDF to a Word document using Aspose.PDF, but for some reason the output is far less accurate, even when using flow mode. When using Aspose.PDF to convert PDF to Word, most of the tables in the PDF are not recognized. Numbered/bulleted list items are also not recognized. I would therefore rather want to use Aspose.Words to convert a PDF to Word document as I have seen that the output is more accurate.
@jacogericke Unfortunately, loading PDF document is not yet supported in Java version of Aspose.Words. This feature request is logged as WORDSJAVA-2366. Currently this feature is supported only in .NET and Python versions of Aspose.Words.
We will keep you updated and let you know once it is available in java version.
Thanks @alexey.noskov, this ticket however seems to have been opened in 2021 and has a status of “Postponed”. Do you know why this is the case?
@jacogericke Aspose.Words for .NET is our main product, so all new features are implemented in .NET version first. Then the code is ported to Java and C++. The same applies to Pdf2Word functionality. Unfortunately, Pdf2Word code uses advances C# features, which are not supported by our C# to Java porter. This is the reason this feature is also not supported in .NET 3.5 version of Aspose.Words. In addition Pdf2Word uses .NET libraries, that have no analogs in Java. So there is no simple and fast way to port this functionality to Java.
@alexey.noskov okay thanks for the explanation.
1 Like