Reset / Manage Bookmarks in pdf

Hello,

I consistently deal with large pdfd that are put together from a avariety of sources; we also use bookmarks quite a lot. However, many time the bookmarks are set for different views, page width, whole page or some custom views etc..

Is there a script or add-in that can go through a pdf, and "reset" all bookmarks to be consistent? (ie whole page).

Thank you Paul
pweber_epAsked:
Who is Participating?
 
Karl Heinz KremerConnect With a Mentor Commented:
Yes, you would need something like iText (or iTextSharp) to access the bookmarks elements. Take a look at the samples on itextpdf.com (e.g. http://itextpdf.com/examples/iia.php?id=141)
You would have to read the current bookmarks, find out what kind of action is associated with each bookmark, and then modify that action. Just keep in mind that a bookmark does not necessarily have to open a new page in the current document with a given zoom factor. Bookmarks can do all sorts of crazy things (e.g. execute a menu item, execute JavaScript, go to a web page, ...)
I see that you've posted this in the VB area - I don't "speak" VB, so if there are any questions about the iText functionality, I would have to refer to the Java version. The APIs for iText and iTextSharp are very similar however.
0
 
pweber_epAuthor Commented:
Thanks!

I am not sure how to access settings /code/ expressions they discuss,
any suggestions?

specifically

replacing the regular expression

/FitR [0-9]* [0-9]* [0-9]* [0-9]*]

with the string

/XYZ 0 792 1.0]

successfully turned all "Actual Size" bookmarks into "Zoom 100%" bookmarks. Of course you'll end up with all bookmarks at position x=0,y=792 on their respective page. If you want bookmarks to not modify zoom, use "zoom 0", i.e. replace with

/XYZ 0 792 0.0]



Paul
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Karl Heinz KremerCommented:
Paul, the information provided by the link only makes sense if you are actually working "in the guts" of a PDF file. If you just want to modify your bookmarks as a user, that's probably a bit over your head.
There is unfortunately nothing in Acrobat that would help you with this task. It looks like the Bookmark Manager at http://www.medxview.com/products/pdf/bm_manager.htm is no longer available (at least the current home page of MedXView at http://www.medxview.com does no longer list it).
There is always the posibility of a custom plug-in for Acrobat. It depends on how important this task is for you and if it would be worth the cost of a custom plug-in.  
0
 
pweber_epAuthor Commented:
hmmm....

I am always willing to dive in over my head, and who doesn't like playing in guts?
Does the pdf-gut-playing require special software?
If you could direct me to something showing how to at least take the initial steps, that would be much appreciated.

Paul
0
 
pweber_epAuthor Commented:
Thanks!

I will look into it!

Paul
0
 
Karl Heinz KremerCommented:
Let me know if you have any questions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.