Use PHP to autofill Word or pdfs
Posted on 2008-11-14
I have been given a set of 40+ Word docs that are password protected. I need to use PHP to fill in the docs. I can fill PDFs but have been givien protected Word docs with enterable fields. The final product can be PDF or Word. I just need to complete a document set and print them after collecting information through a Web interface.
1) Can I programatically fill these forms without having enterable field labels?
2) Can I convert these to PDFs with tags or do I have to receive the docs unprotected to do this ?
I have a product from Setasign that I have used to complete pdf files with PHP but I've never worked with Word programmatically. Furthermore, the solution must work on Linux. I develop on Windows and production is on Linux.
"under the gun"