I need to append one
word document at the end of another word document. I trying to use HWPF POI to read and write the word documents.
Here is the code I tried out, (this code does not merge Files it just writing some simple text to the word document)
After I execute this code (No exceptions or warnings) the word document D:\results.doc is created but it is blank with nothing written in it.
I have also tried using the code at
http://faq.javaranch.com/java/CreateWordDocument with the same result - A blank word document is created. (I commented out the custom document property section)
I'm using POI 3.2.
Any pointers to what I'm doing wrong.
Any pointers to any approach I could use to append one word document to another in
Java?