Code Monkey home page Code Monkey logo

collective.pdfjs's Introduction

collective.pdfjs - Plone integration for Mozilla's JavaScript PDF reader

Rigel Di Scala <[email protected]>

Introduction

This product adds pdf.js support for Plone.

Pdf.js is a JavaScript library for rendering PDF documents in the canvas, without using external plugins; only JavaScript is needed.

This product will make the JavaScript library available as a resource, and add a new view for the File content type.

Please note that pdf.js is still under heavy development; as such:

  • a modern browser is required;
  • not all PDFs may be rendered correctly, or at all;

Installation

Use Buildout. Take a look at docs/INSTALL.txt

Usage

If the view detects a PDF file, it will attempt to render it inline using pdf.js. If the user browser doesn't have JavaScript enabled, it will embed any available PDF reader plugin (Acrobat's, Google Chrome native, etc) instead.

Additional information

Currently, the whole document is downloaded and each oage rendered incrementally inside the canvas. This means that big files on slow connections will take a while before displaying; you might want to switch to the standard view in this case.

Contact

Rigel Di Scala <[email protected]> http://github.com/zedr

collective.pdfjs's People

Contributors

zedr avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.