We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert PDF to DOCX using Aspose.PDF for .NET - Content is flipped in output document

Hello everyone,

I found a similar subjet of my problem on this forum here : Pdf being flipped (mirror image) when converting to doc

The same problem for Aspose.Pdf for Java has been fixed in the version 10.8.0.

We are using Aspose.Pdf .Net 8.7.0 and I have some hope that my problem has been fixed in a newer version.

Could you please confirm this ? If that’s the case could you tell me which version has this fix please.

If not, here my problem :

I have a .pdf file that I need to convert to a .docx file
The .docx result seems to be flipped horizontaly, it does not concern every .pdf document because it was working fine until this one.

Aspose.Pdf.Document doc = new Document(“Attestation0.pdf”);
doc.save(“result.docx”,SaveFormat.DocX);

Attestation0.pdf (1.1 MB)

Have a good day.

Alexandre.

@abillot

Please try using Aspose.PDF for Java 20.7 as we tested using it and were unable to notice any issue.

Document doc = new Document(dataDir + "Attestation0.pdf");
DocSaveOptions saveOption = new DocSaveOptions();
saveOption.setMode(DocSaveOptions.RecognitionMode.Flow);
saveOption.setFormat(DocSaveOptions.DocFormat.DocX);
saveOption.setRecognizeBullets(true);
doc.save(dataDir + "sample.docx", saveOption);

sampleoutput20.7.zip (329.9 KB)