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

Keep form items editable. #21

Open
elebumm opened this issue Oct 18, 2020 · 1 comment
Open

Keep form items editable. #21

elebumm opened this issue Oct 18, 2020 · 1 comment

Comments

@elebumm
Copy link

elebumm commented Oct 18, 2020

Great package.

I am wondering if there is a way we can keep the fields editable after the output happens.

Right now, the PDF will save but when opening using Adobe Acrobat, you are unable to change the values that are in the PDF.

Is this something that can be done?

@elebumm
Copy link
Author

elebumm commented Oct 18, 2020

After doing some research, I found that pdftk uses the flatten argument to make it non editable.

This line here is what causes it to flatten. I have forked this repo and have removed this argument and it gives me my desired functionality.

Would be an interesting feature to have an argument where we can specify if we want it "flattened" or not.

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