XML & Web services: Word 2007 file(docx) construction using Java
In my current project we are creating word 2007 document at runtime. I am developing Java component that takes word 2007 template (dotx) files as input and it also fetches values from external web services. Then this java component builds actual word 2007 document (docx) file by merging the values into template file (replacing values with placeholders). Since I am new to word 2007 open xml file format, I am facing difficulties in parsing and updating the dotx/docx files. Is there any Java API that can be used to parse and update the word 2007 file formats? Or How to parse and update the Word 2007 file using java?
- Posted by: Dhanasekar Srinivasan
- Posted on: March 29 2007 01:15 EDT
- Re: Word 2007 file(docx) construction using Java by Jason Harrop on September 17 2008 18:49 EDT
Yes, you could try docx4j.
I have to update the word document at back end and save in FileNet. Can you please let me know how to go about it. Thanks Ravi
You may consider using javadocx (http://www.javadocx.com). There is a LGPL version that you may download from the website.
The free version of Javadocx does not provide any of the features that are not basic.
It is useful if we need to create a simple extended hello world docx which is not the case in any real time environment.