pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilad Denneboom <gilad.denneb...@gmail.com>
Subject Re: Get JS Code from Action
Date Tue, 04 Jun 2019 09:11:46 GMT
Cast the PDAction object you get from getAction to PDActionJavaScript and
then use the getAction method to get a string with the code.

On Tue, Jun 4, 2019 at 10:41 AM Евгений Король <fffars6@gmail.com> wrote:

> Hello. I have a trouble to get JavaScript code from Action object from
> PDF file. For example, i have annotation type PDAnnotationLink. In
> this annotation i have Action. From PDF Debugger i can see JS code of
> Action. But how can i get this from my code?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message