Import Links from Text

Video: Import Links from Text shown step by step, with narration.

Overview

Import Links from Text reads a CSV file written by Export Links to Text and creates the links it describes on the active PDF. Use it to copy a set of links onto another document, or to apply changes made in a spreadsheet.

A row whose page and rectangle match a link already on that page (to within half a point) updates that link instead of adding a second one on top, so importing an edited export back into the same PDF does not duplicate its links. The completion message reports how many links were new and how many were updated.

How to use

  1. Open the PDF the links should be added to.
  2. Go to Plug-Ins > Links > Import Links from Text.
  3. Choose the CSV file and click Open.
  4. A message reports how many links were imported, how many were new and how many updated an existing link, and why any rows were skipped.

What the file must contain

The columns are the ones Export Links to Text writes, in the same order and with no header row. The safest way to build a file is to export from one document and edit that.

A line is skipped, rather than guessed at, when:

The closing message lists skipped rows by reason: too few fields, a page outside this document, unreadable appearance values or rectangle, no action, or an action that cannot be built. A file with no link rows at all is reported as such, and nothing is imported.

Warning

Each row adds a link, except where a link already sits on the same page with the same rectangle (to within half a point): that link’s action and appearance are replaced by the row’s. Importing the same file twice therefore does not stack duplicates. To replace a document’s links completely, use Delete Links first.

See also