Skip to content

Conversation

@imclean557
Copy link

Add read only option for merging and setting the value of a field.

@imclean557 imclean557 mentioned this pull request Jun 5, 2020
@imclean557
Copy link
Author

Example usage in a Drupal module: https://www.drupal.org/project/fillpdf_fpdm/issues/3146452

@imclean557
Copy link
Author

Related issue: #2

@imclean557
Copy link
Author

This is very minor yet very useful addition. Is there anything else which needs to be done to get this in?

@imclean557
Copy link
Author

There's a problem. This overwrites all other /Ff flags with the read only flag. Removing multiline, scrolling line etc.

See; https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_archives/PDFReference.pdf

What should happen is fpdm should read the current /Ff flags for a field and add this to it for read only.

@imclean557
Copy link
Author

It might be better to have an option to set all /Ff flags directly so we can decide on a field by field basis.

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.

1 participant