LuZhiquan / ext_ux_pdf_panel

A PDF Viewer Panel for ExtJS 4.1 - No Browser Plugin required, pure JavaScript.

Home Page:https://market.sencha.com/users/118/extensions/153

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ext.ux.panel.PDF

A PDF Viewer Panel for the ExtJS 4.1 Framework - No Browser Plugin required, pure JavaScript. PDF Rendering is done using the great Mozilla PDF.js Library (https://github.com/mozilla/pdf.js).

Usage

Ext.create('Ext.ux.panel.PDF', {
    title    : 'PDF Panel',
    width    : 489,
    height   : 633,
    pageScale: 0.75,                                           // Initial scaling of the PDF. 1 = 100%
    src      : 'http://cdn.mozilla.net/pdfjs/tracemonkey.pdf', // URL to the PDF - Same Domain or Server with CORS Support
    renderTo : Ext.getBody()
});

Demo

For an demo, please visit http://SunboX.github.com/ext_ux_pdf_panel/demo/

About

A PDF Viewer Panel for ExtJS 4.1 - No Browser Plugin required, pure JavaScript.

https://market.sencha.com/users/118/extensions/153

License:MIT License


Languages

Language:JavaScript 85.9%Language:Java 14.0%Language:HTML 0.1%Language:CSS 0.0%