[ 
https://jira.nuxeo.com/browse/NXP-8108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=107613#comment-107613
 ] 

Olivier Grisel commented on NXP-8108:
-------------------------------------

Integration is pretty easy just create a canvas object and ask pdj.js to render 
PDF file fetched from an URL into it, see the following example:

  https://github.com/mozilla/pdf.js/blob/master/examples/helloworld/hello.js

> Make it possible to use pdf.js in-browser PDF previsualization for instead of 
> the current HTML converters
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: NXP-8108
>                 URL: https://jira.nuxeo.com/browse/NXP-8108
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>    Affects Versions: 5.4.2
>            Reporter: Olivier Grisel
>            Priority: Major
>             Fix For: 5.5.x
>
>
> Mozilla is working on a in-browser javascript rendering of PDF documents:
>   http://mozilla.github.com/pdf.js/
> Demo here:
>   http://mozilla.github.com/pdf.js/web/viewer.html
> Combined with the ability of OpenOffice to generate good quality preview of 
> most office files this could be very useful to generate better rendering of 
> in-browser previews of office files in Nuxeo (instead of the current bad 
> quality HTML preview) without having to install any kind of browser plugin.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to