pdf.js/src/display
Jonas Jenwald 7f40ef41a5 Simplify the "fileattachmentannotation"-event handling a little bit
*This patch can be tested, in the viewer, using the `annotation-fileattachment.pdf` document from the test-suite.*

Note how the `FileSpec`-implementation already uses `stringToPDFString` during the filename lookup, see cfac6fa511/src/core/file_spec.js (L70)
Hence there's no reason to repeat that again in the `FileAttachmentAnnotationElement`-constructor, and we can thus simplify the "fileattachmentannotation"-event handling a little bit.
2022-05-06 20:55:18 +02:00
..
annotation_layer.js Simplify the "fileattachmentannotation"-event handling a little bit 2022-05-06 20:55:18 +02:00
annotation_storage.js Replace the AnnotationStorage.lastModified-getter with a proper hash-method 2022-05-04 15:21:30 +02:00
api.js Merge pull request #14874 from calixteman/colors 2022-05-05 21:48:19 +02:00
base_factory.js Update TypeScript to version 4.6.2 and work-around stricter type checks 2022-03-07 11:55:17 +01:00
canvas.js [api-minor] Improve pdf reading in high contrast mode 2022-05-05 16:34:51 +02: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 Update TypeScript to version 4.6.2 and work-around stricter type checks 2022-03-07 11:55:17 +01:00
fetch_stream.js Fix handling of fetch errors 2021-08-30 12:43:28 +01:00
font_loader.js Re-factor the isLittleEndian/isEvalSupported caching 2022-04-05 16:01:01 +02: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 Implement PDFNetworkStreamRangeRequestReader._onError, to handle range request errors with XMLHttpRequest (issue 9883) 2021-08-31 10:23:57 +02:00
node_stream.js Account for formatting changes in Prettier version 2.3.0 2021-05-16 11:44:05 +02: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 Treat all content as visible when no optional content groups are defined (issue 13971) 2021-09-04 08:13:37 +02:00
pattern_helper.js Use Path2D, if available, when rendering Type3-fonts (bug 810214) 2022-05-01 13:56:35 +02:00
svg.js Remove the isNum helper function 2022-02-22 11:55:34 +01:00
text_layer.js Change the type of the container property, in the TextLayerRenderParameters typedef (issue 14716) 2022-03-24 22:42:37 +01:00
transport_stream.js Clear some Arrays, rather than re-initialize them, in src/display/-code 2021-04-24 13:00:53 +02:00
worker_options.js Use typedef to define the type of GlobalWorkerOptions. 2020-08-03 19:06:28 +09:00
xfa_layer.js Remove the addLinkAttributes warnings in the Annotation/XFA-layers (PR 14092 follow-up) 2022-03-13 11:38:56 +01:00
xfa_text.js XFA - Support text search in XFA documents. 2021-08-23 08:44:20 -07:00