Open czcpf opened 2 years ago
Never heard about readonly attributes. Is this a PDF feature? And does any pdftk version support it? Note that this library is just a PHP wrapper around pdftk. So you should first check there for missing features.
https://helpx.adobe.com/acrobat/using/pdf-form-field-properties.html
They are just simple properties you add to the xml field node for xfdf and for fdf there is a different syntax.
For xfdf, see for example page 54 “flags”
https://www.immagic.com/eLibrary/ARCHIVES/TECH/ADOBE/A070914X.pdf
On Sep 2, 2022, at 12:59 AM, Michael Härtl @.***> wrote:
Never heard about readonly attributes. Is this a PDF feature? And does any pdftk version support it? Note that this library is just a PHP wrapper around pdftk. So you should first check there for missing features.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Hmm, so how would a XFDF file look with these attributes? Our XfdfFile
class right now only deals with form data and the generated XML looks like this:
https://github.com/mikehaertl/php-pdftk/blob/master/tests/files/XfdfFileTest.xfdf
If you have XFDF with flags, did you test if pdftk can process it?
@czcpf Where you able to test it?
I’m sorry I have not had time. I do think it would be a great feature and I will test soon.
On Sep 7, 2022, at 6:16 AM, Michael Härtl @.***> wrote:
@czcpf Where you able to test it?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Hello, Is it possible to add a readOnly attribute when using fillForm Method? If there is some other way please advise.