wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes Merge Data in MS Word on UNIX platform Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Merge Data in MS Word on UNIX platform " Watch "Merge Data in MS Word on UNIX platform " New topic
Author

Merge Data in MS Word on UNIX platform

raj kumar
Greenhorn

Joined: Apr 12, 2006
Posts: 5
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
Marshal

Joined: Mar 22, 2005
Posts: 41101
    
  45
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.


Ping & DNS - my free Android networking tools app
raj kumar
Greenhorn

Joined: Apr 12, 2006
Posts: 5
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

Joined: Jan 10, 2002
Posts: 60780
    
  65

"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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
raj kumar
Greenhorn

Joined: Apr 12, 2006
Posts: 5
hi,
Updated the name. In case it still has probs., let me know.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41101
    
  45
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Merge Data in MS Word on UNIX platform
 
Similar Threads
How to create MS Word Doc using HWPF POI
Merging word documents server -side
"mailmerge" to WORD doc and automatically print?
Mail merge & pagemaker
Read Bookmarks from a word document using apache POI