<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Depth-First: Crazy Idea #6,349: JavaScript in PDF</title>
    <link>http://depth-first.com/articles/2008/09/18/crazy-idea-6-349-javascript-in-pdf</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Walking the Web of Chemical Informatics</description>
    <item>
      <title>Crazy Idea #6,349: JavaScript in PDF</title>
      <description>&lt;p&gt;&lt;a href="http://www.manning.com/lowagie/"&gt;&lt;img src="http://depth-first.com/demo/20080917/book_cover.jpg" align="right"&gt;&lt;/img&gt;&lt;/a&gt;In reading through Bruno Lowagie's excellent book &lt;a href="http://www.manning.com/lowagie/"&gt;iText in Action&lt;/a&gt;, I noticed several references to JavaScript. I knew it was possible to do a lot of interesting things with PDF to promote interactivity. But JavaScript?&lt;/p&gt;

&lt;p&gt;It turns out Adobe has even published about 1,000 pages worth of documentation on the subject in the form of the &lt;a href="http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJSGuide.pdf"&gt;Acrobat JavaScript Scripting Guide&lt;/a&gt; and the &lt;a href="http://www.adobe.com/devnet/acrobat/pdfs/AcroJS.pdf"&gt;Acrobat JavaScript Scripting Reference&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.lowagie.com/iText/"&gt;iText&lt;/a&gt;, the premier Java library for creating and manipulating PDF documents, supports JavaScript out of the box. The extent of this support is not clear to me yet, but the API does exist.&lt;/p&gt;

&lt;p&gt;JavaScript has a lot of &lt;a href="http://depth-first.com/articles/tag/javascript"&gt;untapped potential&lt;/a&gt; for enhancing interactivity in cheminformatics. Similarly, PDF has a lot of untapped potential, which will be the topic of future articles.&lt;/p&gt;

&lt;p&gt;What kinds of things could you do in cheminformatics by combining PDF and JavaScript?&lt;/p&gt;</description>
      <pubDate>Thu, 18 Sep 2008 18:04:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e4abb37e-674c-4e6d-8882-f7dd789cb0de</guid>
      <author>Rich Apodaca</author>
      <link>http://depth-first.com/articles/2008/09/18/crazy-idea-6-349-javascript-in-pdf</link>
      <category>Tools</category>
      <category>itext</category>
      <category>javascript</category>
      <category>pdf</category>
    </item>
    <item>
      <title>"Crazy Idea #6,349: JavaScript in PDF" by Rajarshi Guha</title>
      <description>&lt;p&gt;store chemical structures along with images in a PDF document? Search them?&lt;/p&gt;</description>
      <pubDate>Thu, 18 Sep 2008 23:25:23 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:4dff52ee-23c4-406d-8d59-546ff2eaf39a</guid>
      <link>http://depth-first.com/articles/2008/09/18/crazy-idea-6-349-javascript-in-pdf#comment-747</link>
    </item>
  </channel>
</rss>
