These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

bookmark - Property

Tuffy_Ven
Registered: Jun 29 2008
Posts: 68

Hi All,

We have pdf files with bookmarks property set to "Fit Page".

Is it possible to set the bookamrk option - "Fit Width" automatically?

Please help on any solution for this?

Thanks in advance,
Tuffy

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You could write an Automation script that maps out the bookmark actions and then resets them all to use "FitWidth". For an experienced Acrobat JavaScript programmer it's not a difficult task. Unfortunately, isn't an easy task and there's no other way to do this automatically.
But if you only have a few bookmarks to do, it would be easier to do this.

Add a menu action to the existing list of bookmark actions. Use it to run the "view->Fit Width" menu option.Other wise you'll need to setup the "doc.viewState" for each bookmark in code.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Tuffy_Ven
Registered: Jun 29 2008
Posts: 68
Thanks for valuable response as always.