Skip to contents

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.

Usage

pdf_page_actions(page, page_num = 1L)

Arguments

page

A pdfium_page from pdf_page_load(), or a pdfium_doc (the page given by page_num will be loaded and closed internally).

page_num

One-based page index. Only used when page is a pdfium_doc. Ignored otherwise.

Value

A tibble with one row per defined additional-action. Columns:

Details

Most PDFs don't declare page additional-actions; the typical result is an empty tibble.