Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow import of encrypted PDF files #1279

Merged
merged 8 commits into from
Nov 9, 2024
Merged

Conversation

kq98
Copy link
Contributor

@kq98 kq98 commented Nov 8, 2024

This PR implements my suggestion from the Issue #1260 allowing for the import of encrypted PDF files by prompting the user for a password and passing it along to all appropriate poppler::Document calls.

I also provide the German translation of the new dialog used to prompt for the PDF password.

kq98 added 7 commits November 8, 2024 12:02
The function pdf_encryption_check_and_dialog checks if the file can be opened without a password and if that fails proceeds to prompt the user for the password.
The user is repeatedly prompted for a new password until opening the file succeeds or the user cancels the import.
In order to allow for the translation of the new pdf password dialog labels
Animate the ListBox containing the password entry instead of the entry itself
@flxzt
Copy link
Owner

flxzt commented Nov 9, 2024

looks very good, thank you for your contribution!

@flxzt flxzt merged commit 7f3ff8a into flxzt:main Nov 9, 2024
2 checks passed
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.

2 participants