PDF Reader/Bookmarker based on AIR (A Failed Attempt)

After seeing this sample application, I had high hopes in creating an AIR application which can load a PDF file, render it and have the usual Adobe Reader controls.

But the moment you try to close the application, it will save the current page you are reading and when you open the application again some time in the future, it will bring you back to exactly where you left off.

Something like the bookmarker.js from the PDF Hacks book or this plugin variant but better (at least that’s what I think).

That was until I discovered that AIR didn’t have (yet) that tight integration with PDF that I was looking for.

If you’ve seen the example application, you may be wondering how the developer was able to control navigation of the PDF file. As it turned out, the PDF he created had additional document level JavaScript that he invoked from AIR.

As far as I know, document level JavaScript can only be added through software such as Adobe Acrobat (which is NOT free, unlike the basic Adobe Reader).

Ah too bad, I’ll probably give it another shot in the next releases of Adobe AIR.

Until then.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: