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

Support Attachments #30

Merged
merged 2 commits into from
May 2, 2024
Merged

Support Attachments #30

merged 2 commits into from
May 2, 2024

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented May 2, 2024

http://www.fpdf.org/en/script/script95.php

Description
This script allows to attach files to the PDF. The method to attach a file is:

Attach(string file [, string name [, string desc]])

  1. file: path to the file to attach.
  2. name: the name under which the file will be attached. The default value is taken from file.
  3. desc: an optional description.

The OpenAttachmentPane() method is also provided to force the PDF viewer to open the attachment pane when the document is loaded.

Note: this feature is supported by Adobe Reader but not by all alternative readers.

@alphp alphp merged commit ff4e378 into fawno:master May 2, 2024
1 check 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