Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Merge Data in MS Word on UNIX platform

 
raj kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I have a MS Word template. This template resides in some database.
The requirement is to get this template from db, merge data from db (insert some values from the db) in to the template (bookmark) and open the same on the Unix.
Getting the template from the database is not the hurdle. But I don't know how to handle the merging part (bookmark data) on unix environment.

Any suggestions on how to merge the data in MS WORD on Unix and open the same?

Thanks in Advance .......
raj
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only Word APIs for Java I'm aware of are POI and OpenOffice (links are here). POI is probably easier to start with, but is no longer maintained; OO has a sizeable learning curve.
 
raj kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,
Appreciate you help. Do you know if that will work on a Unix Environment?
Its actually related to fax application.
On Windows NT the appl. is already working fine but since we have the server on Unix so this issue came up.
I shall look into the same - link you provided.

Any idea/suggestions
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rajk", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Be aware that accounts with invalid display names are removed.

bear
JavaRanch Sheriff
[ May 16, 2006: Message edited by: Bear Bibeault ]
 
raj kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Updated the name. In case it still has probs., let me know.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
POI is written in Java, so I don't see why it shouldn't work on Linux. OpenOffice is available for Linux, too, and its Java API better be cross-platform compatible, but I haven't tried that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic