Skip to content

docs(faq): add password-protected PDF loading guidance#993

Merged
tony-xlh merged 2 commits intopreviewfrom
docs-faq-password-protected-pdf-loading
Apr 10, 2026
Merged

docs(faq): add password-protected PDF loading guidance#993
tony-xlh merged 2 commits intopreviewfrom
docs-faq-password-protected-pdf-loading

Conversation

@lyzhang0113
Copy link
Copy Markdown
Collaborator

This pull request adds a new FAQ entry to the documentation, guiding users on how to handle password-protected PDFs in Dynamic Web TWAIN. The update includes both an addition to the FAQ index and a detailed article explaining how to prompt users for a password and handle PDF loading failures in application code.

Documentation updates for password-protected PDF handling:

  • Added a new FAQ entry to the FAQ index in _articles/faq/index.md, linking to instructions on prompting users for a password when loading a password-protected PDF.
  • Created a new article _articles/faq/prompt-password-for-protected-pdf.md that provides step-by-step guidance and code samples for implementing a password prompt flow when loading encrypted PDFs, including handling both direct loads and drag-and-drop scenarios.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new FAQ entry explaining how to handle password-protected PDF loading in Dynamic Web TWAIN, including a suggested password prompt + retry flow and guidance for drag-and-drop failures.

Changes:

  • Added a new FAQ article covering password-protected PDF loading flows (LoadImage/LoadImageEx + OnPostLoad).
  • Linked the new FAQ article from the main FAQ index.
  • Fixed a formatting/indentation issue in the FAQ index’s Annotation section list item.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
_articles/faq/prompt-password-for-protected-pdf.md New FAQ article describing password prompt + retry patterns for encrypted PDFs.
_articles/faq/index.md Adds the new FAQ entry under Addon and fixes one list item’s formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tony-xlh tony-xlh merged commit 03334fc into preview Apr 10, 2026
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.

3 participants