Free Support Forum - aspose.com

PDF not getting converted properly

Hi aspose support,

Attached document is not converting properly while converting from pdf to doc , I thought there would be a problem with trial version but I have tried the same with aspose online demo , could you please let me know if it is a bug or problem with my implementation test3.pdf (205.4 KB)

In above document some text is getting skipped in output


This Topic is created by shahzadlatif using Email to Topic tool.

Hi aspose support,

Thank you for creating new ticket ,
As requested I’m sharing code snippet I’m using (In asp.net mvc c#),

var pfile = new Aspose.Pdf.Document(“test.pdf”);
pfile.Save(“test.docx”, Aspose.Pdf.SaveFormat.DocX);

I am also sharing screenshot of my output in that you can see [Nancy Drew] is missing
Capture.PNG (1005.4 KB)

as I mentioned earlier same issue is happening with aspose online pdf to word converter at below link
https://products.aspose.app/pdf/conversion

thank you for quick response, let me know if you need anything more to investigate.

@akasht

Thanks for contacting support.

Please try using following code snippet in order to convert PDF document into DOC/DOCX correctly as we tested the scenario in our environment and were unable to notice any issue. For your kind reference, an output DOC is also attached.

using (Document pdfFile = new Document(dataDir + "test3.pdf"))
{
 pdfFile.Save(dataDir + "Sample.doc", new DocSaveOptions()
 {
  Format = DocSaveOptions.DocFormat.Doc,
  Mode = DocSaveOptions.RecognitionMode.Flow,
  RecognizeBullets = true
 });
}

Sample.zip (488.2 KB)

@asad.ali

Thanks for sharing the code with me,
It worked as expected.

Thank you aspose support for helping me out.

1 Like

@akasht

It is good to know that your issue has been resolved. Please keep using our API and in case you face any issue, please feel free to let us know.