• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Miscrosoft Word API

 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am looking for Java API's to edit microsoft word doc, my requirement is that I have a word document, with fields like name, emplid, dob etc. these fields are blank and to be populated at run time.

So my requirements are:

1. I should be able to keep the word document as a template... and populate at run time.

2. The API's should also be able to run in UNIX/LINUX Box

Its bit urgent as I need to provide the solution to the client, urgent help would be appreciated...

Thank YOu
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only Java Word APIs I'm aware of are POI and OpenOffice. DOC support in POI isn't maintained anymore, but maybe you're lucky and it does what you need. OpenOffice is more involved, but also better maintained. I have no idea if either supports forms. You can find some links on the AccessingFileFormats wiki page.
 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andy, Did you ever find a solution to your requirement regarding Java API for MS Word Processing?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andy hasn't posted here for more than a year, so I doubt that he'll be reading your question. But since I posted that, many improvements have in fact been made to Apache POI, so it might well be sufficient for your purposes.
 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf, I am looking at POI HWPF but not been able to get a solution for "replacing a String with HYPERLINKS in WORD doc"
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Santosh, did you find solution to you problem. I am also trying to do something similar using poi, but not able to do so.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!