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

Todo: Support Form-filling #7

Open
dwarring opened this issue Apr 10, 2020 · 1 comment
Open

Todo: Support Form-filling #7

dwarring opened this issue Apr 10, 2020 · 1 comment

Comments

@dwarring
Copy link
Contributor

dwarring commented Apr 10, 2020

After some experimentation, setting the form value is not enough to enter a displayable value (Acrobat Reader). Displays OK on Xpdf, Evince, but AR needs an Appearance. Perl 5 CAM PDF's CAM::PDF.fillFormFields() can be used as a reference implementation for this feature.

@dwarring dwarring changed the title Form filling is incomplete. Todo: Support Form-filling Apr 10, 2020
@dwarring
Copy link
Contributor Author

If PDF form fields are appropriately structured and to spec, it's not necessary to rebuild the forms appearance (/AP entry), but some aren't. Considering something like:

$form.value(:reformat) = $v

The form appearance will be rebuilt, but current form is lost. Can be used to fix up dodgy forms.

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

No branches or pull requests

1 participant