Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Java API to Microsoft Word?

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic