-
there is a PDF feature (extremely handy to help people when dealing with embedded PDF documents): link to embedded PDF documents (or "embedded go-to action" in PDF jargon, https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#G11.2048909). Since I would be the only user benefiting from this (at least, before it is implemented), I'm interested in contributing the code. As always, I'm not sure the code will work or it will be ready to merge as it will be. But first of all (before starting to imagine how this could be implemented), would you be interested in having such feature in Publisher? BTW, this only works with Acrobat and with current version of PDF.js in Firefox (Chrome/Edge don't know how to deal with attachments). As a sample document, you have https://issues.apache.org/jira/secure/attachment/12911235/Sample%20GoToE%20Link.pdf (link to embedded PDF doc the frame on the upper left corner of the page). The spec offers many possibilities, but I think the only implementation which would reasonably fit in Publisher would be Let me know what you think of this. Many thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 10 replies
-
That would be very cool! Do you think the |
Beta Was this translation helpful? Give feedback.
-
Somehow this works but gives PDF errors: I need to look into this. But this is a good start. Thank you. |
Beta Was this translation helpful? Give feedback.
-
The Arlington PDF Model requires for the name in the target document when it is child:
As far as I know, the condition is met. I mean, the UTF16 string is exactly the same in
As the one in
This is beyond my knowledge, I must say. |
Beta Was this translation helpful? Give feedback.
-
It seems that the Arlington PDF had issues validating names for target dictionaries (in Using the latest release of the validator seems to have solved the issue (when compared with older releases [such as this one]). Many thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
As for the naming conventions, I would say again href="embed://doc.pdf#whatever would require embedding the file (if it is not already embedded). In that case, other attributes from |
Beta Was this translation helpful? Give feedback.
-
Here is an update (version 4.15.11)
So this implementaiton is not perfect and not finalized, but maybe a start. |
Beta Was this translation helpful? Give feedback.
-
Many thanks for the new release, @pgundlach.
What I have discovered is that both attributes The implementation would be easier too. |
Beta Was this translation helpful? Give feedback.
Here is an update (version 4.15.11)
AttachFile
andA embed="..."
So this implementaiton is not perfect and not finalized, but maybe a start.