Create Destinations From Links

Overview

Create Destinations From Links scans the GoTo link annotations on the selected pages, creates a named destination for each link target, and changes each link to jump to its new named destination (the link still goes to the same place). It runs the same conversion as Convert Links to Named Destinations.

Both features share the same underlying dialog; the difference is the menu entry point and the title shown in the dialog window.

Video: Create Destinations From Links shown step by step, with narration.
The Create Destinations From Links dialog
The Create Destinations From Links dialog.

How to use

  1. Open the PDF that contains link annotations.
  2. Go to Plug-Ins > Links > Create Destinations From Links.
  3. Select the pages: all pages (the default), the current page or a page range.
  4. Enter a destination name pattern using the available placeholders.
  5. Review the live preview list of generated destination names.
  6. Click OK to create the named destinations and update the links.

Page scope

OptionDescription
All pages Processes links on every page in the document.
Current page Processes links on the currently viewed page.
Page range Processes links across one block of consecutive pages. Both page numbers are included in the range and both are 1‑based, so page 1 is the first page of the document.
To end of document Available when Page range is selected. Ignores the end page and continues from the start page through to the last page of the document.

Destination name pattern

The pattern controls how each named destination is named. The default is Dest_Page_{dest_page}_From_{source_page}_{annot_index}.

PlaceholderReplaced with
{source_page} The 1-based page number containing the link annotation.
{dest_page} The 1-based page number the link points to.
{annot_index} The 0-based index of the link annotation on its source page.
{link_text} The first line of text found within the link bounds.

If the pattern resolves to an empty string, a fallback name is generated automatically.

Preview and conflict handling

A live preview shows the first generated destination names. A name that an earlier link in the same run produces is marked [duplicate: will be renamed ...]; a name that already exists in the document is marked [exists: will be renamed ...]. Either way the new destination gets _2, _3 ... added; existing destinations are never overwritten. Links that already point at a named destination are left unchanged.

Tip

Use descriptive patterns that include {link_text} to avoid name collisions when multiple links point to the same page.

Note

This dialog shares its implementation with Convert Links to Named Destinations. All options and behaviour described there apply here as well.

See also