PdfViewer
Wrapper for http://mozilla.github.io/pdf.js/
-Addon works on client side.
-Display file only with .pdf (pdf) format
-Supports multipage
-drag mode
-Provide only display mode (pdf as img)
-based on script http://mozilla.github.io/pdf.js/ -dragandscroll http://github.com/asvd/intence
Simple usage
PdfViewer c = new PdfViewer(file);
layout.addComponent(c);
Additional method
setPage(int i)
setPreviousPageCaption(String htmlCaption)
setNextPageCaption(String htmlCaption)
setPageCaption(String htmlCaption)
setToPageCaption(String htmlCaption)
setIncreaseButtonCaption(String htmlCaption)
setDecreaseButtonCaption(String htmlCaption)
setNextAngleButtonCaption(String htmlCaption)
setBackAngleButtonCaption(String htmlCaption)
setPrintButtonCaption(String htmlCaption)
setDownloadButtonCaption(String htmlCaption)
setAngleButtonVisible(boolean visible)
setDownloadBtnVisible(boolean visible)
Install
Framework Support
Install with
Release notes - Version 1.3.6
add page change listener, angle change listener, download listener fix bug #8