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

Creating a liberary of PDF files

DM2
Registered: Feb 10 2008
Posts: 9

I have a +20 Gig, collection of PDF files in our companies technical library. These files are sorted into groups by the type of information. For example Manufacturers Manuals are kept in a given directory and then further subdirectories using the name of the manufacturers as the subdirectory name. Another directory is for Building Codes, Performance Standards and the like, and it's in another directory which is further divided up based on the organization who wrote the standard.

The PDF Files are saved with a file name structure (i.e. "Siemens - XYZ Model Oper & Maint Manual - Rev X.PDF". I use names such as this to make searching them in Windows Explorer easier for our users.

To insure the fine name doesn't exceed the Windows file name length I export the directory structure to a CSV file, use MS Excel to test the file name length, make some minor changes to the name in the Excel file, and then change the name of the file accordingly. I do this so when I copy the files to a CD ROM the file name doesn't get modified and then corrupt the bookmarks that link the documents to each other.

Eventually I create a Word document with more descriptive information, create the hyper links to the various files, and then convert it using PDFMaker. This way I have a navigation method for the users of the library.

This is a very time consuming task and I was wondering if there isn't anything that would make my life easier (i.e. plug-ins, etc.). My thoughts were:

Create a macro in Word that automatically creates the Hyperlink since i've already got the file name, with extension, in a CSV file. But then how do I change the appearance of the link to something meaningful? (I know this is more of a Microsoft question, but I thought by knowing my thought process others may know of another solution).

My Product Information:
Acrobat Pro 7.0.9, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Seems like you have a pretty good handle on this, and that some level of automation could make this process a lot easier.

If you can identify descrete, well defined, tasks, like the hyperlink example you gave above, then you aught to be able to create automation scripts for both Acrobat and Word that will make things go much faster.

I'm not sure about what is possible in a Word Macro, but creating a hyperlink should automatically change the color and style of the text to look like a link. This appearance will transfer over into PDF.

On the PDF side you can use JavaScript to search for words and create links. There is an example of this in the Acrobat JavaScript Reference. But you can't change the appearance of the text to make it look like a link. It's probably better to do as much on the Word side before conversion.

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

caniwi
Registered: Jun 11 2008
Posts: 2
I am in a similar position. I manage the company's Quality Management System documents. The source for these is either in Word or Excel. Once the source document has been edited, it is converted to PDF and 'published' into a public directory. There is an index in PDF format that users access to search for given documents. This index (PDF) has links to the documents in the directory. Updating the index is very cumbersome, especially when adding new titles. When I update the indexes in Word and convert them to PDF, I then have to re-create all the links on that page - sometimes 30-40 links - zzzzzzzzzz.
Is there a way to 1. copy the links from the old index page to the new index page or 2. at least print off a list or save the link details so that adding them to the new index page can be made faster?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
To save the links on a single PDF, do a replace pages. This operation replaces the page content, but not the interactive elements, like links.

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

caniwi
Registered: Jun 11 2008
Posts: 2
THOMP - good man - thanks very much! I have tried that and it works well. It will save me and others at work here many hours every year. Also, after some experimentation I have managed to work out how to move the links around on the page so that the links are lined up over the correct text. Again, thanks very much.