PDF to HTML5 conversion – Single page output mode

I am excited about the new feature I have been adding to our PDF to HTML5 Converter. Single page output, as the name suggests all the pages in the PDF files gets printed out on the same page in the HTML output.

This has been requested by a few customers as it shows all the contents of the PDF on a single HTML page with ease as opposed to the usual PDF page to a HTML page. We understand that this feature would not be used by everyone which is why it has been disabled by default. However, it can easily be enabled by a flag within the code.

Below is a screenshot(the pages has been zoomed out so multiple pages can be seen).

This feature is disable by default. In our example code you can enable it with this line of code

/**
* keep all content on same page
*/HTMLoutput.setBooleanValue(HTMLDisplay.SingleFileOutput, true);

Are there any features you would like to see in the PDF to HTML convertor?

This post is part of our “HTML5 Article index” in these articles, we aim to help you understand the world of HTML5.

Related Posts:

The following two tabs change content below.
Chika has written much of the JavaFX converter and also helps with the HTML5 converter. When not experimenting with the new features of JavaFX, he is a keen basketball player (he is the tall guy you might see at Devoxx).
Chika Okereke

About Chika Okereke

Chika has written much of the JavaFX converter and also helps with the HTML5 converter. When not experimenting with the new features of JavaFX, he is a keen basketball player (he is the tall guy you might see at Devoxx).

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>