File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes writing in MS word doc file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "writing in MS word doc file" Watch "writing in MS word doc file" New topic

writing in MS word doc file

nivedita sagade

Joined: Jan 08, 2004
Posts: 1
i want to know if i can open a MS word format file in java and some inputs on how to write data to MS word file.Since .doc file is a formatted file what care has to be taken?
Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
Jakarta POI - Java API To Access Microsoft Format Files
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, nivedita!
The POI project referenced above doesn't yet provide much support for Word documents. It seems to be a very slowly progressing project that does promise a lot of abilities.
You might want to give The JACOB Project a try. Kai Ruhl wrote a tutorial that you may find useful.
Good Luck.
[ January 09, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: writing in MS word doc file
It's not a secret anymore!