pdf.js/extensions/chromium
Jonas Jenwald 41efa3c071 [api-minor] Introduce a new annotationMode-option, in PDFPageProxy.{render, getOperatorList}
*This is a follow-up to PRs 13867 and 13899.*

This patch is tagged `api-minor` for the following reasons:
 - It replaces the `renderInteractiveForms`/`includeAnnotationStorage`-options, in the `PDFPageProxy.render`-method, with the single `annotationMode`-option that controls which annotations are being rendered and how. Note that the old options were mutually exclusive, and setting both to `true` would result in undefined behaviour.

 - For improved consistency in the API, the `annotationMode`-option will also work together with the `PDFPageProxy.getOperatorList`-method.

 - It's now also possible to disable *all* annotation rendering in both the API and the Viewer, since the other changes meant that this could now be supported with a single added line on the worker-thread[1]; fixes 7282.

---
[1] Please note that in order to simplify the overall implementation, we'll purposely only support disabling of *all* annotations and that the option is being shared between the API and the Viewer. For any more "specialized" use-cases, where e.g. only some annotation-types are being rendered and/or the API and Viewer render different sets of annotations, that'll have to be handled in third-party implementations/forks of the PDF.js code-base.
2021-08-24 01:13:02 +02:00
..
options Enable the ESLint object-shorthand rule in the extensions/chromium/-folder 2021-08-22 12:33:02 +02:00
pageAction Enable the ESLint object-shorthand rule in the extensions/chromium/-folder 2021-08-22 12:33:02 +02:00
.eslintrc Enable the ESLint object-shorthand rule in the extensions/chromium/-folder 2021-08-22 12:33:02 +02:00
.gitignore Renaming of extensions/chrome folder to extensions/chromium, and small tweak to manifest.json description as per #3600 2013-08-21 18:11:35 +02:00
contentscript.js Replace non-inclusive "whitelist" term with "allowlist" 2020-06-29 17:15:14 +02:00
contentstyle.css Re-format all web/*.css files using Stylelint/Prettier 2020-08-30 21:49:08 +02:00
extension-router.js Replace non-inclusive "whitelist" term with "allowlist" 2020-06-29 17:15:14 +02:00
icon16.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon19.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon38.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon48.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon128.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
manifest.json [CRX] Recognize blob and data-URLs in the router 2017-02-04 01:20:17 +01:00
pdfHandler-vcros.js Enable the ESLint object-shorthand rule in the extensions/chromium/-folder 2021-08-22 12:33:02 +02:00
pdfHandler.html [CRX] Remove feature-detect.js 2018-01-26 15:54:35 +01:00
pdfHandler.js Enable the ESLint object-shorthand rule in the extensions/chromium/-folder 2021-08-22 12:33:02 +02:00
preferences_schema.json [api-minor] Introduce a new annotationMode-option, in PDFPageProxy.{render, getOperatorList} 2021-08-24 01:13:02 +02:00
preserve-referer.js Enable the ESLint object-shorthand rule in the extensions/chromium/-folder 2021-08-22 12:33:02 +02:00
restoretab.html Restore extension tab after reload 2015-08-14 19:00:12 +02:00
restoretab.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
suppress-update.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
telemetry.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00