-
Notifications
You must be signed in to change notification settings - Fork 361
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
PDAnnotationFileAttachment support #508
Comments
Hi @lindamarieb , as far as I know, currently there is no support for this feature, unfortunately. I'll have a look and try to provide a pull request. |
code: syjer@cdb5076 example of input file:
the presence of |
note: I've been able to find a way to generally hide the icon. Only the embedded viewer from ie/edge persist to show it. |
Thanks for the fast response and work on my request @syjer and @danfickle !! The files I need to attach to my pdf are stored encrypted on AWS S3; they do not have public access. I will need to download them first in order for openhtmltopdf to have access to them for embedding. I have some questions regarding this:
|
hi @lindamarieb :
|
Based heavily on code by @syjer whom I'm indebted to. Thanks. Still todo: + Prevent duplicate file embeds. Possibly create a map of uris to PDComplexFileSpecification and reuse if encountered again. I have to peruse the PDF spec to see if this is allowed. + Logging on fail.
Support now merged into main branch. |
Thank you so much guys! I have not had time to test this, but will do in the near future :-) |
Is there any way to indicate that an anchor is a link to an attached file?
I can add annotations manually in my Java code to the attachment using PDAnnotationFileAttachment but I need to place the links in my html.
The text was updated successfully, but these errors were encountered: