mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-09-12 19:58:21 +02:00
Remove read only from forms (#3423)
# Description of Changes Create new tool to remove read-only properties of form fields. - Added new html file to provide a page for the tool (misc/unlock-pdf-forms.html), as well as new endpoint (/unlock-pdf-forms) under config/EndpointConfiguration.java - Added the tool to the list of "view & edit" tools under the home page in home-legacy.html and navElements.html - Mapped the frontend in controller/web/OtherWebController.java - Created a new controller (controller/api/misc/UnlockPDFFormsController.java) to handle AcroForm /Ff flags, /Lock tags and XFA Forms, removing the read-only properties of all form fields of a PDF document. - Added language entries to all the language files, to correctly display the tool's title, header,description, etc. Closes #2965 --- ## Checklist ### General - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [x] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes - [x] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)    ### Testing (if applicable) - [x] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details. --------- Co-authored-by: Anthony Stirling <[email protected]>
This commit is contained in:
co-authored by
Anthony Stirling
parent
9635e573d8
commit
715445a8dd
@@ -364,6 +364,9 @@ home.compressPdfs.title=Comprimir
|
||||
home.compressPdfs.desc=Comprimir PDFs para reduzir o seu tamanho.
|
||||
compressPdfs.tags=comprimir,pequeno,minúsculo
|
||||
|
||||
home.unlockPDFForms.title=Desbloquear Formulários do PDF
|
||||
home.unlockPDFForms.desc=Remover propriedades de apenas leitura dos formulários de um PDF
|
||||
unlockPDFForms.tags=remover,apagar,formulário,campo,apenas leitura
|
||||
|
||||
home.changeMetadata.title=Alterar Metadados
|
||||
home.changeMetadata.desc=Alterar/Remover/Adicionar metadados de um documento PDF
|
||||
@@ -1193,6 +1196,10 @@ changeMetadata.selectText.4=Outros Metadados:
|
||||
changeMetadata.selectText.5=Adicionar Entrada de Metadados Personalizada
|
||||
changeMetadata.submit=Alterar
|
||||
|
||||
#unlockPDFForms
|
||||
unlockPDFForms.title=Desbloquear Formulários do PDF
|
||||
unlockPDFForms.header=Desbloquear Formulários do PDF
|
||||
unlockPDFForms.submit=Remover
|
||||
|
||||
#pdfToPDFA
|
||||
pdfToPDFA.title=PDF Para PDF/A
|
||||
|
||||
Reference in New Issue
Block a user