[Feature Request]: Remove read-only properties of form fields
Feature Description
The tool should remove the read-only properties of form fields. It should handle AcroForm /Ff flags, /Lock tags, XFA Forms and other methods of making a field read only. If not possible, preferably prioritized in the order stated.
Why is this feature valuable?
Sometimes you get a PDF back from someone where all form fields are suddenly not editable anymore. This is often due to a read-only property set on those fields. With a quick edit in the case of /Ff flags or other locking methods, this can be solved.
Suggested Implementation
AcroForm /Ff Flag (Bit 0)
Binary 000000000000000000000001 (Decimal 1) = Read-Only. Fix: Clear Bit 0 (decrease Ff flag value by 1 if final bit is set).
/Lock Dictionary Remove /Lock entries
XFA Form Lock Change access field from readonly
And other specific read only implementations if possible.
Additional Information
I would have liked to add this myself but I couldn't find any way to contribute other than opening an issue. Also, as specified it would remove all locks from all fields since that's the simplest possible implementation. However, it would be useful to extract and provide a list of all form fields and allow the user to select what fields should be removed. Even more so, if the feature is built in a modular way, more field edit options could be added (i.e. tables 221, 226, 228 and 230 of the 2008 pdf spec https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf).
No Duplicate of the Feature
- [x] I have verified that there are no existing features requests similar to my request.
Hello @MKirafi @Frooodle ! This would be very useful. I would love to work on this if you find it appropriate, but let me ask, should this be a whole new tool under View/Edit, or should this be an added feature to an existing tool? Thank you :)
Would love to have this added to the application. I would have a use-case for it right now. @MariaLaranjeira I'd be able to offer my help on your issue, if @Frooodle or @MKirafi end up assigning it to you :)
@MariaLaranjeira Sorry must have missed your comment! I think it should exist under another tool but we don't currently have that tool! (add/edit form fields) So in meantime I think having it under view/edit seems fine to me!
No problem! Well, i believe i could create a tool for that in the View/Edit category, can i be assigned? @Frooodle
Hello @MKirafi @Frooodle ! This would be very useful. I would love to work on this if you find it appropriate, but let me ask, should this be a whole new tool under View/Edit, or should this be an added feature to an existing tool? Thank you :)
Apologies for the late reply but good to see it's moving forward :) For what it's worth, I think it would make sense to place it under View/Edit.