Free Support Forum - aspose.com

PDF to HTML conversion- HTML file is not in a good format

Hi

I tried to convert a PDF into html but not getting it in a good format. I can only see some symbols only. I have attached the sample PDF file.

Hi Shyam,

Thanks for your inquiry. I managed to reproduce the problem with your sample PDF document. I have already logged this bug under ticket id SAASPDF-86 in our issue tracking system. We will soon investigate the cause of the incorrect rendering. Also, you will be notified once it is resolved and available for the public use. We're sorry for your inconvenience.

Support Developer, Saaspose
Support Team
http://www.saaspose.com

Hi Shyam,

It is to update you that you can achieve this feature indirectly. As a workaround, you can convert a PDF to DOC file format and then DOC to HTML file format. You need to prepare two REST API calls.

Saaspose API Pages:
http://saaspose.com/docs/display/pdf/convert+%28Controller+resource%29
http://saaspose.com/docs/display/words/convert+%28Controller+resource%29

Documentation pages:
http://saaspose.com/docs/display/words/Convert+Document+to+Different+File+Format+without+Using+Storage+%28Java+REST%29
http://saaspose.com/docs/display/words/How+to+Convert+Document+to+Different+File+Format+without+Using+Storage+%28Java+REST%29
http://saaspose.com/docs/display/words/Convert+Word+to+other+Formats+%28JAVA+SDK%29
http://saaspose.com/docs/display/words/How+to+Convert+Document+to+Different+File+Format+without+Using+Storage+%28Java+SDK%29

I hope this will help you.

Regards,
Imran Rafique

Support Developer, Saaspose
Support Team
http://www.saaspose.com