I've been at it for quite some time and all i could uncover was this pdf2dom parser and probably a reverse engineered version of this. Anyway, here are my questions. For any rendering engine its input should be a stream of data (in my case the pdf content) and its output should be a chosen format (in my case DOM, HTML & CSS).
However, instead of using java or c++, is it possible that i get the stream of "pdf data" (which is something i have no idea about) from the server and store into a javascript variable and use javascript to render it and append it to the DOM?
How does the raw "pdf data" appear (is there any particular format.. etc)?
All inputs are welcome.
NOTE : Should be IE compatible.
It's been done already. The result is pdf.js. Note that it's working by rendering the PDF onto a canvas. The result can be guaranteed that way; some features of PDF wouldn't be possible outside the canvas currently.