pdf-browser - Vaadin Add-on Directory
Renders a PDF using the browser's native viewer.Vaadin 10 Java integration of the <pdf-browser-viewer> web component (https://github.com/IngressoRapidoWebComponents/pdf-browser-viewer).
Usage
======
```
StreamResource streamResource = new StreamResource(
"report.pdf", () -> getClass().getResourceAsStream("/report.pdf")); // file in src/main/resources/
PdfBrowserViewer viewer = new PdfBrowserViewer(streamResource);
viewer.setHeight("100%");
layout.add(viewer);
```
Author HomepageOriginal
Source code
pdf-browser version 1.0.0-alpha
pdf-browser version 1.0.0-alpha1
Fixed width and height setting.
pdf-browser version 2.0.0
Updated to Vaadin 14.0.2 (compatibility mode)
pdf-browser version 3.0.0
Supports Vaadin 14
pdf-browser version 3.0.1
Fixes #8 Problem with @lrnwebcomponents/pdf-browser-viewer version.
Updates to Vaadin 14.3.4.
pdf-browser version 3.1.0
Updated to lrnwebcomponents/pdf-browser-viewer 2.7.10 and Vaadin 14.5.3.
pdf-browser version 3.2.0
Upgrades to Vaadin 23.2.3.
Fixes #12 - Reduce dependencies (thanks for your contribution Gregor Dschung!)