UAIP Yet Another PDF Editor

外掛說明

UAIP Yet Another PDF Editor puts a PDF viewer and editor on your pages. Visitors can read a PDF, mark it up, sign it or fill it in, and download their own copy, all in the browser. Every feature is free: there is no premium version, no locked settings and no upgrade notices.

Annotate and sign

  • Highlight text in five colours.
  • Draw freehand, in five colours and three sizes.
  • Add text boxes and images.
  • Sign: draw a signature with mouse, finger or pen, or type your name. Place, move and resize it anywhere on the page.
  • Undo, redo and delete.
  • Download saves everything into the visitor’s copy of the PDF. Nothing is uploaded to your site, so there is no personal data to store.
  • Turn it off site-wide or per block if you only want a viewer.

Viewer

  • Continuous scrolling with page numbers you can type in.
  • Search inside the document, with all matches highlighted.
  • Clickable links and a table of contents (outline).
  • Thumbnails sidebar.
  • Zoom: automatic, page width, page fit, actual size and percentages.
  • Download, print and full screen buttons (each can be turned off).
  • Text selection and copy.
  • Visitors can fill in PDF forms and download the completed copy.
  • Password-protected PDFs ask the visitor for the password.
  • Keyboard shortcuts and screen-reader labels; works with keyboard only.
  • Light, dark or automatic colours.

Fast pages

  • Nothing loads on pages without a PDF.
  • The viewer loads only when it scrolls into view, or when the visitor clicks “Load PDF” if you prefer.
  • No jQuery. PDFs are read straight from your Media Library, so large files load page by page.
  • Built on a current release of pdf.js (Mozilla’s PDF engine), which never runs JavaScript from inside a PDF.

Easy to use

  • PDF Viewer block: upload or pick a PDF, then set the height, start page, zoom and toolbar buttons per block. The editor shows a live preview.
  • Shortcode: [yape_pdf id="123"] for classic content, widgets and page builders.
  • Turn a File block that links to a PDF into a PDF Viewer block in one click.

Coming next

Page tools (rotate, reorder, delete, merge, redact) in the Media Library, and sending completed forms and signed PDFs to the site. All free.

Third-party components

  • pdf.js, Copyright Mozilla Foundation, Apache License 2.0 (build/pdfjs/LICENSE).
  • Standard fonts bundled with pdf.js: Foxit fonts (BSD-style, build/pdfjs/standard_fonts/LICENSE_FOXIT) and Liberation fonts (SIL Open Font License 1.1, build/pdfjs/standard_fonts/LICENSE_LIBERATION).
  • Image decoders bundled with pdf.js: OpenJPEG (BSD 2-Clause), QCMS (MIT) and the PDFium JBIG2 decoder (BSD 3-Clause). Licenses are in build/pdfjs/wasm/.

Source code, including the unminified viewer and build scripts: https://github.com/uaip-dev/yape-wordpress

螢幕擷圖

適用於區塊編輯器

這個外掛提供 1 個可供區塊編輯器使用的區塊。

  • PDF Viewer Embed a PDF that visitors can read, search, annotate, fill in and sign.

安裝方式

  1. Install the plugin from Plugins > Add New, or upload the zip file.
  2. Activate it.
  3. Add a PDF Viewer block to a post or page and choose a PDF.
  4. Optional: set site-wide defaults in Settings > PDF Viewer.

常見問題集

Is there a premium version?

No. Everything is free.

Which shortcode options are there?

[yape_pdf id=”123″ height=”80vh” page=”2″ zoom=”page-width” download=”no” print=”no” search=”yes” sidebar=”yes” fullscreen=”yes” annotate=”no” thumbnails=”open” load=”click” toolbar=”none” title=”Annual report”]

Use id for a PDF from the Media Library, or url for a PDF at another address. width limits the viewer’s maximum width.

Can I show a PDF from another website?

Yes, with url, as long as that website allows cross-origin requests (CORS). Otherwise browsers block it. Uploading the PDF to your Media Library always works.

Does it stop people from downloading my PDF?

You can hide the download and print buttons. A PDF shown in a browser can still be saved by a determined visitor, so do not rely on this to protect confidential files.

Are signatures legally binding?

The signature is a picture of a handwritten or typed signature placed on the PDF, like signing a printed page. It is not a cryptographic digital signature (certificate). Whether that is enough depends on your use and your local laws.

Where are annotations and signatures stored?

Only in the visitor’s browser until they download the PDF. Nothing is sent to your site or anywhere else.

Does the plugin contact external services?

No. All files are served from your own site.

Does it work with security plugins and firewalls?

Yes. The viewer loads PDFs and its own files directly from your site and does not send PDF addresses in request parameters, so firewall rules that block URLs in query strings are not triggered.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈UAIP Yet Another PDF Editor〉的開發相關工作。

參與者

將〈UAIP Yet Another PDF Editor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

0.1.0

  • First release: PDF Viewer block, [yape_pdf] shortcode, search, thumbnails, outline, links, zoom, download, print, full screen, form filling, annotate (highlight, draw, text, images) and sign, password-protected PDFs, lazy loading.