Hi, I just got a temporary license to test your product and tried to use the following instructions to convert a PDF document to HTML:
Hi Rodrigo,
Thank you for your response.
Hi Rodrigo,rodrigo.rosas:
ConversionApp is a web service, not a tool. I’m looking for a command-line tool I can use from Linux in an automated way. While not ideal, I can use the Java API to create such a tool, but I’m not really interested in a web service for this conversion, but thanks for pointing to it anyway.
Please take a look over following code snippet.rodrigo.rosas:
Thanks for confirming that I have to split the PDF before using the API if I want to embed all resources in the page. I’m missing however a full example demonstrating how setSplitIntoPages would work in Java without embedding all resources…
com.aspose.pdf.Document doc = new
com.aspose.pdf.Document(“c:/pdftest/Farag.pdf”);<o:p></o:p>
com.aspose.pdf.HtmlSaveOptions html = new com.aspose.pdf.HtmlSaveOptions();
html.setSplitIntoPages(true);
doc.save(“c:/pdftest/Farag.html”, html);
I tried this snippet but it doesn’t work in IE8, which is still a requirement for us.
Hi Rodrigo,
Page 53 of the document I mentioned in the beginning of this thread is mostly broken in IE8 when I use the example you provided to split it into many pages. The background image is also not loaded.
Hi Rodrigo,
com.aspose.pdf.Document doc = new
com.aspose.pdf.Document(“c:/pdftest/cdnp_018932.pdf”);<o:p></o:p>
com.aspose.pdf.HtmlSaveOptions html = new com.aspose.pdf.HtmlSaveOptions();
com.aspose.pdf.Document doc2 = new com.aspose.pdf.Document();
doc2.getPages().add(doc.getPages().get_Item(53));
// html.setSplitIntoPages(true);
doc2.save(“c:/pdftest/cdnp_018932.html”, html);
Same issue. I can view the document correctly in Chrome but I don’t see the background image in IE8.
Hi Rodrigo,
tracking system. We will further look into the details of this problem and will
keep you updated on the status of correction. Please be patient and spare us
little time. We are sorry for this inconvenience.
Hi Rodrigo,
The issues you have found earlier (filed as PDFNEWJAVA-35303) have been fixed in Aspose.Pdf for Java 11.4.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.