fpdm icon indicating copy to clipboard operation
fpdm copied to clipboard

Add read only option

Open imclean557 opened this issue 4 years ago • 5 comments

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

imclean557 avatar Jun 05 '20 03:06 imclean557

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

imclean557 avatar Jun 05 '20 04:06 imclean557

Related issue: #2

imclean557 avatar Jun 05 '20 05:06 imclean557

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

imclean557 avatar Oct 28 '20 00:10 imclean557

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 avatar Nov 10 '20 23:11 imclean557

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

imclean557 avatar Nov 11 '20 01:11 imclean557