• Post Reply Bookmark Topic Watch Topic
  • New Topic

Modifying Word Document  RSS feed

 
kapil munjal
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an assignment in which I am required to pick a word document, and modify it with some specific values retrieved from the Database.

If I have "A.doc" and I have some values from the database, then I need to put those values into the document at specific locations.

Please tell me how I can achieve this.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could have a look at the Apache POI HWPF classes; it can perform basic modifications on DOC files.

If that's not good enough, check out the OpenOffice Java API. It can open DOC files, and has a complete document processing API.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!