Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some urls behind pushbutton are not extracted from the AA dictionary #12475

Closed
calixteman opened this issue Oct 13, 2020 · 3 comments
Closed

Comments

@calixteman
Copy link
Contributor

Steps to reproduce the problem:

  1. Open https://www.guidedesimpots.lu/wp-content/uploads/2019/02/160F-2019.pdf
  2. The links behind FD, FO, DS, ... are not usable

These annotations correspond to a PushButton because their parent is and the action is in the AA dictionary associated to D (MouseDown).
So once #12429 is merged we can easily extract url from the action.
Since for security reasons we won't implement app.launchURL we must handle that stuff in same way as we do for A dict.

@timvandermeij
Copy link
Contributor

This issue is possibly related to #9776.

@calixteman
Copy link
Contributor Author

The issue in #9776 is slightly different since the actions in AA::D are /GoTo and here they're /JavaScript.
But finally thanks to your comment, I think I've a way better (and simpler) patch to handle the different cases.

@timvandermeij
Copy link
Contributor

Fixed by the PR above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants