New Forum | Previous | Next | (P-PDF) Developers
Topic: Update PDF document links
Conf: (P-PDF) Developers, Msg: 65955
Date: 5/30/2002 07:50 AM
OK first the question's my superior beings :-)
(showing I dont know much about PDF Docs)
1. How come when I open a pdf in textpad...etc there are refernces to known external /URI's that do NOT appear as weblinks etc when the document is opend in Adobe acro?
Ok ...I am coming from a VB angle here.
2. How can i get a list of bookmarks withought knowing the name? There has to be a more gracefull way than open the file for sequencial access and looking for an ascii string!
3. How can i update the bookmarks in VB withought knowing the name? (I am assuming the bookmark name is not the URI)
OK heres th long story about why I kneed answers to the above!. If the answer is go by product X, tell me where and how much please....
I have a major problem. The organisation I am currently working for want to re-organise there intranet. The structure didnt work :-) there are 1000's of files scattered throughout the filesystem (Added pain in the ass the content management sys stripped the +3 extension). The documents contain both external and internal links - to both micro$oft(Doc,xls & ppt) and pdf files (I have used the clsid for the microsoft files, and the first four chars of the pdf file to identify)
the links in the micro$oft files I have fixed quickly and efficiently in VB with 100% succsess :-) (Bulley for me!)
I am however up the creak withought a paddle with the pdf's. I have studdied,tried and confused myself with the sdk. I have found I thought! a foolproof way of identifying the bookmarks by opening the file for sequencial access and looking for the /URI string.
This has however proved unreliable! as some documents have a /URI but when opening the document do NOT have a link? (How can this be?)
What I kneed (desperatly) is some serious advice on how/what is the best method to batch get the bookmarks from within 100's of pdf's validate them against a known renamed and relocated filelist and update the bookmark in code!
can it be done? is it viable? and no none of the files are protected :-)
Thankyou for your valued input :-)