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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

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
Karl Heinz KremerCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pweber_epAuthor Commented:
Thanks!

I will look into it!

Paul
0
Karl Heinz KremerCommented:
Let me know if you have any questions.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.