• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Java Miscrosoft Word API

 
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"
 
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Oh sure, it's a tiny ad, but under the right circumstances, it gets bigger.
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic