I need to write a program that can take a plain text file and turn it into a encyrpted adobe pdf and microsoft reader file. It will have to have its fonts changed, a table of contents added with all the sections automatically indexed, etc. So I would basically need a program that can, on a win 2k machine, take a text file, turn it into a rich text format (microsoft word file would probably be the way to go?) and then convert it to encrypted adobe pdf and microsoft reader formats. Can this be done with PERL? Is there another programming language that would work better? Java maybe? Celia