linking to a "named destination" & annotations

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

davideps
User
Posts: 4
Joined: Wed Jul 15, 2009 4:03 am

linking to a "named destination" & annotations

Post by davideps »

Hi everyone,

I have a few questions about annotations and links.

First, can a single highlight be assigned more than one comment? What is the best way to assign multiple annotations to the same document text?

Second, when using the rectangular link tool in PDF-XChange Viewer, I see that there is an option to link to a named destination in another document. However, this option is always grayed-out for me. I went into the second document and created an annotation, thinking this would create a "named destination". But, the link option was still unavailable. I assumed annotations create a "named destination" because each is assigned a unique name in the xfdf file.

Finally, I see that when a single link rectangle is assigned to two different documents (via distinct actions), the default behaviour is to jump to the first destination. Is it possible to allow the user to select between the actions (destinations)?


thank you,
-david
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: linking to a "named destination" & annotations

Post by Stefan - PDF-XChange »

Hello davideps,

Yes you can "reply" to comments.

As for your second and third questions, can you please tell us which version of the viewer are you using?
You can check this in Help -> About
The one I have is creating links to other files fine, and when I assign more than 1 command to the same link they are all executed (e.g. tried to point to another file and then open an URL Link and they both worked)

Regards,
Stefan
davideps
User
Posts: 4
Joined: Wed Jul 15, 2009 4:03 am

Re: linking to a "named destination" & annotations

Post by davideps »

Stefan,

Thank you for your fast answer!

Yes, the "reply" box looks identical to "add comment" in the reader, thank you. I'll check the XML for it later. You are also right that both documents open if two are assigned to a link--my mistake. But, is it possible to have many links assigned and have the user select just one?

I'm using Version 2.0 build 42.2. The only outstanding question for my original post concerns linking to a named destination in another file. Do I just not understand what actions create a named destination? Does an annotation do so? This link option does not seem available.

thank you again,
-david
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: linking to a "named destination" & annotations

Post by Paul - PDF-XChange »

Hi davideps,

I'm not sure about the "named destination in another file" but I can add a link to a page in another file using the link dialogue tools:

From the Link Properties dialogue box choose Actions ==> Add ==> Add "Go to a page in another document" ==> browse toa PDF file on your filesystem and select the page you want. Then the link will open up that document at that page in a new tab.

Is that the functionality you are looking for?
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: linking to a "named destination" & annotations

Post by Ivan - Tracker Software »

Viewer for now doesn't create named destinations - it just can use existing named destination.
And this option will be grayed out if destination document has no such destinations.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
davideps
User
Posts: 4
Joined: Wed Jul 15, 2009 4:03 am

Re: linking to a "named destination" & annotations

Post by davideps »

Ivan,

Thank you. That makes sense. So the most precise "destination" in this case would be the page, right? I wonder if named destinations could be defined in a xfdf file that gets imported into the pdf?

-david

Ivan - Tracker Software wrote:Viewer for now doesn't create named destinations - it just can use existing named destination.
And this option will be grayed out if destination document has no such destinations.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: linking to a "named destination" & annotations

Post by Ivan - Tracker Software »

A Destination in the PDF document represents a page, and optionally zoom level, zoom mode, etc.

In some cases links (or bookmarks) are not bound directly to the destination, but via "name-table", which associates destination with name.

Into XFDF named destinations cannot be defined, but can be used. If a link annotation uses named destination, when you export this link into xfdf file, this file will look like:

Code: Select all

<link ...>
  <Dest>
     <Named Name="DestName"/>
  </Dest>
</link>
But there is no info what is "DestName" destination, and if, in the PDF, where this xfdf will be imported, there are such named destinations, link will have an 'invalid' destination.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.