# Document Properties: Targets

The Targets properties page allows you to specify options that allow the document to be the target of a link from an external document. This type of linking is known as external document linking.

## Exports

The settings here determine which anchors can be targets of links from other documents and their stored format within the document.

### Which targets to export

- No targets: Do not export any targets.
- All targets: Export all anchors as targets.
- Only targets of hyperlinks in this HTML file: Export any anchors that are targets of hyperlinks in the HTML file whose path is given in the edit field.

### Target lookup

Select an option here to determine the stored format of exported targets and thus what method other documents must use to externally link to the document:

- Name: The URL of an anchor relative to the first source is stored as the target name of the anchor.
- ID: A numeric value, also known as the target ID, that uniquely identifies each exported target is stored and used to identify the target location within the document. A map file for the linking external document is needed to lookup the target ID values of the document during conversion.
- Offset: Using this option presumes that external documents that link to this document specify a numeric value, also known as the target offset, that represents the location of the desired target in the document, when jumping to the given target in the document. The document does not need to store any additional exported target information in this case. However, a map file for the linking external document is needed to lookup the target offset values of the document during conversion.

The stored format of exported targets of a document determines the method that other documents must use to link externally to the document. See the Lookup option in the section on the External Documents dialog for more information on how a target lookup occurs when a jump occurs to an external document.

## Map file

Check the Generate map file and save to this file option to generate a map file. A map file contains the information about the exported targets of the document that is needed for converting other documents that externally link to the document. In the edit field, specify the full path name to which to write the map file. In a document that links to this document, you would normally specify the path of the generated map file using the Map file field of the External Documents dialog.