deezzub wrote:Smart Client, but in Web Client it should also work.
pdf.js is using a HTML5 canvas to draw the pdf.
Because by default Java is not capable of showing this kind of advanced HTML, the smart-client is not able to do this when running with Java 6 .
In that case you need to use the jPedal bean which can preview PDF's.
Smart-clients using Java 7 can benefit of the recently exposed open source module 'svyJFXWebView'. (
viewtopic.php?f=68&t=20132),
but will also be able to use the jPedal bean
In web client it should be possible to use the pdf.js by injecting the code.
The only restriction you'll have is the browser, which should be capable of displaying this kind of HTML5 content.
Using the jPedal bean is not possible here.