pdf.js/src/display
Jonas Jenwald 7976fc7851 [api-minor] Deprecate calling getDocument directly with a PDFDataRangeTransport-instance
In general it's recommended to pass a *parameter object* when calling the `getDocument`-function in the API, since that's the only way to provide additional options, and the fact that it also accepts a URL or TypedArray directly is now mostly for backwards compatibility reasons.
However, the `getDocument`-function also accepts a direct `PDFDataRangeTransport`-instance which just seems unnecessary.

*Please note:* The `PDFDataRangeTransport`-implementation was added specifically for the *built-in* Firefox PDF Viewer, however it's most likely not commonly used by any third-party (given that it requires manual PDF-data loading).
Furthermore, the default-viewer always provides a *parameter object* when calling the `getDocument`-function and it's thus completely unaffected by these changes.
2023-01-19 14:25:55 +01:00
..
editor [Editor] Avoid to scroll when an annotation is commited (fixes issue #15744) 2022-12-17 13:48:19 +01:00
annotation_layer.js Handle possibly undefined parameters *once* per AnnotationLayer.render invocation 2022-12-14 12:23:24 +01:00
annotation_storage.js Use actually private fields in the AnnotationStorage class 2022-11-11 12:30:02 +01:00
api.js [api-minor] Deprecate calling getDocument directly with a PDFDataRangeTransport-instance 2023-01-19 14:25:55 +01:00
base_factory.js Get rid of CSS transform on each annotation in the annotation layer 2022-06-18 17:54:59 +02:00
canvas.js Enable the no-typeof-undefined ESLint plugin rule 2022-12-01 18:20:39 +01:00
content_disposition.js Remove the UTF-8 fallback, when TextDecoder is missing, from the Content-Disposition parser 2022-02-12 10:30:25 +01:00
display_utils.js [api-minor] Allow specifying an extra-delay, in RenderTask.cancel, for worker-thread aborting of operatorList parsing 2022-12-14 12:34:16 +01:00
fetch_stream.js [api-minor] Enabling transferring of data fetched with the PDFFetchStream implementation 2023-01-12 13:59:21 +01:00
font_loader.js [api-minor] Limit the PDFDocumentLoadingTask.onUnsupportedFeature functionality to GENERIC builds (PR 15758 follow-up) 2023-01-01 17:53:12 +01:00
metadata.js Convert Metadata to use private class fields 2021-10-22 22:01:19 +02:00
network_utils.js Slightly improve validation of (some) parameters in getDocument 2022-03-21 13:32:17 +01:00
network.js [api-minor] Enabling transferring of data fetched with the PDFFetchStream implementation 2023-01-12 13:59:21 +01:00
node_stream.js Enable the no-typeof-undefined ESLint plugin rule 2022-12-01 18:20:39 +01:00
node_utils.js Only bundle the src/display/node_utils.js file in GENERIC-builds 2022-05-03 11:34:35 +02:00
optional_content_config.js [api-minor] Add basic support for the SetOCGState action (issue 15372) 2022-09-01 17:34:24 +02:00
pattern_helper.js Revert "Avoid all rendering breaking completely when CanvasPattern.setTransform() is unsupported" (PR 13725 follow-up) 2022-10-22 10:58:51 +02:00
svg.js [api-minor] Make isOffscreenCanvasSupported configurable via the API (issue 14952) 2022-10-07 00:10:46 +02:00
text_layer.js [api-minor] Add a new PageViewport-getter to access the original, un-scaled, viewport dimensions 2022-12-11 18:37:35 +01:00
transport_stream.js [api-minor] Enable transferring of TypedArray PDF data by default (PR 15908 follow-up) 2023-01-14 10:39:36 +01:00
worker_options.js Use typedef to define the type of GlobalWorkerOptions. 2020-08-03 19:06:28 +09:00
xfa_layer.js Replace element ids with custom attributes in the xfaLayer 2022-07-10 15:44:54 +02:00
xfa_text.js XFA - Support text search in XFA documents. 2021-08-23 08:44:20 -07:00