Returns the 1-based bookmark_index of the first outline entry
matching title, suitable for indexing back into
pdf_doc_bookmarks()'s tibble. NA when no bookmark matches.
Wraps FPDFBookmark_Find and walks the outline pre-order to map
the PDFium handle back to the row index.
Arguments
- doc
A
pdfium_docfrompdf_doc_open(), or a character path.- title
Single non-empty character string.
- password
Optional password for encrypted PDFs when
docis a path. Ignored whendocis already an openpdfium_doc.