Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: writing in MS word doc file
 
Similar Threads
IFrame and word document
Need some help reading tables from ms word doc
SCPJ2 LOGO convert to .bmp
Can I write in MS Word File from FileOutputStream Constructor
Java Html parser