PDF authors can attach named "destinations" to specific page
positions (e.g. for cross-document links or programmatic
navigation). Returns one row per named destination with its name,
target page, and the dest's view/zoom parameters. Wraps
FPDF_CountNamedDests / FPDF_GetNamedDest /
FPDFDest_GetDestPageIndex / FPDFDest_GetView /
FPDFDest_GetLocationInPage.
Arguments
- doc
A
pdfium_docfrompdf_doc_open(), or a character path.- password
Optional password for encrypted PDFs when
docis a path. Ignored whendocis already an openpdfium_doc.
Value
A tibble with columns:
namecharacter - the destination name, UTF-8.pageinteger - 1-based target page;NAwhen PDFium can't resolve it.dest_viewcharacter - the dest's view mode: one of"xyz","fit","fith","fitv","fitr","fitb","fitbh","fitbv", or"unknown".dest_x,dest_ynumeric - the explicit (x, y) point for XYZ destinations and the line offset for FitH / FitV / FitBH / FitBV.NAwhen not specified by the destination.dest_zoomnumeric - the explicit zoom for XYZ destinations,NAotherwise.