Tim van der Meij
fc5810c97a
Merge pull request #8144 from timvandermeij/issue-8143
...
Widget annotations: do not crash if `Parent` is not a dictionary during field name construction (issue 8143)
2017-03-10 00:40:13 +01:00
Tim van der Meij
936d3c0698
Widget annotations: do not crash if Parent
is not a dictionary
...
during field name construction (issue 8143)
2017-03-09 23:51:52 +01:00
Jonas Jenwald
9163a6fba4
Merge pull request #8112 from Snuffleupagus/JS-action-newWindow
...
Support the `newWindow` flag in white-listed `app.launchURL` JavaScript actions (PR 7794 follow-up)
2017-03-01 21:24:34 +01:00
Jonas Jenwald
2a7e5b8a54
Support the newWindow
flag in white-listed app.launchURL
JavaScript actions (PR 7794 follow-up)
...
A simple follow-up to PR 7794, which let's us add support for the `newWindow` parameter; refer to https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf#G5.1507380 .
The patch also fixes an embarrassing oversight regarding the placement of the case-insensitive flag, and also allows arbitrary white-space at the beginning of JS actions.
2017-02-27 15:58:28 +01:00
Tim van der Meij
8990de8614
Interactive forms: make choice widget options inheritable (issue 8094)
...
Even though the PDF specification does not state that `Opt` fields are
inheritable, in practice there are PDF generators that let annotations
inherit the options from a parent.
2017-02-25 23:34:26 +01:00
Tim van der Meij
9f05a5a211
Interactive forms: unit test for radio buttons without a field value
2017-02-07 23:44:31 +01:00
Jonas Jenwald
e88c9c75db
Simplify the FileAttachmentAnnotation
unit-test to avoid having to use the entire API in the test
...
Every other unit-test in `annotation_spec.js` is already only testing the annotation code. Hence it seems unnecessarily convoluted to make use of the API here, when we can (fairly) simply provide the necessary data explicitly as in all the other annotation unit-test.
2017-01-12 19:10:37 +01:00
Jonas Jenwald
7c3a63bae0
Rename annotation_layer_spec.js
to annotation_spec.js
since the unit-tests only cover src/core/annotation.js
functionality
2017-01-12 19:08:57 +01:00