Best open source (or cheap) library for Read/Writing Word documents
Posted on 2010-08-31
I have created a java database application. I now want to fill in word documents (.doc or .docx files) with data from this database. These files will change frequently, but the data to be inserted into the documents will always be in the same format.
Reading in a template, then filling in the blanks and re-saving the file seems to be the best solution.
Hard coding the file generators, would mean that the software would have to be rewritten every time a form changes.
Is there any java library capable of this? If not is there any library that is capable of this?
Also this is non-profit, and low budget, so it would have to be open source, or cheap.
I have looked at the apache poi HWPF library, but found no examples, or any mention of it being capable of this.
Thanks for your help!