This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java API to Microsoft Word? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Java API to Microsoft Word?" Watch "Java API to Microsoft Word?" New topic
Author

Java API to Microsoft Word?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I'm wondering if there is available, preferably as open source freeware, a Java programming interface to Microsoft Office products, especially Microsoft Word.
I am working on a Java application for a client which needs to be able to create Microsoft Word documents from data passed to it.
If there is no such API available, are there any C or C++ API's available? Microsoft's website lists languages like VBA and JScript as interfaceable, but not Java. Apache is working on an API, but the project is in the early stages from what I understand.
Any direction will be greatly appreciated. Thanks.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Since it doesn't seem there are any Java interfaces to Microsoft Word available at this time, although I've read one can access interfaces written in other languages via the Java Native Interface, combined with the fact that Microsoft Word isn't exactly a standardized document format, I've decided to go with Adobe PDF format instead. I've found that there are a number of Java libraries out there which enable the capability to write PDF documents, including several which are open source freeware. I'm wondering if anyone has had experience with any of these packages, and whether these experiences were successful. Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java API to Microsoft Word?