Skip to content

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

Merged
reknih merged 8 commits into
typst:mainfrom
tingerrr:trigger-events
Oct 19, 2023
Merged

reknih merged 8 commits into
typst:mainfrom
tingerrr:trigger-events

Conversation

@tingerrr

@tingerrr tingerrr commented Oct 17, 2023 •

Copy link
Copy Markdown
Contributor

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.

Comment thread src/actions.rs Resolved
@tingerrr
tingerrr marked this pull request as ready for review October 17, 2023 18:59
Comment thread src/actions.rs Resolved
Comment thread src/actions.rs Resolved
Comment thread src/actions.rs Resolved
Comment thread src/actions.rs Resolved
Comment thread src/actions.rs Resolved
Comment thread src/actions.rs Resolved
@reknih
reknih merged commit 5d224b4 into typst:main Oct 19, 2023
@reknih

reknih commented Oct 19, 2023

Copy link
Copy Markdown
Member

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