my dog learned polymorphism*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "writing in MS word doc file" Watch "writing in MS word doc file" New topic
Author

writing in MS word doc file

nivedita sagade
Greenhorn

Joined: Jan 08, 2004
Posts: 1
Hi,
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
Hi,
See
Jakarta POI - Java API To Access Microsoft Format Files
Dirk Schreckmann
Sheriff

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]
 
 
subject: writing in MS word doc file