PdfViewer - Vaadin Add-on Directory
PdfViewerWrapper 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)