WebPDF.pro
| Developer(s) | PDF.ist |
|---|---|
| Initial release | 1 April 2021[1] |
| Stable release | ♾️
/ 1 November 2021 |
| Written in | JavaScript, CSS, HTML and C++ via WebAssembly |
| Engine | |
| Platform | Web |
| Service name | Web𝗣𝗗𝗙.𝘱𝘳𝘰 |
| Standard(s) | HTML, WebAssembly |
| Type | Web components |
| License | Software as a service
|
| Website | webpdf |
Search WebPDF.pro on Amazon.
WebPDF.pro is a set of commercial web components in the form of HTML custom elements.
The elements can be used for embedding Portable Document Format (PDF) files and pages into HTML documents.
They can be enabled with a single line on any web page:
<script src="https://webpdf.co/<>" type=module></script>
WebPDF.pro is compatible with modern web browsers, including Chrome, Edge, Firefox, Safari[2].
<pdf-file> element
The following code fragment loads a PDF file into an HTML document.
<pdf-file id=f src=https://pdf.ist/form.pdf></pdf-file>
Features[3]
- XML Forms Data Format (XFDF) support
- single-line File System Access
f.open(),f.save(),f.XFDF.open(), …- open, edit and save a file without repeated prompts
- built-in proxy for cross-origin resource sharing (CORS)
- load *.pdf and .*xfdf files from any web origin
<pdf-page> element
The following code fragment embeds an interactive PDF file page into an HTML document.
<pdf-page of=f controls></pdf-page>
Features[4]
- no
<iframe>or light DOM children - annotation layer for links and forms
- text layer for selection and search
- image layer with 3 different renderers[5]
- layer export functions
- keyboard controls
- e.g. Ctrl+C to copy page image to clipboard
Form fill and save example
The elements are designed to minimize the code developers need to write.
<script src="//webpdf.co/<>" type=module></script>
<pdf-file id=f src=//pdf.ist/form.pdf></pdf-file>
<pdf-page of=f svg></pdf-page>
<button onclick=f.save()>Save</button>
All processing takes place solely in the browser; the elements do not upload any files or user input to a server.[3][6]
See also
References
- ↑ "WebPDF.pro announced".
- ↑ "webpdf.browsersupport.page". Unknown parameter
|url-status=ignored (help) - ↑ 3.0 3.1 "Fill Forms with Ease and Privacy". Unknown parameter
|url-status=ignored (help) - ↑ "WebPDF.pro / Docs". Unknown parameter
|url-status=ignored (help) - ↑ "High-fidelity Rendering". Unknown parameter
|url-status=ignored (help) - ↑ "WebPDF.pro / Comparable Features". Unknown parameter
|url-status=ignored (help)
External links
This article "WebPDF.pro" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:WebPDF.pro. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
