mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-14 06:42:20 +00:00
Ported from #2081: Session::run_link_javascript / start_link_javascript run a link's action as event Link/Mouse Up on its page, with the document as target, in the per-document ScriptSession; a failed link commits no field change or request; read-only documents' links run too. Field scripts may not open another document; resolve_javascript_document_path resolves openDoc paths as remote-link paths (Acrobat /C/... paths on Windows). Co-authored-by: LMatt08 <245691047+LMatt08@users.noreply.github.com>