I need to open a .doc/.dot/.docx/.dotx
(I\'m not picky, I just want it to work) document,
parse it for placeholders (or something similar),
put my own data,
an
I have recently dealt with similar problem: "A tool which accepts a template '.docx' file, processes the file by evaluation of passed parameter context and outputs a '.docx' file as the result of the process."
finally god brought us scriptlet4dox :). the key features for this product is: 1. groovy code injection as scripts in template file (parameter injection, etc.) 2. loop over collection items in table
and so many other features. but as I checked the last commit on the project is performed about a year ago, so there is a probability that the project is not supported for new features and new bug-fixes. this is your choice to use it or not.