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

Feature: Trigger events (PDF 1.7 Section 12.6.3) #21

Merged
merged 8 commits into from
Oct 19, 2023

Conversation

tingerrr
Copy link
Contributor

@tingerrr tingerrr commented Oct 17, 2023

This PR adds the writers and types for writing additional action dictionaries used for various trigger events. This PR also extends existing writers and types to support interactive form related actions.

As noted in #20, /AA was added to the writers which expose it according to PDF 1.7.

The /K, /F, /v and /C attributes were left out as they are part of form fields and will be added alongside those. Since I'm adding submit form actions and others I may as well add these too.

src/actions.rs Outdated Show resolved Hide resolved
@tingerrr tingerrr marked this pull request as ready for review October 17, 2023 18:59
src/actions.rs Outdated Show resolved Hide resolved
src/actions.rs Outdated Show resolved Hide resolved
src/actions.rs Show resolved Hide resolved
src/actions.rs Outdated Show resolved Hide resolved
src/actions.rs Outdated Show resolved Hide resolved
src/actions.rs Show resolved Hide resolved
@reknih reknih merged commit 5d224b4 into typst:main Oct 19, 2023
1 check passed
@reknih
Copy link
Member

reknih commented Oct 19, 2023

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants