PDF pages can declare actions that fire when the page is opened
(/AA/O) or closed (/AA/C) — for example, to play a sound, run
JavaScript, or follow a URI. pdf_page_actions() enumerates
those actions for one page. Wraps FPDF_GetPageAAction plus the
FPDFAction_* accessors.
Arguments
- page
A
pdfium_pagefrompdf_page_load(), or apdfium_doc(the page given bypage_numwill be loaded and closed internally).- page_num
One-based page index. Only used when
pageis apdfium_doc. Ignored otherwise.
Value
A tibble with one row per defined additional-action. Columns:
trigger—"open"or"close".action_type— same vocabulary aspdf_link_at_point()'saction_type.uri,filepath,dest_page— payload columns, same shape as inpdf_link_at_point().