When we built our PDF to HTML5 convertor, we tried to make it as ‘agnostic’ as possible and put the HTML5 specific code as low as possible. This means that the HTML5 related items are essentially in 3 Java classes (with most of the logic which does the work being generic). This makes it easier to enhance and maintain the HTML5 and continue to improve the code.
It also means that it would be straight-forward to replace the HTML5 implementations of these classes with something else. So we could build a PDF to SVG convertor, PDF to XML, or even a PDF to Postscript engine (an attractive possibility to to bypass the limitations of Java Printing). We already have one little ‘inhouse project’ (which will appear shortly)….
But what would you like to see? What formats would you most like to turn your PDF files into?
This post is part of our “SVG Article Index” in these articles, we aim to help you build knowledge and understand SVG.