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.
How to use
- Open the PDF the links should be added to.
- Go to Plug-Ins > Links > Import Links from Text.
- Choose the CSV file and click Open.
- A message reports how many links were created.
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:
- its page number is not a page this document has;
- its rectangle cannot be read as four numbers;
- it names no action, or an action that cannot be built.
Skipped lines are not reported: the closing message gives only the number of links created. If that number is lower than the number of lines in the file, compare the two and check the page numbers and rectangles of the missing rows.
Warning
Importing adds links; it does not replace the ones already there. Importing the same file twice leaves two copies stacked on each other. Use Delete Links first if you mean to replace.