Hi, I am looking for java codes to generate a word document based on a word template, basically, I have a word template created and in my local path, the template has a proper format with some fields which will be filled in after java codes ran. The java codes will fetch one record from a table, and open the word template and then fill the fields in the word template, and created a new word document and save it in another folder.
I found this example: http://dev-notes.com/code.php?q=10
which is similar except it uses xml template instead of word template, can anybody show me how to make it work to change the template from xml to word (docx) template?
Thanks a lot for any help,
I found this example: http://dev-notes.com/code.php?q=10
which is similar except it uses xml template instead of word template, can anybody show me how to make it work to change the template from xml to word (docx) template?
Thanks a lot for any help,