Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 19:40:24 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Convert flat PDF to interactive PDF
Message-ID:  <20130721174024.GB12236@slackbox.erewhon.net>
In-Reply-To: <20130720151819.7a1fec15@scorpio>
References:  <20130720151819.7a1fec15@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help

--61jdw2sOBCFtR2d/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 http://okular.kde.org/formats.php).

Furthermore, it seems that the PDF viewer often needs javascript built-in a=
nd
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 p=
ort
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.


Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--61jdw2sOBCFtR2d/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEYEARECAAYFAlHsHQgACgkQEnfvsMMhpyWJKwCeNDnKYQS7Wgr/3tl7s9WG0j3P
Gy4AnjIYpjaQmVKjsLL8l2C6x0/slXzm
=XoiR
-----END PGP SIGNATURE-----

--61jdw2sOBCFtR2d/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130721174024.GB12236>