Currently i am doing mail merging. And i am able to merge the default template doc file with the database informations using java with the help of WordProcessing.java.
The purpose of using this WordProcessing.java is to copy the whole doc template file as well as the attributes of that text to the output doc file. And this is one of the must in my project.
I can only save each doc file as different unique name.
However, it is a must for me to append all these files into a single output doc file.
Using I/O streams is not able to save the attributes of the text in the template file although it can append files.