84 Commits (84f174bb2f98666e10791663d89150f71b84ede1)

Author SHA1 Message Date
Jonas Jenwald ebaa22478c Replace unnecessary `bind(this)` and `var self = this` statements with arrow functions in remaining `src/core/` files 8 years ago
Jonas Jenwald afc74b0178 Enable the `object-shorthand` ESLint rule in `src/shared` 8 years ago
Tim van der Meij e15a2ec523
Annotations: implement support for line annotations 8 years ago
Jonas Jenwald a39d636eb8 [api-minor] Always allow e.g. rendering to continue even if there are errors, and add a `stopAtErrors` parameter to `getDocument` to opt-out of this behaviour (issue 6342, issue 3795, bug 1130815) 8 years ago
Tim van der Meij 30d63b0c50
Annotations: move container border removal to the display layer 8 years ago
Tim van der Meij 936d3c0698
Widget annotations: do not crash if `Parent` is not a dictionary 8 years ago
Tim van der Meij 0739f90707
Annotations: move operator list addition logic to `src/core/document.js` 8 years ago
Tim van der Meij 8990de8614
Interactive forms: make choice widget options inheritable (issue 8094) 8 years ago
Tim van der Meij 26fc79d51d
Annotations: refactor setting the normal appearance stream 8 years ago
vkuryakov 4e181e59ef Interactive forms: values for radio buttons (issue #6995) 8 years ago
Jonas Jenwald 52e0f51917 Enable the `no-unused-vars` ESLint rule 8 years ago
Jonas Jenwald 642d8621ef Replace direct lookup of `uniquePrefix`/`idCounters`, in `Page` instances, with an `idFactory` containing an `createObjId` method instead 8 years ago
Tim van der Meij a428899b3c Button widget annotations: improve unit tests, simplify code and remove labels 8 years ago
Tim van der Meij 77148c7880 Button widget annotations: implement radio button value fetching according to the specification 8 years ago
benweet ba012c7a68 Button widget annotations: implement checkboxes and radio buttons 8 years ago
Jonas Jenwald bd91f34513 Ensure that we handle indirect objects in all types of `Opt` entries in `ChoiceWidget` annotation dictionaries 8 years ago
Jonas Jenwald ad915f8af1 Fix errors reported by the `comma-spacing` ESLint rule 8 years ago
Tim van der Meij 1d96854019 Widget annotation: implement field name according to the specification 9 years ago
Jonas Jenwald d284cfd5eb [api-minor] Add support for relative URLs, in both annotations and the outline, by adding a `docBaseUrl` parameter to `PDFJS.getDocument` (bug 766086) 9 years ago
Jonas Jenwald e64bc1fd13 Move parsing of destination dictionaries to a helper function 9 years ago
Tim van der Meij d5d9f362aa Choice widget annotations: core and display layer implementation 9 years ago
Tim van der Meij 375229d6b9 Widget annotations: simplify field flag handling 9 years ago
Jonas Jenwald ded01356c7 Pass in the `renderInteractiveForms` parameter to `Annotation_appendToOperatorList`, in `Page_getOperatorList`, instead of to the `Annotation` constructor (PR 7633 follow-up) 9 years ago
Tim van der Meij 6100ab4b18 Text widget annotations: implement comb support 9 years ago
Tim van der Meij dbea302a6e Text widget annotations: do not render on canvas as well 9 years ago
Tim van der Meij adf0972ca5 Text widget annotations: improve unit and reference tests 9 years ago
Tim van der Meij f6965fadc0 Text widget annotations: support multiline and read-only fields 9 years ago
Tim van der Meij 323e86c442 Text widget annotations: implement unit testing and sanitize data values 9 years ago
Tim van der Meij 576f742047 Improve the structure for widget annotations 9 years ago
Jonas Jenwald 78889646c8 Create a fallback annotation `id` for entries in `Annots` dictionaries that are not indirect objects (issue 7569) 9 years ago
Jonas Jenwald 83ce6f0b6d Adjust the (applicable) existing `isName` callsites to use the new `isName(v, name)` version of the function 9 years ago
Jonas Jenwald 558a22cd02 Prevent errors when parsing Annotations with missing (or invalid) /Subtype entries (issue 7446) 9 years ago
Simon Cornelius P. Umacob d872fc90b9 Expose the text widget's maximum length. 9 years ago
Jonas Jenwald 98fe094d18 Let non-viewable Popup Annotations inherit the parent's Annotation Flags if the parent is viewable 9 years ago
Jonas Jenwald b354682dd6 [api-minor] Let `LinkAnnotation`/`PDFLinkService_getDestinationHash` return a stringified version of the destination array for explicit destinations 9 years ago
Jonas Jenwald 6111c17c8a Use `Dict_getArray` in more places in `src/core/` to avoid issues when Arrays contain indirect objects 9 years ago
Jonas Jenwald f3f825cc71 Various improvements for `GoToR` actions 9 years ago
Jonas Jenwald b63ef7a8b6 Refactor `LinkAnnotation` slightly to add `data.url`/`data.dest` at the end 9 years ago
Jonas Jenwald 13d7a5070e Prevent failures in the Annotation code if the `Rect` array contains indirect objects (issue 7115) 9 years ago
Tim van der Meij ad31e52a26 Group popup creation code and apply it to more annotation types 9 years ago
Tim van der Meij 6a33dfd13a Implement support for FileAttachment annotations 9 years ago
Xiliang Chen 6762ff2fd6 don't render highlight/underline/squiggly/strikeout annotations that doesn't have popup 9 years ago
Xiliang Chen 266cedd960 always expose data.title and data.content 9 years ago
Xiliang Chen e42da0f5e9 move hasHtml to AnnotationElement 9 years ago
Tim van der Meij 6ef7120a04 Implement support for Highlight annotations 9 years ago
Tim van der Meij 34918a6666 Implement support for Squiggly annotations 9 years ago
Tim van der Meij c5f4b9750e Implement support for StrikeOut annotations 9 years ago
Tim van der Meij cd28dd34fe Implement support for Underline annotations 9 years ago
Tim van der Meij 7d43971f54 Implement support for Popup annotations 9 years ago
Tim van der Meij df81b832bb Remove unused variables 9 years ago