documentNamedDestinations

Typeproperty
Dictionarywidget.pdf
LibraryPDF
Syntax
get the documentNamedDestinations of <widget>
Associationscom.livecode.widget.pdf
Summary

Get an array detailing the named destinations in the document

EditionPro
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Description

If the document has named destinations the documentNamedDestinations property will return array where the key is the destination name and each element may contain the following keys:

  • "type": one of goto, remotegoto, launch, uri or unsupported
  • "filename": remotegoto or launch types
  • "uripath": uri type only
  • "page": goto type only
  • "mode": goto type only. The value will be one of:"XYZ", "Fit", "FitH", "FitV", "FitR", "FitB", "FitBH", "FitBV"
  • "left": goto type and XYZ, FitV, FitBV & FitR modes
  • "top": goto type and XYZ, FitH, FitBH & FitR modes
  • "right": goto type and FitR mode
  • "bottom": goto type and FitR mode
  • "zoom": goto type and XYZ mode