permaculture playing cards*
The moose likes Other Open Source Projects and the fly likes generating a word document in java from a template and replacing some of the info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "generating a word document in java from a template and replacing some of the info" Watch "generating a word document in java from a template and replacing some of the info" New topic
Author

generating a word document in java from a template and replacing some of the info

sreerama Mutnuri
Greenhorn

Joined: Mar 30, 2010
Posts: 1
Hi -
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..



Could you please help out in resolving this ??
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Dude this is not the right forum to post your question.
Any way, don't repost it in another forum as our admins will take care of moving it to the right place.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Also, please note that your code is *completely* unreadable--can you not see your post after you make it?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: generating a word document in java from a template and replacing some of the info
 
Similar Threads
How to Create word document with Check box form fields using POI API ?
problem with updating placeholder with poi
How to create MS Word Doc using HWPF POI
Mearging two word documents using POI
apache POI - HWPF search & replace