How can I set an icon and a link to a file attachment (embedded file) #1114
Unanswered
FernandoJCabral
asked this question in
Looking for help
Replies: 1 comment 2 replies
-
This is not supported yet, unfortunately. This type of hyperlink has - as per PDF definition - a link kind I am accepting this as an enhancement request. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Embedding a pdf file into another pdf file is working fine. What a need next is a way to insert an icon that, once clicked, takes the reader to that attachment. Don't get me wrong: when reading the fine on evince or okular, they both inform the reader that there are attachments. This works fine. But, sometimes a need to put a reference as a hyperlink right where the attachment should be consulted. I did it with annotation, but I must do it as an embeded attachment.
This works fine:
file[0].addFileAnnot((0,0), embutido, "Anotação", ufilename=None, desc=None, icon="PushPin")
This works, but I can't inser an hyperlink and an icon:
file.embeddedFileAdd("Embedded.pdf", embedded)
Any hints, please?
Beta Was this translation helpful? Give feedback.
All reactions