My team came across a Java solution which can do the following:
- replace strings in DOC files as in your example
- convert DOC, XLS or PPT to PDF
- read/write Excel files using simplified API like getCell and setCell
- show/hide Excel sheets(like secondary calculations)
It is available on this page:
http://www.dancrintea.ro/doc-to-pdf/The downside is that it needs OpenOffice also,
but the good part is that I can do all the above operations over ms office files.
If possible, please share your possible tools and experience on processing MS Office files with Java.
Thanks.