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

Add support for /Print and /SaveAs named actions in the viewer (issue 12308) #12310

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Sep 1, 2020

All of the core/display functionality needed to support this already exists, we simply need to handle these named actions in the viewer and the buttons will "just" work.

Unfortunately there's not really any good way of (automatically) testing this, but given the size and scope of the patch that's hopefully OK.

Fixes #12308

@pdfjsbot
Copy link

pdfjsbot commented Sep 1, 2020

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/3ca2278190ab169/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 1, 2020

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/3ca2278190ab169/output.txt

Total script time: 3.40 mins

Published

… 12308)

All of the core/display functionality needed to support this already exists, we simply need to handle these named actions in the viewer and the buttons will "just" work.

Unfortunately there's not really any good way of testing this, but given the size and scope of the patch that's hopefully OK.
@pdfjsbot
Copy link

pdfjsbot commented Sep 1, 2020

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/9daf79752118f1f/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 1, 2020

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/9daf79752118f1f/output.txt

Total script time: 3.42 mins

Published

@timvandermeij timvandermeij merged commit ed9ea8f into mozilla:master Sep 1, 2020
@timvandermeij
Copy link
Contributor

Works nicely; thanks!

@Snuffleupagus Snuffleupagus deleted the issue-12308 branch September 1, 2020 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PDF - button(s) from in-page forms don't trigger actions
3 participants