Convert flat PDF to interactive PDF

Roland Smith rsmith at
Sun Jul 21 17:40:26 UTC 2013

On Sat, Jul 20, 2013 at 03:18:19PM -0400, Jerry wrote:
> I am looking for an application that can convert a standard "flat" PDF
> file into an "interactive" PDF. I can locate several that work under
> MS Windows, including Acrobat XI; however, I was trying to find one
> that will work under KDE on FreeBSD.

A lot of those kinds of features are only supported by acrobat reader.
E.g. with KDE's Okular, annotations, forms and playing movies are listed as in
development (see

Furthermore, it seems that the PDF viewer often needs javascript built-in and
enabled for them to work. Few open source PDF readers support that, because it
can be a huge security risk. The graphics/mupdf port supports it, but the port
is built _without_ javascript by default.

Using e.g. print/pdftk you can uncompress the streams in a PDF file, so you
can edit it in any editor. This would allow you to see which stream contains
javascript. Using that and the relevant adobe documentation, you should be
able to add javascript to your own pdf files.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list