generating a word document in java from a template and replacing some of the info
posted 5 years ago
I have word templates for different scenarios and i have to replace some information dynamically and generate the word document in my application.Using poi api for doing this.
1.Not able to retain the structure ( style,page break,indentation etc) in the generated document all the document contentn is coming in to one page.How to apply the Document prooperties ??
2.Not able to replace the text it is throwing exceptions..