dcsimg
populating MS Word document using java bean.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   manjith_gunatilaka
Posted On:   Tuesday, May 22, 2001 01:03 AM

My objective is to populate (create) MS Word Document using Java Bean. To
Write text into a word document I need
to activate word basic commands from java. Is their any packages (java) to
invoke above in built MS Window commands.

Re: populating MS Word document using java bean.

Posted By:   Ara_Kassabian  
Posted On:   Tuesday, May 22, 2001 02:10 AM

Check out the Bridge2Java package from IBM Alphaworks (www.alphaworks.ibm.com). It allows you to access COM applications from inside a Java program. The download includes examples on how to modify an Excel spreadsheet or (I recall) a Word document from inside a Java program. The performance of an older version of Bridge2Java was not stellar, but the package got updated recently so maybe performance is better now.

In addition to Bridge2Java, there are other, commercial Java/COM bridges. However, unless you have a problem with the licensing or you need this functionality on an industrial scale, Bridge2Java is probably adequate.
About | Sitemap | Contact