Link

Enable Launch Actions

Enables Link annotations that use Launch actions in the IDRViewer. In PDF files, this type of annotation is most commonly used for opening another document using a relative path to the local filesystem. This places a dependency on the platform as it requires the document to exist at the given location. This may work in the browser, but requires special attention to ensure the linked document exists at the expected location. For this reason, the IDRViewer defaults to ignoring this type of annotation to avoid 404 not found errors.

In PDF files, Launch actions can also be used to launch other arbitrary applications (e.g. calc.exe). The IDRViewer does not include any functionality to differentiate between Launch actions intended to open a file and those intended to launch another application. In both cases, the IDRViewer will open a new tab as if given a location relative to the current location.

Expected values:

  • true
  • false

Default: false

Since: 2021.05

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.enableLaunchActions=true

Cloud

{ "org.jpedal.pdf2html.enableLaunchActions": true }

Java

idrviewerOptions.setEnableLaunchActions(true);

Start Your Free Trial


Customer Downloads